Use CORE from neutron-lib
Make use of the constant from neutron-lib Change-Id: I2506339ff46141d6ab6ca6809ce4f09c419b65b3
This commit is contained in:
parent
f6c4e0ad10
commit
ea97820c1e
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user