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:
Boden R 2018-01-05 14:45:44 -07:00
parent fdb1b6c915
commit e2989db7dc
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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