Coder Social home page Coder Social logo

ospclientsdk's Introduction

Hi there ๐Ÿ‘‹

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป About Me

  • ๐ŸŽ“ ย  B.A in Business Administration concentration in Manegement Information Systems.
  • ๐ŸŽ“ ย  M.S.E in Software Engineering.
  • ๐Ÿ’ผ ย  Associate Manager, Red Hat.
  • ๐ŸŒฑ ย  Enthusiast with Tooling, Automation & Productivity.

๐Ÿ›  Tech Stack

  • ๐Ÿ’ป ย  Python | Ansible | Java | Bash
  • ๐Ÿ›ข ย  Jenkins | Github Actions | GitLab CI Runner
  • ๐Ÿ”ง ย  IntelliJ | Git

My Github Stats


Let's talk

ย  ย 

ospclientsdk's People

Contributors

dannyb48 avatar

Watchers

 avatar

Forkers

junqizhang0

ospclientsdk's Issues

Support the tripleO client

Add the tripleO client as a dependency so users can use the high level APIs:

shell.tripleo.overcloud.deploy()
shell.tripleo.undercloud.install()
shell.tripleo.container_image_list()

Add the capability to proxy the commands remotely

Right now the SDK only runs the commnads locally where the package is installed. It would be nice if the ClientShell could proxy the commands remotely to host(s)

pre-req
The remote host(s) would need to have the openstack client installed for this to work

requirement

  • The ClientShell would establish the SSH session under the covers to avoid the user having to setup that boilerplate code

  • The ClientShell would need to setup openstack authentication over on the remote host

  • The ClientShell would provide similar High, Mid, and Low level APIs to the remote shell.

An example might be

shell = ClientShell(hosts=['192.168.10.50'], cloud_file='clouds.yaml', cloud='test')

shell.remote.compute.create_server()
shell.remote.run_command()
shell.remote.run_raw_command()

Can't add/remove from openstack resources or delete multiples of a resource

Current Implementation does not offer the capability for the following:

  • to add or remove to/from resources. The reason being is the CLI command you specify the source resource and target resource being added like below. There is no specific key in the dictionary that the sdk knows how to understand that identifies this to NOT be normalized as a command options and appended to the end of the command
openstack server add network <server> <network>
  • delete multiple resources of the same type. Reason being the name key only takes a string type.
openstack server delete [--wait] <server> [<server> ...]

Failed to publish 0.4.0 to pypi

The 0.4.0 release failed with the following error running the github action to publish to pypi

Uploading ospclientsdk-0.4.0-py3-none-any.whl

  0%|          | 0.00/31.3k [00:00<?, ?B/s]
100%|โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 31.3k/31.3k [00:00<00:00, 80.3kB/s]
NOTE: Try --verbose to see response content.
HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
The description failed to render in the default format of reStructuredText. See https://pypi.org/help/#description-content-type for more information.
##[error]Process completed with exit code 1.

The long_description in setup.py for 0.4.0 was updated to load the README file.

The fix for this is pypi/warehouse#5890 (comment)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.