RETIRED, further work has moved to Debian project infrastructure
Go to file
Dougal Matthews b3e37fccac Bump hacking version
This fixes the one new failure reported by hacking.

Change-Id: Ifba58879acdacc60262d8a6fad5aee7cbdcc62f5
2015-05-22 21:02:32 +01:00
doc Show Plan parameters with empty values only 2015-04-30 10:30:55 +02:00
tools Using tox instead of tuskar_with_venv.sh script 2014-02-14 17:41:29 +02:00
tuskarclient Bump hacking version 2015-05-22 21:02:32 +01:00
.coveragerc Adds .coveragerc and modify tox.ini for coverage 2013-07-09 13:49:00 +02:00
.gitignore Gitignore coverage temp files 2013-07-12 11:01:41 +02:00
.gitreview Update .gitreview file following repository move 2013-10-07 14:30:37 +02:00
.testr.conf Basic project structure 2013-07-01 11:01:17 +02:00
.travis.yml Changes tox.ini in favor of tox and envs 2013-08-12 13:20:45 +02:00
LICENSE Basic project structure 2013-07-01 11:01:17 +02:00
MANIFEST.in Basic project structure 2013-07-01 11:01:17 +02:00
README.rst Add /v2 to TUSKAR_URL in README example 2015-04-24 14:22:05 +02:00
openstack-common.conf Move utils arg/env to oslo cliutils 2014-10-27 18:54:21 +00:00
requirements.txt Updated from global requirements 2015-05-13 16:38:51 +00:00
setup.cfg Add stub commands and tests for all OpenStack client commands 2015-05-06 14:16:11 +01:00
setup.py Updated from global requirements 2014-09-26 03:59:42 +00:00
test-requirements.txt Bump hacking version 2015-05-22 21:02:32 +01:00
tox.ini Removes openstack/common from test coverage report 2015-02-03 09:55:50 +00:00

README.rst

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.