This implementation replaces the existing Infoblox driver,
and is based on the official Infoblox Python client.
The following new configuring options are now available.
- wapi_host, wapi_version, cert and key
The original wapi_url option still works, but can now be
alternatively replaced by wapi_host and wapi_version.
Finally, the deprecated configuration options for designate.conf
was removed, and all Infoblox configuration now happens in the pools
configuration.
Depends-On: https://review.opendev.org/c/openstack/requirements/+/905764
Change-Id: I35e03b9818851487686153bc68ad90c081e61966
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
If you delete a zone using the Infoblox backend
the zone will be deleted from Infoblox but the
zone within OpenStack will go into an ERROR state
unless an operator manually logs into Infoblox
and issues a reload of the running configuration.
This commit fixes this bug by issuing a 'restart
if needed' after deleting the zone. This does not
happen when creating zones as 'restart if needed'
can be passed through as a param into that API call.
Co-Authored-By: Jay Faulkner <jay@jvf.cc>
Change-Id: I296c5f085cce27033461be81ca58c85f095df89a
Closes-Bug: #1840253
Adds a second comparison check when deciding whether to display the single
tenant view or multi-tenant view in Infoblox. The issue is that the DB field
is set to '0', which is not interpreted as false.
Change-Id: Id0fac71cc6d82123a7ee5d5983467acd1b8e5a9e
Closes-Bug: 1752349
Zone creation with reverse lookup fails with infoblox as backend server.
currently it is handled for default zone_format i.e 'FORWARD' and it is
not handled for 'IPV4' and 'IPV6'. This patch handles the IPV4 and IPV6
formats along with default one.
Change-Id: Iad44842fc1e3e691268182514e14a6d0f60fdc1d
Closes-Bug: #1628057
Reference: https://ipam.illinois.edu/wapidoc/objects/zone_forward.html#zone-format
oslo.log provides more features and is a fundamental recommended
library to use.
Also the library oslo.log provides compatibility for log levels,
logging namespace is not needed.
Change-Id: I5636cdf3f804d4f811bd05add3fb42c0beea58a2
Add a backend for integrating with Infoblox grids. Infoblox will
serve as a secondary for Designate-controlled zones.
Implements: blueprint infoblox-backend
Change-Id: Ic6cd00850442c7b31ca5034f1306d37e69991014