use service aliases from plugin constants
Today neutron-lib defines the CORE and L3 service plugin aliases in neutron_lib.constants as well as neutron_lib.plugins.constants. The later is preferred and the former will be removed. This patch switches the code to use the plugin constants from neutron-lib. Change-Id: Ic41b180cb0e084f271d715d7433e22e1688c6498
This commit is contained in:
parent
fdb1b6c915
commit
e2989db7dc
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
import mock
|
import mock
|
||||||
from neutron.tests import base
|
from neutron.tests import base
|
||||||
from neutron_lib import constants
|
from neutron_lib.plugins import constants
|
||||||
|
|
||||||
from vmware_nsx.plugins.nsx_v.housekeeper import error_backup_edge
|
from vmware_nsx.plugins.nsx_v.housekeeper import error_backup_edge
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ import datetime
|
|||||||
|
|
||||||
import mock
|
import mock
|
||||||
from neutron.tests import base
|
from neutron.tests import base
|
||||||
from neutron_lib import constants
|
from neutron_lib.plugins import constants
|
||||||
|
|
||||||
from vmware_nsx.plugins.nsx_v.housekeeper import error_dhcp_edge
|
from vmware_nsx.plugins.nsx_v.housekeeper import error_dhcp_edge
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ from neutron.db import servicetype_db # noqa
|
|||||||
from neutron.quota import resource_registry
|
from neutron.quota import resource_registry
|
||||||
from neutron.tests import base
|
from neutron.tests import base
|
||||||
from neutron_lib.callbacks import registry
|
from neutron_lib.callbacks import registry
|
||||||
from neutron_lib import constants
|
from neutron_lib.plugins import constants
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import _options
|
from oslo_log import _options
|
||||||
from oslo_log import log as logging
|
from oslo_log import log as logging
|
||||||
|
Loading…
Reference in New Issue
Block a user