Simple HTTP CLI for OpenStack services
2477249a40
To make os-http testable we do a little bit of rearranging of the shell so that it returns strings and exceptions rather than printing directly. With this rearranging we can then add a couple of tests to verify basic functionality. |
||
---|---|---|
doc/source | ||
os_http | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
babel.cfg | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
openstack-common.conf | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
os-http
Simple HTTP CLI for OpenStack
A common problem I have in development is needing to make a request against an authenticated request against an OpenStack API "correctly" (using the catalog, real authentication, version discovery etc).
os-http is a httpie inspired wrapper around basic keystoneauth functionality that can make and display the response to HTTP requests against openstack services.
- Free software: Apache license
- Source: https://github.com/jamielennox/os-http
Usage
source accrc # load your cloud authentication
os-http --os-service-type image \
--os-api-version 2 \
--os-interface public \
--os-region RegionTwo \
get /images