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/
(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
Hashes for python-tuskarclient-0.1.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0168c7957418e2ad5193bf3dcbabaf0b20a00d931e46801dd5860c51fbf677cf |
|
MD5 | c0c9ecc24e5113809ad034475e21da08 |
|
BLAKE2b-256 | a38995ee13895086a23ce087a4deae24a437ad99ae50d34ca09ea0942fba9c66 |
Hashes for python_tuskarclient-0.1.12-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5cad171efbd3f974ddf6b9752c0591d4772627ffb9de3af3bda275afdd14d0e |
|
MD5 | d1f8609ecccf9175933046f2106049c0 |
|
BLAKE2b-256 | 5bdbc626ffa1de8f1db7308ecd8efa9e8a09baaf7714f439f0a27c77f5d8b2fb |