summaryrefslogtreecommitdiff
path: root/designate/backend/agent_backend/impl_denominator.py
diff options
context:
space:
mode:
Diffstat (limited to 'designate/backend/agent_backend/impl_denominator.py')
-rw-r--r--designate/backend/agent_backend/impl_denominator.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/designate/backend/agent_backend/impl_denominator.py b/designate/backend/agent_backend/impl_denominator.py
index 76f110f9..8b06036e 100644
--- a/designate/backend/agent_backend/impl_denominator.py
+++ b/designate/backend/agent_backend/impl_denominator.py
@@ -14,6 +14,7 @@
# License for the specific language governing permissions and limitations
# under the License.
import itertools
+import warnings
import dns.rdata
import dns.rdataclass
@@ -92,6 +93,13 @@ class DenominatorBackend(base.AgentBackend):
def __init__(self, agent_service):
super(DenominatorBackend, 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)
+
self.denominator = Denominator(
cfg.CONF[CFG_GROUP_NAME])