OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have.
|6 days ago|
|.gitignore||2 years ago|
|.gitreview||6 days ago|
|.zuul.yaml||6 months ago|
|LICENSE||2 years ago|
|README.md||2 years ago|
|__init__.py||3 years ago|
|copyright||2 years ago|
|interface.yaml||5 months ago|
|provides.py||1 year ago|
|requires.py||1 year ago|
|test-requirements.txt||2 years ago|
|tox.ini||6 months ago|
This interface supports integration with BIND using RNDC keys.
No explicit handler is required to consume this interface in charms that consume this interface.
To consume this interface in your charm or layer, add the following to
and add a requires interface of type
bind-rndc to your charm or layers
requires: dns-backend: interface: bind-rndc
This state is set when a relation of type bind-rndc is detected, but the data may not have yet been presented by the providing charm.
This state is set when the providing application unit has set all required data items on the interface.
The interface provides implicit bindings for:
algorithm- RNDC algorithm to use.
rndckey- key to use to secure RNDC commands.
private_address- address of providing application unit.
@when('dns-backend.available') def sync_zones(bind_interface): sync_all_zones(bind_interface.private_address, bind_interface.algorithm, bind_interface.rndckey)
In this case,
sync_all_zones is a function provided by the consuming
Please report bugs on Launchpad.
For development questions please refer to the OpenStack Charm Guide.