Client library for OpenStack Management API
Project description
python-tuskarclient is a Python client and a command-line interface for Tuskar.
Getting Started
Clone the repo:
$ git clone https://github.com/openstack/python-tuskarclient.git
Then, use tox to set up a virtual environment and run tests:
$ cd python-tuskarclient $ tox
When this is done, activate your virtual environment:
$ source .tox/py27/bin/activate
Finally, use this script to build the wrapper script in your virtual environment for the CLI tools:
$ python setup.py develop
Use from Python
For using python-tuskarclient within a Python application, this wiki page provides the most complete documentation.
Use from the CLI
On the command line, python-tuskarclient implements the tuskar command.
First, be sure to run all of the steps in the Getting Started section, above, and that you have not deactivated your virtual environment.
Then, export these two environment variables, customizing them if necessary:
$ export OS_AUTH_TOKEN=nopass $ export TUSKAR_URL=http://localhost:8585/v2
(Note that ‘nopass’ is the correct value in a default setup with no authentication.)
Now you may interact with Tuskar by using the tuskar command. tuskar --help with list full usage details. You can use tuskar rack-list as an example.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file python-tuskarclient-0.1.18.tar.gz
.
File metadata
- Download URL: python-tuskarclient-0.1.18.tar.gz
- Upload date:
- Size: 77.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abd4fc76cd918dfcbaa5a03fd981b49ae1ae3eba3a93722406fbe281db6b46c6 |
|
MD5 | a0f8a5fba07dafe9d9b4f3c820caa3c7 |
|
BLAKE2b-256 | a4b07e8b34fde534bfbd02b7e025648e69d6da4f11b7c1ef2c82e2e7018cba94 |
File details
Details for the file python_tuskarclient-0.1.18-py2-none-any.whl
.
File metadata
- Download URL: python_tuskarclient-0.1.18-py2-none-any.whl
- Upload date:
- Size: 79.1 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 663bc034419cd471bec4972d6a8742acdbe3793ad00ac21b3e29d37c808eee6a |
|
MD5 | afb18df543bea4724ad423310cc07341 |
|
BLAKE2b-256 | 2df5be1e2cd4e7743f1f37e6da1174297ca4f91aa213f5fccb7ae3b13602bf6b |