3756fc51e7
This change enforces the update of the zone masters for all zones that belongs to a particular pool, using the pool's defined target(s) masters and forcing a update_zone call. This change also, moves the backend base class update_zone method as an abstract method, allowing to each backend implementation to create its own update logic. For the case of bind9 its extended to allow running a rndc modzone with the new given masters for the zone fixing the behavior exposed on LP: #1879798. Fixes-Bug: #1879798 Change-Id: I9dddd4130a0cbb29311eeb52e077e216c8c03f3a Signed-off-by: Jorge Niedbalski <jorge.niedbalski@canonical.com> |
||
---|---|---|
.. | ||
agent | ||
api | ||
backend | ||
mdns | ||
metrics | ||
network_api | ||
notification_handler | ||
objects | ||
producer | ||
scheduler | ||
sink | ||
test_central | ||
workers | ||
README | ||
__init__.py | ||
test_conf.py | ||
test_context.py | ||
test_dnsutils.py | ||
test_heartbeat_emitter.py | ||
test_upgrade_checks.py | ||
test_utils.py | ||
utils.py |
README
This directory contains pure unit tests. Examples: tox -e py27 -- tests.unit tox -e py37 -- tests.unit.backend