Client for Congress
Free software: Apache license
Documentation: http://docs.openstack.org/developer/python-congressclient
Source: http://git.openstack.org/cgit/stackforge/python-congressclient
Client for Standalone Congress
To execute CLI commands to standalone congress set with noauth:
Install python-openstackclient:
$ pip install python-openstackclient
Clone repository & install python-congressclient:
$ git clone https://github.com/stackforge/python-congressclient.git $ cd python-congressclient $ python setup.py install
Edit congress_noauth and fix CONGRESS_URL to point to correct congress server
Run script “congress_noauth” to execute CLI commands:
$ cd python-congressclient For example: $ ./congress_noauth policy create test_policy +--------------+--------------------------------------+ | Field | Value | +--------------+--------------------------------------+ | abbreviation | test_ | | description | | | id | 8595f24a-7d74-45ee-8168-0b3e937b8419 | | kind | nonrecursive | | name | test_policy | | owner_id | user | +--------------+--------------------------------------+ $ ./congress_noauth policy rule create test_policy "p(5)" +---------+--------------------------------------+ | Field | Value | +---------+--------------------------------------+ | comment | None | | id | 5ce7fb18-a227-447e-bec8-93e99c0052a5 | | name | None | | rule | p(5) | +---------+--------------------------------------+ $ ./congress_noauth policy rule list test_policy // ID: 5ce7fb18-a227-447e-bec8-93e99c0052a5 // Name: None p(5)
Features
TODO
Metadata
Release files for python-congressclient 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python-congressclient-1.0.3.tar.gz | 49.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_congressclient-1.0.3-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 112.9 kB
Release files / python-congressclient-1.0.3.tar.gz
| Download URL | python-congressclient-1.0.3.tar.gz |
|---|---|
| Size | 49.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4c3a55e4d2d61141188aa64d396f73156d5bbd2057b00a0f754d8cbd24bda2d
|
|
BLAKE2b-256 checksum How to use checksums |
1ed38e1c1bb92b4a8b9b94b5cd63eab98c1eda4a9bce3573a6a01aab82baa176
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / python_congressclient-1.0.3-py2-none-any.whl
| Download URL | python_congressclient-1.0.3-py2-none-any.whl |
|---|---|
| Size | 63.5 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
a7dacb52be5989f45d1b1a43d92fe90c1b4001e938868abe269cd7c29f686e99
|
|
BLAKE2b-256 checksum How to use checksums |
8f49b8e8e140654da694202ce6ad8286f664520687a7529bae10313e9b1770de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |