diff options
Diffstat (limited to 'designate/backend/agent_backend/impl_gdnsd.py')
-rw-r--r-- | designate/backend/agent_backend/impl_gdnsd.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/designate/backend/agent_backend/impl_gdnsd.py b/designate/backend/agent_backend/impl_gdnsd.py index 134dd15a..8a4215c2 100644 --- a/designate/backend/agent_backend/impl_gdnsd.py +++ b/designate/backend/agent_backend/impl_gdnsd.py @@ -42,6 +42,7 @@ import errno import os import string import tempfile +import warnings import dns import dns.resolver @@ -85,6 +86,12 @@ class GdnsdBackend(base.AgentBackend): """Configure the backend""" super(GdnsdBackend, self).__init__(*a, **kw) + 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) + self._gdnsd_cmd_name = cfg.CONF[CFG_GROUP_NAME].gdnsd_cmd_name LOG.info("gdnsd command: %r", self._gdnsd_cmd_name) self._confdir_path = cfg.CONF[CFG_GROUP_NAME].confdir_path |