summaryrefslogtreecommitdiff
path: root/designateclient
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Check item is one of six.string_types not just str"Zuul2018-08-112-3/+2
|\
| * Check item is one of six.string_types not just strGraham Hayes2018-04-162-3/+2
| | | | | | | | | | Change-Id: I343d9f6bdb3509256191a44e686f24e0ebeb5d22 Closes-Bug: #1762612
* | Merge "server-get/update show wrong values about 'id' and 'update_at'"rocky-em2.10.0Zuul2018-07-251-3/+3
|\ \
| * | server-get/update show wrong values about 'id' and 'update_at'miaoyuliang2018-06-201-3/+3
| |/ | | | | | | | | | | | | | | | | While process 'designate server-get' and 'designate server-update', the 'id' and 'update_at' values are wrong, they should be interchanged. Change-Id: Ibddf9cc9a018774ed229c0dfa81e705cd74704bc Closes-Bug: #1777576
* | Fix copy-pasta in quota command descriptionsBen Nemec2018-06-291-2/+2
|/ | | | | | | | These seem to have been copied from the blacklist command and don't make sense for quotas. They also appear in the openstackclient help output which is confusing. Change-Id: Ib5d2c0fd7da8cb18e230d84c5f344217ad853da7
* Merge "Highlight V1 API removal"Zuul2018-02-281-1/+5
|\
| * Highlight V1 API removalGraham Hayes2018-02-121-1/+5
| | | | | | | | | | | | | | Update Docs and the execption logged to point users to the openstack cli + v2 client. Change-Id: Ib08330d348a6a2f0e976ab0df26e91b2d7bd4e13
* | Improve the RecordSet Update UIGraham Hayes2018-02-121-2/+15
|/ | | | | | | | | | | This adds the logic introduced in I8fefd9d0f104170d50c5d5dc3cbcc53facda9baf to the "recordset set" command as well. This helps with the consistancy, and fixes some of the same issues in the set command. Change-Id: Ib943ed0eea436ad1a7ad0c3717f0fb6bd6b5b3f0
* Improve recordset create UIJens Harbott2017-12-071-3/+17
| | | | | | | | | | | | | | The current implementation has '--records' as a quasi-positional argument, with the nargs='+' parameter it can only be used at the end of the command, which is confusing to users and doesn't comply with the help message. Add a new option '--record' that takes only exactly one record as parameter and can be repeated when multiple records are present. Deprecate the old option so it can be removed in the future. Change-Id: I8fefd9d0f104170d50c5d5dc3cbcc53facda9baf Closes-Bug: 1736161
* Make remote error handling more robustJens Harbott2017-09-012-1/+8
| | | | | | | | | When a RemoteError is created, it is passed the complete content of the json response from the server. Thus is can happen that it contains unexpected entries, we should just ignore them. Change-Id: I2155d1d44432884f19ef926c02b9d0f99ade57d9 Closes-Bug: 1714460
* Add tsig key support to python-designateclientRudolf Vriend2017-07-078-1/+472
| | | | | | | | | | This fix adds support for the designate tsig keys api to python-designateclient. It will add tsigkey related crud commands to the openstackclient. Change-Id: I84336c3aca85ca62771fd2115481eda32ee980d2 Closes-Bug: #1702506
* Use Sphinx 1.5 warning-is-errorStephen Finucane2017-04-206-15/+22
| | | | | | | | | | | With pbr 2.0 and Sphinx 1.5, the setting for treat sphinx warnings as errors is setting warning-is-error in build_sphinx section. Migrate the setting from the old warnerrors one. This involves a couple of changes to the docs to fix the now broken build. Change-Id: I9bee7f6f9c69a9ed7bb22325ad1a0a1316dde526
* Set client module __version__Rui Chen2017-02-062-3/+23
| | | | | | | | | | According to PEP 396, the version of client library should be set in xxxclient.__version__, that help python-openstackclient command "module list" to get the right plugin module versions. Change-Id: I932287726c5b0a8638c6ad72171e98181867d88f Partial-Bug: #1662058
* Merge "Add attribute support to create zone cli"ocata-em2.6.0Jenkins2017-02-012-1/+20
|\
| * Add attribute support to create zone cliGraham Hayes2017-01-312-1/+20
| | | | | | | | | | | | also format attributes for cli display Change-Id: Ia338f607e6d4b70610132ab66e15381981beb038
* | Merge "Replace 'assertFalse(a in b)' with 'assertNotIn(a, b)'"Jenkins2017-02-011-1/+1
|\ \
| * | Replace 'assertFalse(a in b)' with 'assertNotIn(a, b)'howardlee2016-11-181-1/+1
| | | | | | | | | | | | | | | | | | Trivial fix. Change-Id: I0e678649225d58e70db09f6c0acce59d20f48004
* | | Show proper error on over quota commandsGraham Hayes2017-01-312-0/+6
| |/ |/| | | | | | | Change-Id: I811a0f0e3dcc3406ba9a07b0d54788a3241a7cd2 Closes-Bug: #1629222
* | Removes unnecessary utf-8 encodingCao Xuan Hoang2016-12-222-4/+0
| | | | | | | | | | | | | | | | | | | | The following files added utf-8 encoding but never used. So we can remove them at all. designateclient/tests/base.py designateclient/tests/test_designateclient.py Change-Id: Id11c8241544ef076c95986bb645cdc6cce652a1c
* | Ensure X-Designate-Edit-Managed-Records header value is a stringCedric Brandily2016-12-091-1/+1
| | | | | | | | | | | | | | | | Header values are strings so we should provide a string as X-Designate-Edit-Managed-Records header value instead of a boolean (which is transformed into: "<type 'bool'>" by python-requests). Change-Id: Iaf248a0e817fe65785ddcdca46663e7273a6dad0
* | Use tempest instead of Tempest-libghanshyam2016-11-229-10/+10
|/ | | | | | | | | | | tempest-lib has been deprecated since a year. All the interfaces available in tempest-lib are now available in tempest/lib. This patch make use of tempest/lib instead of tempest-lib. Also add tempest in test-requirements.txt Change-Id: I6cb50b68631391f0368e8a2e6133f94c1da52376
* Merge "Ensure X-Auth-All-Projects header value is a string"Jenkins2016-11-041-1/+1
|\
| * Ensure X-Auth-All-Projects header value is a stringCedric Brandily2016-10-281-1/+1
| | | | | | | | | | | | | | | | Header values are strings so we should provide a string as X-Auth-All-Projects header value instead of a boolean (which is transformed into: "<type 'bool'>" by python-requests) Change-Id: Id4172f424565da5afb1f310195a0b7ba37674064
* | Merge "Fix pep8 E501 line too long"Jenkins2016-11-011-1/+2
|\ \ | |/ |/|
| * Fix pep8 E501 line too longTony Xu2016-09-231-1/+2
| | | | | | | | | | | | | | Wrap line to under 79 characters in designateclient/functionaltests/datagen.py Change-Id: I50deb3ffb70a4845fc825f9ee3eef61c40316b5b
* | Merge "Add plug-in summary for osc doc"Jenkins2016-10-181-0/+2
|\ \
| * | Add plug-in summary for osc docKATO Tomoyuki2016-10-141-0/+2
| |/ | | | | | | | | | | | | Stevedore Sphinx extension handles this comment. http://docs.openstack.org/developer/python-openstackclient/plugin-commands.html Change-Id: Ibab2eb29c1dbd37ee42f2ec9db8e323e2504b5b7
* | Replace 'assertTrue(a in b)' with 'assertIn(a, b)'Cao Xuan Hoang2016-09-282-2/+2
|/ | | | | | trivialfix Change-Id: Iaf6fc3b4b68d764de38856cab54d27579565310f
* record-create/update: Account for priority being 0Alex Monk2016-09-132-3/+3
| | | | Change-Id: Ia791e602d217cbf21fc8b636b0688c012a538169
* Merge "Resolve FloatingIP PTR records clis argument's description"Jenkins2016-08-241-3/+6
|\
| * Resolve FloatingIP PTR records clis argument's descriptionsonu.kumar2016-08-081-3/+6
| | | | | | | | | | Change-Id: Id284e43a53dddd158c1be3768422df42d49efeca Closes-Bug: #1600775
* | Fix clis related to FloatingIP's ptr recordssonu.kumar2016-08-082-2/+9
|/ | | | | Change-Id: Ie39f1e86716a096402aafe814fcde821e66dbc5b Closes-Bug: #1600781
* Merge "Add quota set / list / reset commands"2.2.0Jenkins2016-07-143-0/+162
|\
| * Add quota set / list / reset commandsGraham Hayes2016-06-293-0/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added: openstack dns quota - list - set - reset All sub commands can be scoped to a project using --project-id If the --project-id does not match the current project id it will set X-Auth-All-Projects:True This cannot be a standard quota command as osc does not allow us to access that command Change-Id: I8e22535be042608022ef1d1cb3866e7aa5324e84 Depends-On: I7a0b828824ad6f274d922748f5f9a68157cd939a Related-Bug: #1587927
* | Use osc_lib instead of cliffTang Chen2016-07-017-62/+50
| | | | | | | | | | | | | | | | | | Base classes of commands are defined in cliff, but have been encapsulated again in osc-lib for all plugin clients. So use osc-lib instead of cliff. Change-Id: I9ec5dc794d8449bc3618889f68993cea734cb0a9
* | Merge "Add global flags to cli"Jenkins2016-06-3010-4/+274
|\ \ | |/
| * Add global flags to cliGraham Hayes2016-06-2810-4/+274
| | | | | | | | | | | | This time, try not to break other peoples plugins Change-Id: I3ff6f584b0a5c89ac2c6f263549d2a8b74805572
* | Merge "Mark the v1 API Client as deprecated"Jenkins2016-06-292-1/+23
|\ \
| * | Mark the v1 API Client as deprecatedGraham Hayes2016-06-292-1/+23
| |/ | | | | | | | | | | As the v1 API is scheduled for removal, we should warn users Change-Id: I6e2570db0dd392389cc54aee816ad8b9aee1a0dd
* | Merge "Allow cli to query "v2/recordsets""Jenkins2016-06-292-3/+15
|\ \ | |/ |/|
| * Allow cli to query "v2/recordsets"Graham Hayes2016-06-092-3/+15
| | | | | | | | | | | | | | | | The allows users to list all recordsets in the system. running ``openstack recordset list all`` will show all rrsets Change-Id: Id47961c80484550c99c1834a554afe31165b69ca
* | Merge "Revert "Add Global Flags for filtering results""Jenkins2016-06-245-69/+5
|\ \
| * | Revert "Add Global Flags for filtering results"Ben Nemec2016-06-235-69/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Registering these options as global flags pollutes the global opt namespace and is masking plugin-specific options in other plugins. Partial-Bug: 1595616 This reverts commit 0b2b870237b6a332239dcad73cd9cab2634cb44f. Change-Id: I7ef5c5511adc40d603374c4963ba22556f16252e
* | | Use osc-lib instead of openstackclientTang Chen2016-06-242-2/+3
|/ / | | | | | | | | | | | | | | | | | | | | osc-lib is a package of common support modules for writing OSC plugins. All common functions, classes such as exceptions, utils, logs and so on have been moved from openstackclient to osc-lib. So use osc-lib instead of openstackclient. Change-Id: I4377951ba0b58ea94a43c688b66c0b87dda7225d
* | Merge "Add `openstack zone transfer accept list` cli to designateclient"Jenkins2016-06-173-0/+39
|\ \
| * | Add `openstack zone transfer accept list` cli to designateclientsonu.kumar2016-06-143-0/+39
| |/ | | | | | | | | | | | | | | | | | | | | This patch add cli for listing accepted zone ownership transfer and corresponding test cases. Related-Bug: #1499539 Change-Id: I3eec36c73b2dacd4eed3b8578c4d51593b43104d depends-on: I3dc042f666be43649bb3dec6e92cc67d1c32578f
* | Add pool listing to python designate clientLakshmi N Sampath2016-06-142-0/+24
| | | | | | | | | | | | | | | | | | Pool listing is required in downstream apps which use python designate client like searchlight to retrive list of pool. Change-Id: I44d3a53d2b490fe9a4cca3858734ca70bb5e0f88 Closes-Bug: #1563497
* | Add Global Flags for filtering resultsGraham Hayes2016-06-015-5/+69
|/ | | | | | | | | | In the HTTP Headers --all-projects sets "X-Auth-All-Projects:True" --edit-managed sets "X-Designate-Edit-Managed:True" --sudo-project-id <id> sets "X-Auth-Sudo-Project-ID:<id>" Change-Id: I4985a1a2cd75da4311e819afdbfdafcc8a023c56
* Switch to keystoneauthClenimar Filemon2016-05-168-107/+12
| | | | | | | | | | | | This patch migrates designateclient to using keystoneauth Session instead of deprecated keystoneclient's Session and plugins. Also, this patch removes the old designateclient.auth module as it is not used anywhere else in the code base and its purpose is overridden by the fact that keystoneauth acts as an abstraction layer for authentication (handling requests and reauthentication internally). Change-Id: Ic3cc0fbb76977a04bab322ebcb1c818e75646772
* Don't use the 'keystone' client (functional tests)Paul Glass2016-05-091-2/+2
| | | | Change-Id: I2568305a5ad779bcd1ca8709f92e2b4d7b4161ff