From fe00668c2eabd12688ecf648ee3ea2a5d3b1ccef Mon Sep 17 00:00:00 2001 From: Gary Kotton Date: Thu, 15 Sep 2016 00:49:48 -0700 Subject: [PATCH] NSX|MH: add in deprecation warning Added in a deprecation warning for the plugin. This may be removed in the O or P cycle. Change-Id: Id6824a828b0dc618834b027ce72c0aaf909167e0 --- vmware_nsx/plugins/nsx_mh/plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vmware_nsx/plugins/nsx_mh/plugin.py b/vmware_nsx/plugins/nsx_mh/plugin.py index b8bc5fbac4..0355105db8 100644 --- a/vmware_nsx/plugins/nsx_mh/plugin.py +++ b/vmware_nsx/plugins/nsx_mh/plugin.py @@ -146,6 +146,8 @@ class NsxPluginV2(addr_pair_db.AllowedAddressPairsMixin, router=l3_db.Router, floatingip=l3_db.FloatingIP) def __init__(self): + LOG.warning(_LW("The NSX-MH plugin is deprecated and may be removed " + "in the O or the P cycle")) super(NsxPluginV2, self).__init__() # TODO(salv-orlando): Replace These dicts with # collections.defaultdict for better handling of default values