summaryrefslogtreecommitdiff
path: root/openstackclient/common/restapi.py
Commit message (Collapse)AuthorAgeFilesLines
* 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