summaryrefslogtreecommitdiff
path: root/designateclient/shell.py
Commit message (Collapse)AuthorAgeFilesLines
* Removing v1 api supporttrain-em3.0.0Erik Olof Gunnar Andersson2019-09-101-252/+0
| | | | | | | The v1 has officially been removed from Designate since the Queens release, and was deperecated long before that. Change-Id: Ic5b44761ff939e2b319924af87849b3a79f9cb07
* Pass OS_ENDPOINT_TYPE from shell to clientGraham Hayes2015-11-241-1/+2
| | | | Change-Id: I0e769b4e800b7e64df3d721c21d7a44f733e9f19
* Improve help stringsAndreas Jaeger2015-08-071-5/+6
| | | | | | | | | | Improve consistency of help strings - also with other python clients: * Add missing "." to sentences in shell.py, like the majority already was. * Use sentence capitalization for all help strings (compare with shell.py). Change-Id: Idb3c5ba5167efc8947b4f2e89ba1b4e3d1863e5e
* Move all_tenants and edit_managed attributes to designate ClientDavide Guerri2015-05-221-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initializing designate client with a pre-existing keystone session won't work as designate expects keystone session to have the 'all_tenants' and 'edit_managed' attributes: Example code: keystone_session = ksc_session.Session( auth=keystone_auth, verify=True, cert=my_cert ) than later: self._designate_client = designate_client( session=keystone_session, region_name=region_name ) with that code, wrap_api_call() will raise an exception: AttributeError: 'Session' object has no attribute 'all_tenants' Same goes for 'edit_managed'. This patch moves both attributes from Keystone session to designate Client. Closes-Bug: 1457821 Change-Id: I13d6c9ed46406fefc8cfa5de46811e4be009f1af
* Add --edit-managed flag to cliGraham Hayes2015-05-061-0/+5
| | | | | | Allows users with the right role to edit managed records Change-Id: I5502da0ca1f04e428b2723038d369d317338ce51
* Added extra previllege to list all domains from all tenantsSatyanarayana Patibandla2015-02-241-0/+4
| | | | | | | | | The user has to use the command "designate --all-tenants domain-list" to list all domains from all tenants. When the above command is used "X-Auth-All-Projects" value is set to true and it is passed as a header to designate.This will allow us to list all domains from all tenants. Change-Id: I4cd4dd5427f5f35cdec95dbdf36c7386b60a2949 Fixes: bug #1418156
* Refactor KS session creation and support CA certs1.1.1Kiall Mac Innes2014-11-261-33/+25
| | | | Change-Id: Ib3fc33b1825b16cc4537d979d5ab5ed0b39633d5
* Move session creation up to shellEndre Karlson2014-11-131-0/+36
| | | | Change-Id: I65d3f37f60f97240b52b0234da6160121ec292e1
* Merge "Support Keystone V3 authentication"Jenkins2014-07-111-28/+98
|\
| * Support Keystone V3 authenticationKiall Mac Innes2014-07-071-28/+98
| | | | | | | | | | | | | | | | We now defer the majority of our auth to keystoneclient, rather than continuing to maintain our custom code. Change-Id: Ia8409940d3941bc82a8b54ec60e82efa6d043102 Closes-Bug: 1323435
* | Support better logging (Fixes --debug option)Endre Karlson2014-07-061-0/+57
|/ | | | Change-Id: Ib809f301f1e71ad2e8f7fab07c1b94601b8288bb
* Update hacking package, fix/ignore new style errorsJordan Cazamias2014-07-011-0/+1
| | | | | Change-Id: I49d26c3a9772c409b038b06e8256fb5823169c50 Implements: blueprint update-hacking
* Disable verbose logging by defaultPavel Kirpichyov2014-01-161-11/+1
| | | | | | | cliff app will manage logging level instead of making it manually Closes-Bug: #1269729 Change-Id: I8f75c1c086c7c7bca6531e7244785caaa69d4a88
* Fix and enable gating on H306Dirk Mueller2013-12-161-0/+2
| | | | | | | | | H306, module imports should be in alphabetical order This hacking check actually improves readability quite a bit, as module imports can be sorted in groups (python stdlibs, external imports, in-module imports) Change-Id: I11dc9155fbfc84389f2a5956f393f705388f83ba
* Add a --insecure arg to ignore invalid SSL certsKiall Mac Innes2013-09-181-0/+3
| | | | Change-Id: I7350c2f9d8f857300784955b2b776f3f1dc69933
* Rename Moniker -> DesignateKiall Mac Innes2013-06-091-0/+92
Change-Id: Idf7153aa287adc874a2878dc829950fda52a4879