Client for Congress
Project description
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
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
Close
Hashes for python-congressclient-1.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4c3a55e4d2d61141188aa64d396f73156d5bbd2057b00a0f754d8cbd24bda2d |
|
MD5 | 2c48b2c11d40ac6685665760327e4a18 |
|
BLAKE2b-256 | 1ed38e1c1bb92b4a8b9b94b5cd63eab98c1eda4a9bce3573a6a01aab82baa176 |
Close
Hashes for python_congressclient-1.0.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7dacb52be5989f45d1b1a43d92fe90c1b4001e938868abe269cd7c29f686e99 |
|
MD5 | 59564450cd9ba694e42ee07307b640d8 |
|
BLAKE2b-256 | 8f49b8e8e140654da694202ce6ad8286f664520687a7529bae10313e9b1770de |