Dashboard plugin for the Adjutant service.
Go to file
adrian-turjak 022d546510 Fixing an issue with json data caused by a code update
* this fixes a regression caused by updating some code based on
  changes in similar upstream clients.

Change-Id: I98be962cb0dcb2a0e5a04c3def88643db6d30bc0
2017-05-31 00:49:24 +12:00
adjutantclient Fixing an issue with json data caused by a code update 2017-05-31 00:49:24 +12:00
.gitignore Renamed to Adjutant and cull legacy code 2017-05-25 21:32:41 +12:00
.gitreview gitreview file 2015-02-25 11:37:28 +13:00
LICENSE Initial version of python-stacktaskclient 2015-09-17 16:42:34 +01:00
MANIFEST.in Renamed to Adjutant and cull legacy code 2017-05-25 21:32:41 +12:00
README.rst Remove incorrect readme line 2017-05-29 12:53:48 +12:00
requirements.txt Renamed to Adjutant and cull legacy code 2017-05-25 21:32:41 +12:00
setup.cfg Renamed to Adjutant and cull legacy code 2017-05-25 21:32:41 +12:00
setup.py Fix keystoneclient exceptions import. Bump package versions in requirements 2016-08-08 17:29:10 +01:00

README.rst

AdjutantClient is a command-line and python client for Adjutant.

Getting Started

Adjutant Client can be installed from PyPI using pip:

pip install python-openstackclient python-adjutantclient

The command line client is installed as a plugin for the OpenStack client.

Python API

In order to use the python api directly, you must first obtain an auth token and identify which endpoint you wish to speak to:

>>> adjutant_url = 'http://adjutant.example.org:8004/v1/'
>>> auth_token = '3bcc3d3a03f44e3d8377f9247b0ad155'

Once you have done so, you can use the API like so:

>>> from adjutantclient.client import Client
>>> adjutant = Client('1', endpoint=adjutant_url, token=auth_token)

An auth token isn't needed for accessing signup, user.password_forgot(), token.submit() or token.get().