summaryrefslogtreecommitdiff
path: root/designate/backend/agent_backend/impl_msdns.py
diff options
context:
space:
mode:
Diffstat (limited to 'designate/backend/agent_backend/impl_msdns.py')
-rw-r--r--designate/backend/agent_backend/impl_msdns.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/designate/backend/agent_backend/impl_msdns.py b/designate/backend/agent_backend/impl_msdns.py
index 182f2d3c..ae397931 100644
--- a/designate/backend/agent_backend/impl_msdns.py
+++ b/designate/backend/agent_backend/impl_msdns.py
@@ -14,6 +14,7 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
+import warnings
from os_win import constants
from os_win import exceptions as os_win_exc
@@ -36,6 +37,12 @@ class MSDNSBackend(base.AgentBackend):
"""Configure the backend"""
super(MSDNSBackend, 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._dnsutils = utilsfactory.get_dnsutils()
masters = cfg.CONF['service:agent'].masters