Use CORE from neutron-lib

Make use of the constant from neutron-lib

Change-Id: I2506339ff46141d6ab6ca6809ce4f09c419b65b3
This commit is contained in:
Gary Kotton 2016-12-26 01:29:25 -08:00
parent f6c4e0ad10
commit ea97820c1e

View File

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