| Commit message (Collapse) | Author | Age | Files | Lines |
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We had a question about whether the TLD name could be used as the
"id" positional argument when show/set/delete a TLD.
This patch clarifies that names or IDs will work with those commands
in the OpenStack client.
Change-Id: I93952596f3c82ae37d903a8ea4dd8700ae8fc314
(cherry picked from commit 5fbc5b115441c16db6f9381cc62e63537b60a5a8)
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| | |
Change-Id: If7ba1fc9dd3f9d67a49ad3b8ae4c0e0f9733195b
Closes-Bug: 1901172
(cherry picked from commit 196cb61870f838396d208ce7fe175e004d0d1006)
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
--edit-managed sets a header x-designate-edit-managed-records
that indicates the current request wishes to modify managed records
such as the SOA or NS record created for a zone. This is only used
by the recordset update and delete API methods so can be removed
elsewhere.
Closes-Bug: 1928411
Change-Id: I18bfdae045c8b5e589075865eb024cee4852d8f9
(cherry picked from commit 94e7e97e50b0622cb27a20c3aead22e6e25ac5ad)
|
| |/
|
|
|
|
|
|
|
|
|
|
|
| |
The zone transfer request set command was missing the
--target-project-id option so you cannot change the target project ID of
a zone transfer request after creation with the CLI.
This option is supported by the API and documented in the API reference
guide.
This patch adds this option.
Closes-Bug: #1977625
Change-Id: Idd570a5aef57c06971db2450fdfb823cf0c07bfd
(cherry picked from commit fba1354e039809edaba9bbf0f31b3fe743aae36f)
|
| |
|
|
|
|
|
|
|
| |
We only allow `PRIMARY` and `SECONDARY` zones. Instead of testing for
either one of those two choices later in the code, we can offload this
test to the parser.
Change-Id: I8244e13303646e6686e4233e1edbd2bbc788e054
Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
Increase the hacking version in test-requirements to match the
version used in the `designate` project.
This change fixes a few errors that the more recent `pyflakes` flags.
Change-Id: If7afefde0f33161016a27774021d27239c642eb5
Co-Authored-By: Michael Chapman <woppin@gmail.com>
Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
|
| |
|
|
|
|
|
|
| |
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Change-Id: I3be6c40ef61e0334cab860689abbee84f5d19265
|
| |
|
|
|
|
|
|
| |
Now that we are py36 or later, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I9582d623727e5853637812083033a348b71551ce
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
|
| |\ |
|
| | |
| |
| |
| | |
Change-Id: I01d39252b0be77b035bde175b4045a8cdc859f65
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Class variables get re-used when multiple commands are executed in a row
within a single OSC interactive session. So we need to take a copy
before modifying in order to avoid unwanted side-effects.
Change-Id: I9716014d65a3f649c23eb78faca2cb6dbf5eb5db
Related-Bug: 1844028
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
The current zone list function does not check to see if project_id is
already a column to be output when adding it during an --all-projects
list. This causes a duplicate field name to be added which is then
passed to prettytables which subsequently throws an exception. Create a
copy of the columns list so it is not appended to with every
command.
Change-Id: I5f62500086a807d5082221993c3b491f3b6a1db0
Closes-Bug: #1844028
|
| |
|
|
|
|
|
| |
The v1 has officially been removed from Designate since
the Queens release, and was deperecated long before that.
Change-Id: Ic5b44761ff939e2b319924af87849b3a79f9cb07
|
| |
|
|
|
|
|
| |
oslo project provide jsonutils, and the others use it in many place,
this PS to update the json moudule to oslo jsonutils for consistency.
Change-Id: I8cbf78b0735572f550ece31611258c3da9ae1d35
|
| |\ |
|
| | |
| |
| |
| |
| | |
Change-Id: I343d9f6bdb3509256191a44e686f24e0ebeb5d22
Closes-Bug: #1762612
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
|
| |
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
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Update Docs and the execption logged to point users to the
openstack cli + v2 client.
Change-Id: Ib08330d348a6a2f0e976ab0df26e91b2d7bd4e13
|
| |/
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
also format attributes for cli display
Change-Id: Ia338f607e6d4b70610132ab66e15381981beb038
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Trivial fix.
Change-Id: I0e678649225d58e70db09f6c0acce59d20f48004
|
| | |/
|/|
| |
| |
| | |
Change-Id: I811a0f0e3dcc3406ba9a07b0d54788a3241a7cd2
Closes-Bug: #1629222
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
|
|
|
|
| |
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
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| | |
Wrap line to under 79 characters in
designateclient/functionaltests/datagen.py
Change-Id: I50deb3ffb70a4845fc825f9ee3eef61c40316b5b
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| | |
Stevedore Sphinx extension handles this comment.
http://docs.openstack.org/developer/python-openstackclient/plugin-commands.html
Change-Id: Ibab2eb29c1dbd37ee42f2ec9db8e323e2504b5b7
|
| |/
|
|
|
|
| |
trivialfix
Change-Id: Iaf6fc3b4b68d764de38856cab54d27579565310f
|
| |
|
|
| |
Change-Id: Ia791e602d217cbf21fc8b636b0688c012a538169
|
| |\ |
|
| | |
| |
| |
| |
| | |
Change-Id: Id284e43a53dddd158c1be3768422df42d49efeca
Closes-Bug: #1600775
|
| |/
|
|
|
| |
Change-Id: Ie39f1e86716a096402aafe814fcde821e66dbc5b
Closes-Bug: #1600781
|
| |\ |
|