summaryrefslogtreecommitdiff
path: root/designate/backend/agent_backend/impl_bind9.py
diff options
context:
space:
mode:
Diffstat (limited to 'designate/backend/agent_backend/impl_bind9.py')
-rw-r--r--designate/backend/agent_backend/impl_bind9.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/designate/backend/agent_backend/impl_bind9.py b/designate/backend/agent_backend/impl_bind9.py
index 3a5598be..f752ca07 100644
--- a/designate/backend/agent_backend/impl_bind9.py
+++ b/designate/backend/agent_backend/impl_bind9.py
@@ -14,6 +14,7 @@
# License for the specific language governing permissions and limitations
# under the License.
import os
+import warnings
import dns
import dns.resolver
@@ -33,6 +34,14 @@ class Bind9Backend(base.AgentBackend):
__plugin_name__ = 'bind9'
__backend_status__ = 'untested'
+ def __init__(self, agent_service):
+ super(Bind9Backend, self).__init__(agent_service)
+ warning_msg = ('The designate agent framework and backend driver "{}" '
+ 'are deprecated as of the Antelope (2023.1) release '
+ 'and will be removed in the "C" '
+ 'release.'.format(self.__plugin_name__))
+ warnings.warn(warning_msg, DeprecationWarning)
+
def start(self):
LOG.info("Started bind9 backend")