summaryrefslogtreecommitdiff
path: root/designateclient/v2/cli
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
* | 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
* 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
* Add tsig key support to python-designateclientRudolf Vriend2017-07-071-0/+170
| | | | | | | | | | 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
* Add attribute support to create zone cliGraham Hayes2017-01-311-0/+16
| | | | | | also format attributes for cli display Change-Id: Ia338f607e6d4b70610132ab66e15381981beb038
* 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-081-0/+7
|/ | | | | Change-Id: Ie39f1e86716a096402aafe814fcde821e66dbc5b Closes-Bug: #1600781
* Merge "Add quota set / list / reset commands"2.2.0Jenkins2016-07-141-0/+133
|\
| * Add quota set / list / reset commandsGraham Hayes2016-06-291-0/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-016-53/+43
| | | | | | | | | | | | | | | | | | 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-307-0/+242
|\ \ | |/
| * Add global flags to cliGraham Hayes2016-06-287-0/+242
| | | | | | | | | | | | This time, try not to break other peoples plugins Change-Id: I3ff6f584b0a5c89ac2c6f263549d2a8b74805572
* | Merge "Allow cli to query "v2/recordsets""Jenkins2016-06-291-3/+9
|\ \ | |/ |/|
| * Allow cli to query "v2/recordsets"Graham Hayes2016-06-091-3/+9
| | | | | | | | | | | | | | | | 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-242-13/+0
|\ \
| * | Revert "Add Global Flags for filtering results"Ben Nemec2016-06-232-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-241-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | 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-171-0/+21
|\ \
| * | Add `openstack zone transfer accept list` cli to designateclientsonu.kumar2016-06-141-0/+21
| |/ | | | | | | | | | | | | | | | | | | | | This patch add cli for listing accepted zone ownership transfer and corresponding test cases. Related-Bug: #1499539 Change-Id: I3eec36c73b2dacd4eed3b8578c4d51593b43104d depends-on: I3dc042f666be43649bb3dec6e92cc67d1c32578f
* | Add Global Flags for filtering resultsGraham Hayes2016-06-012-0/+13
|/ | | | | | | | | | 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
* Add support for service statusEndre Karlson2016-04-121-0/+87
| | | | | Change-Id: I5349524d262ffcadf88b3c914f187dfc26563156 Depends-On: Iaf10d8486ac8015ecf9f394dfbf074bfb863fb78
* Merge "Implement zone import"Jenkins2016-04-061-0/+97
|\
| * Implement zone importRahman Syed2016-03-301-0/+97
| | | | | | | | | | | | | | | | | | | | | | Zone import commands (create, list, show, delete) are missing from the python-designateclient. This change includes implementation, as well as unit tests and functionaltests. Change-Id: I635431b5ef11989247e8d185ad692e4fee9bebba Closes-Bug: #1550532
* | Show responses on zone and recordset deletesPaul Glass2016-03-302-5/+10
| | | | | | | | Change-Id: I1b15c64bac1bc495fe7aecbcf08c28b8ea41b5a7
* | Add filtering to recordsets CLIGraham Hayes2016-03-291-2/+41
| | | | | | | | | | | | Also cleaned up the display of records in the list view. Change-Id: I6d05dc387a9653c49bebb9d5f63282b8002ec32a
* | Show "status" and "action" for recordsetsGraham Hayes2016-03-291-1/+1
| | | | | | | | Change-Id: I9d3cfdccf1681f334908034f6aa9a935d0ca43c5
* | Fixes 'openstack tld list' command's exceptionsonu.kumar2016-03-291-1/+10
|/ | | | | | | | | | | | Earlier while executing "openstack tld list" command the designate client was not able to list the created tlds and was resulting an exception. This patch fixes those issues and makes designateclient to list all the created tlds. Change-Id: I762cf269eb8396b20915b98709f445acaa3f7649 Closes-Bug: #1557364
* Implement zone exportRahman Syed2016-03-231-32/+111
| | | | | | | | | | | Zone export commands (create, list, show, delete, showfile) are missing from the python-designateclient. This change includes implementation, as well as unit tests and functionaltests. Change-Id: I957946d739bceea1074e2fda2ce7f841143b0611 Partial-Bug: #1550532
* Allow the OSC CLI Plugin to walk pages2.0.0Graham Hayes2016-01-275-5/+11
| | | | | Change-Id: I5587ad816c99dc159f2c1a5660450a631ddecd6e Closes-Bug: #1538611
* Merge "Show output on transfer accept"Jenkins2016-01-261-1/+1
|\
| * Show output on transfer acceptEndre Karlson2016-01-121-1/+1
| | | | | | | | Change-Id: I39576c9b845a6a804e5e51d3fb0f5b05c5a3f56c
* | Improvement in zone transfer request command descriptionsonu.kumar2016-01-221-6/+7
| | | | | | | | | | | | | | This patch also adds description for 'openstack zone transfer request delete' command. Change-Id: Iee7f618b0c5dcf64030c82b5aef5477e2dc2cb5a
* | Change to ShowOne to display output upon updateEndre Karlson2016-01-121-1/+1
|/ | | | Change-Id: I3b0c27257257eb3067d71b35aeee1d61c3bcc982
* Merge "Adds changes related to py3 compatibility"Jenkins2015-11-305-20/+20
|\
| * Adds changes related to py3 compatibilitysonu.kumar2015-11-245-20/+20
| | | | | | | | | | | | | | | | | | This patch replaces map() and zip() with six.moves.map() and six.moves.zip() respectively to provide py2/3 compatibility. Change-Id: I2e4b61c67ee34247f4c9e77f593df18d9dfd574b Partially-Implements: blueprint designate-py3
* | Improve logging in designateclientsonu.kumar2015-11-252-4/+4
|/ | | | | | | | | | | | | | | We should delegate (when possible) formatting to the logger in order to perform formatting only when needed, by using: LOG.<level>(message, data) instead of: LOG.<level>(message % data) This change corrects some incorrect indentations in logs Change-Id: Ida8ab2958563f0752f20490f033922a60c1c1c01
* Merge "Removes --name argument from zone set command"Jenkins2015-11-041-4/+0
|\
| * Removes --name argument from zone set commandsonu.kumar2015-10-151-4/+0
| | | | | | | | | | Change-Id: Idb34853dd72d094fbe4f15140fdc2803b689b136 Closes-Bug: #1504494
* | Merge "Adds different filter option for zone listing"Jenkins2015-11-041-0/+22
|\ \
| * | Adds different filter option for zone listingsonu.kumar2015-10-211-0/+22
| |/ | | | | | | | | | | | | | | This patch adds available filter option for 'openstack zone list' command. Change-Id: Ie5d32af1799acf653355ba441f38fd4d1ffe1e17 Closes-Bug: #1506728
* | Fixes typos in zone transfer request show command descriptionsonu.kumar2015-10-131-1/+1
|/ | | | | | This patch replaces zonet with zone. Change-Id: I789413e52ab749569a2b651fe2d4cf550f8a6b1e
* Merge "Fixes exception message for zone creation command"Jenkins2015-10-131-1/+1
|\
| * Fixes exception message for zone creation commandsonu.kumar2015-10-121-1/+1
| | | | | | | | | | | | | | | | | | This patch fixes exception message which is raises while 'openstack zone create' command is provided with incorrect type. Change-Id: If3a84ee5bec0d7f72edc75ebfcc3aeeadfc83c69 Closes-Bug: #1505142
* | Merge "Removes name argument from openstack recordset set command"Jenkins2015-10-131-4/+0
|\ \
| * | Removes name argument from openstack recordset set commandsonu.kumar2015-10-081-4/+0
| |/ | | | | | | | | | | Closes-Bug: #1499867 Change-Id: Iec4d52aadb588caa7aa5302ae68112908f8e3cec
* | Merge "Fixes openstack zone blacklist set command"Jenkins2015-10-121-2/+2
|\ \
| * | Fixes openstack zone blacklist set commandsonu.kumar2015-10-071-2/+2
| |/ | | | | | | | | | | | | | | This patch fixes openstack zone blacklist set command's pattern option description. Change-Id: Ic832d4fb120fe98fc436b7d2f47113d45da967ea Closes-Bug: #1500604