This implements the spec to introduce support for providing catalog zones.
Co-Authored-By: Nico Keller <nico.keller@inovex.de>
Change-Id: Ic9e593d661f2eb1db59a5b235521e0746489f9bb
Signed-off-by: Jan Hartkopf <jhartkopf@inovex.de>
Result of running
$ pyupgrade --py38-plus $(git ls-files | grep ".py$")
This was inspired by Nova [1] and Octavia [2]
Fixed PEP8 errors introduced by pyupgrade by running:
$ autopep8 --select=E127,E128,E501 --max-line-length 79 -r \
--in-place designate
and manual updates.
[1]: https://review.opendev.org/c/openstack/nova/+/896986
[2]: https://review.opendev.org/c/openstack/octavia/+/899263
Change-Id: Idfa757d7ba238012db116fdb3e98cc7c5ff4b169
This patch adds an example of the "clean_zonefile" option in the BIND9 targets in the pools.yaml file. The option has existed in the code, but was not documented in any way.
It also enables this feature in the bind9 devstack plugin for testing and to reduce the storage utilization during test runs.
Change-Id: I70b92b400cfeb059d1a1889ffa72621e0011d8c6
The python blockdiag module is unmaintained and will likely be removed from distros.[1]
This patch replaces blockdiag with graphviz diagrams.
[1] https://github.com/blockdiag/blockdiag/pull/171
Change-Id: I3a902c60b59071b466e1bf1ec6bda205e58b378c
We have had a few questions about classless IN-ADDR.ARPA delegation (RFC 2317) recently. This patch adds a section to the PTR user guide that describes how to setup classless PTR delegation using Designate.
Change-Id: I8e51ccdc0a4bc0d670ba6c7522a83980de7dac9d
We have a lot of abstraction that isn't really needed. This patch
removes some of that abstraction and reorganizes the code accordingly.
- Merged storage and sqlalchemy folders.
- Deprecated [central].storage_driver.
- Minor cleanup to SQL code.
- Cleaned up comments and unit tests.
Change-Id: I8f0508aedcc028b1a6e74c790c5d757a0d6c98d7
We should not use set_class(), which is deprecated. This fixes it,
by using the element['classes'] directly, as recommended upstream.
Change-Id: I815bc2e8700438f768197337b7afb695a31308d0
This patch adds a user guide that describes how to use the Neutron/Nova integration with Designate. It provides examples for Nova instance, Neutron ports and floating IPs.
Previously this information was split across Nova, Neutron, and Designate documentation.
This patch also adds a "references" section to the documentation and adds a glossary document to help explain some of our terms.
Change-Id: I2bcf4b7052e12801b95dd3a541d1e8535c82c17c
This patch moved the remaining RPC calls away from the
MDNS service to the Worker and re-worked them to better
match the patterns used in the Worker. This means that
the MDNS service now only handles incoming DNS queries.
In addition the metrics backend has been removed as it was
only used by the MDNS RPC implementation and the monascastatsd
implementation no longer serves a purpose.
Closes-Bug: #1978742
Closes-Bug: #1978743
Change-Id: I5ef106717546a201fd62a51adacd43495c148cd4
This patch adds a user guide for zone ownership transfers.
It also re-organizes the user guide landing page to be a bit easier to read.
Change-Id: I9b1c620b96a95cc8db4a634c26a2a48ca880f2b0
The Designate user guide has had a "Deprecated REST API Documentation" since 2017 and the content is not really relevant anymore.
Change-Id: I7560ce184c41ce8f5d598f8cd912d864b23195fe
Adds a configuration variable that allows a user to
declare the CA certificate to be used to verify
traffic with a PowerDNS API endpoint.
Closes-Bug: #1971856
Signed-off-by: Juan Pablo Suazo <jsuazo@whitestack.com>
Change-Id: I57f3d5a1d1f79186cc5b38e76d30f62e01b60482
After the recordset is created, they user should verify that it is
also known to the DNS backend. This change adds the necessary command
and the expected output.
Change-Id: I726ff14f267784070f7c09b5a0d564f593cfcc70
Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
This patch expands the RBAC policy guide to include information about
the new scoped tokens and default roles.
Change-Id: I12c1a9dacc8fef1ca991e14d143fa76b588eef07
As defined in RFC1035 section 3.3.14 TXT-DATA
can be one or more <character-strings>s.
Before this commit Designate threw errors
when saving TXT records that are split
into multiple strings because validations on
the field did not consider allowing this
in a single DNS record as per RFC7208
section 3.3.
This patch allows longer TXT record data
but only if it is split according to RFC
definitions mentioned above. If data
is made of more <character-string>s,
each one is individually validated with
the same validations as if the data was
not split.
Closes-Bug: 1595265
Change-Id: I4e3e51b32ab01efc4202c297708eff5a2e2b4985
Signed-off-by: Emanuel Andrecut (emanuel.andrecut@fleio.com)
This patch updates the quotas documentation to include all of the available
quota management actions available in the Designate API. It also adds
OpenStack Client command examples for each action.
Change-Id: I5eec83e8c8afb356062bd8c883285645233dd6a3
Add some documentation on the usage and quirks of zone import
and export as they currently function.
Change-Id: Ia9514bf9e0eb9dd7a593773ebb6cbb5a975b4a05
Sphinx 4.x has renamed add_stylesheet to add_css_file and
add_javascript to add_js_file.
This patch updates the sphinx extensions in designate to use the
new methods.
Change-Id: I71baf9abb5566908da580d0c104831dea20c9d3c
This patchset adds support for DNS CERT Resource Record which is
described in RFC 4398
(https://tools.ietf.org/html/rfc4398)
Closes-Bug: 1937113
Change-Id: I0cdfa1decd28096b7135b820b01ee7ec17b1a57d
Replaced http api calls with openstack client commands.
Note blacklist exception policy for admin users.
Changed voicing to be more passive
Blacklists only apply to zones, not records.
Change-Id: I7f3662c57ee9bccb42381134523e8fdd21e93740
Add some basic documentation for users covering how to create zones.
Nameserver list is not in the client CLI, once that is
available an additional command can be added showing how to get
the backend nameserver to query when verifying results.
Change-Id: I914875cfd6273c01c74194c8a6296ae74537d169