| Commit message (Collapse) | Author | Age | Files | Lines |
| |\ |
|
| | |
| |
| |
| |
| |
| | |
This patch adds a hacking check for line continuation backslashes and fixes the occurences that existed in the code.
Change-Id: I13cd03e16698b7f1d8036815d12a665bd1156f2f
|
| |/
|
|
|
|
|
| |
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: Iea92371176d9126205384624a18a9097acb3daef
Partial-Bug: #1714088
Depends-On: https://review.opendev.org/#/c/726334/
|
| |
|
|
|
|
|
|
|
|
| |
This commit provides an header option (hard-delete) for deletion of
zonefiles on backend as part of zone delete API.
Main patch (in Designate) is:
https://review.opendev.org/c/openstack/designate/+/835317
Change-Id: I0080c028466d809f4f5118fec05d9e46b2dfce84
|
| |
|
|
|
|
|
|
|
|
| |
PRIMARY zone type is set by default, so SECONDARY
zones were not included in the command output.
Now all types are in output by default and specific type
can be passed as an argument like before
Closes-Bug: #1940544
Change-Id: Idbba68ebd3f74bde74f0b50ffcb233673dff2303
|
| |
|
|
|
|
|
|
| |
Due to a logic error the all-projects header was being set if no
explicit project was being specified.
Closes-Bug: 1980942
Change-Id: I3c492b4ffd1b75a42a6a152b1dea219e4986f411
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
--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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
This patch removes the use of "six" as the package declares only
python3 support.
It also updates the appdirs lower-constraint to 1.4.0 to support
pip. This version is available on both centos8 and focal.
It also removes the linter related packages from lower-constraints.
Change-Id: I9337f1998749bc40737f2f0e2dcc406b6f3a0ddf
|
| |\ |
|
| | |
| |
| |
| |
| | |
Change-Id: If7ba1fc9dd3f9d67a49ad3b8ae4c0e0f9733195b
Closes-Bug: 1901172
|
| |/
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
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
|
| |\ |
|
| | |
| |
| |
| |
| | |
Change-Id: I343d9f6bdb3509256191a44e686f24e0ebeb5d22
Closes-Bug: #1762612
|
| |/
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
also format attributes for cli display
Change-Id: Ia338f607e6d4b70610132ab66e15381981beb038
|
| |\ |
|
| | |
| |
| |
| |
| | |
Change-Id: Id284e43a53dddd158c1be3768422df42d49efeca
Closes-Bug: #1600775
|
| |/
|
|
|
| |
Change-Id: Ie39f1e86716a096402aafe814fcde821e66dbc5b
Closes-Bug: #1600781
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| | |
This time, try not to break other peoples plugins
Change-Id: I3ff6f584b0a5c89ac2c6f263549d2a8b74805572
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
The allows users to list all recordsets in the system.
running ``openstack recordset list all`` will show all rrsets
Change-Id: Id47961c80484550c99c1834a554afe31165b69ca
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch add cli for listing accepted zone ownership transfer
and corresponding test cases.
Related-Bug: #1499539
Change-Id: I3eec36c73b2dacd4eed3b8578c4d51593b43104d
depends-on: I3dc042f666be43649bb3dec6e92cc67d1c32578f
|
| |/
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
Change-Id: I5349524d262ffcadf88b3c914f187dfc26563156
Depends-On: Iaf10d8486ac8015ecf9f394dfbf074bfb863fb78
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| | |
Change-Id: I1b15c64bac1bc495fe7aecbcf08c28b8ea41b5a7
|
| | |
| |
| |
| |
| |
| | |
Also cleaned up the display of records in the list view.
Change-Id: I6d05dc387a9653c49bebb9d5f63282b8002ec32a
|
| | |
| |
| |
| | |
Change-Id: I9d3cfdccf1681f334908034f6aa9a935d0ca43c5
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
Change-Id: I5587ad816c99dc159f2c1a5660450a631ddecd6e
Closes-Bug: #1538611
|
| |\ |
|
| | |
| |
| |
| | |
Change-Id: I39576c9b845a6a804e5e51d3fb0f5b05c5a3f56c
|