
The Oslo libraries have moved all of their code out of the 'oslo' namespace package into per-library packages. The namespace package was retained during kilo for backwards compatibility, but will be removed by the liberty-2 milestone. This change removes the use of the namespace package, replacing it with the new package names. The patches in the libraries will be put on hold until application patches have landed, or L2, whichever comes first. At that point, new versions of the libraries without namespace packages will be released as a major version update. Please merge this patch, or an equivalent, before L2 to avoid problems with those library releases. Blueprint: remove-namespace-packages https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages Change-Id: I324a3bd0c468a3e84f633497ad5c0d59c5ccc455
python-tuskarclient
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.