summaryrefslogtreecommitdiff
path: root/openstackclient/common/restapi.py
Commit message (Collapse)AuthorAgeFilesLines
* Use Keystone client session.SessionDean Troyer2014-09-081-332/+0
| | | | | | | | | | | | | | This replaces the restapi requests wrapper with the one from Keystone client so we can take advantage of the auth plugins. As a first step only the v2 and v3 token and password plugins are supported. This maintainis no changes to the command options or environment variables. The next steps will include reworking the other API client interfaces to fully utilize the single auth session. Blueprint: ksc-session-auth Change-Id: I47ec63291e4c3cf36c8061299a4764f60b36ab89
* Add container create and delete supportSteve Martinelli2014-08-031-3/+15
| | | | | | | Add basic container create and delete support to OSC. Change-Id: Ia104db9d7e580d33097ea33a5690998f817995d1 implements: bp swift-client
* Fix PEP8 E302 errorsDean Troyer2014-07-221-2/+2
| | | | | | Also add remaining skipped checks to HACKING Change-Id: I0c4333ce29597e0a8a233af17c15bed2b4d0711f
* Fix PEP8 E265 errorsDean Troyer2014-06-271-10/+0
| | | | Change-Id: Ieb9a9af1da27d3935d1a4d3cfb61b0ccb03d099a
* Bring RESTApi closer to ithe imminent keystoneclient.SessionDean Troyer2013-12-031-78/+219
| | | | | | | Prepare to use the (soon to be) common Session from keystoneclient * Rework RESTApi to eventually be a subclass of keystoneclient.Session Change-Id: I68e610f8b19a3f6267a93f7bf3de54a228be68aa
* Add options to support TLS certificate verificationDean Troyer2013-10-071-0/+1
| | | | | | | | | | Add --os-cacert and --verify|--insecure options using the same sematics as the other project CLIs. --verify is included for completeness. Bug: 1236608 Change-Id: I8a116d790db5aa4cb17a2207efedce7cb229eba3
* Create a new base REST API interfaceDean Troyer2013-08-231-0/+188
* restapi module provides basic REST API support * uses dicts rather than Resource classes * JSON serialization/deserialization * log requests in 'curl' format * basic API boilerplate for create/delete/list/set/show verbs * ignore H302 due to urllib import Change-Id: I3cb91e44e631ee19e9f5dea19b6bac5d599d19ce