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
This commit is contained in:
Gary Kotton 2016-09-15 00:49:48 -07:00
parent eb8d2c313a
commit fe00668c2e

View File

@ -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