6ec3f915af
Add a new backend plugin (backend-split-horizon-bind9) that configures two BIND9 instances with split-horizon views, enabling replication across pools and BINDs: - Default pool: "default" view on both BINDs, no TSIG key - Split-horizon pool: dedicated TSIG-protected view on both BINDs The plugin creates the TSIG key, registers it with Designate, and embeds the tsigkey_id in pools.yaml so the association survives designate-manage pool update cycles. Depends-On: https://review.opendev.org/c/openstack/designate/+/983922 Depends-On: https://review.opendev.org/c/openstack/designate/+/983923 Assisted-by: cursor/claude-4.6-opus-high Partial-Bug: #2142614 Change-Id: Ia3a23f0ebe7e465cd39555ee52c725c15e685d08 Signed-off-by: Abhiram R N <abhiramrn@gmail.com>
Enabling in Devstack
WARNING: the stack.sh script must be run in a disposable VM that is not being created automatically, see the README.md file in the "devstack" repository. See contrib/vagrant to create a vagrant VM.
Download DevStack:
git clone https://opendev.org/openstack/devstack.git cd devstackAdd this repo as an external repository:
> cat local.conf [[local|localrc]] enable_plugin designate https://opendev.org/openstack/designateNote: Running with a multipool or split-horizon option: Perform the above step, and in addition set the backend driver and scheduler filters:
SCHEDULER_FILTERS=attribute,pool_id_attribute,in_doubt_default_poolFor multipool (two separate BIND instances):
DESIGNATE_BACKEND_DRIVER=multipool-bind9For split-horizon (two BIND instances with TSIG-based views):
DESIGNATE_BACKEND_DRIVER=split-horizon-bind9run
stack.sh
