From ea97820c1e75546aad00e53cf41212f4eac96cee Mon Sep 17 00:00:00 2001 From: Gary Kotton Date: Mon, 26 Dec 2016 01:29:25 -0800 Subject: [PATCH] Use CORE from neutron-lib Make use of the constant from neutron-lib Change-Id: I2506339ff46141d6ab6ca6809ce4f09c419b65b3 --- vmware_nsx/services/lbaas/nsx_v/v2/base_mgr.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vmware_nsx/services/lbaas/nsx_v/v2/base_mgr.py b/vmware_nsx/services/lbaas/nsx_v/v2/base_mgr.py index bd94a5af21..5aa71b606a 100644 --- a/vmware_nsx/services/lbaas/nsx_v/v2/base_mgr.py +++ b/vmware_nsx/services/lbaas/nsx_v/v2/base_mgr.py @@ -14,6 +14,7 @@ # under the License. from neutron.plugins.common import constants +from neutron_lib import constants as lib_const from neutron_lib.plugins import directory @@ -42,7 +43,7 @@ class EdgeLoadbalancerBaseManager(object): def core_plugin(self): if not EdgeLoadbalancerBaseManager._core_plugin: EdgeLoadbalancerBaseManager._core_plugin = ( - self._get_plugin(constants.CORE)) + self._get_plugin(lib_const.CORE)) return EdgeLoadbalancerBaseManager._core_plugin