Merge "use plugin constants from neutron-lib"

This commit is contained in:
Jenkins 2017-07-03 15:38:22 +00:00 committed by Gerrit Code Review
commit 0c8917ca8f
1 changed files with 2 additions and 2 deletions

View File

@ -17,12 +17,12 @@ from neutron_lib.plugins import directory
from neutron.common import rpc as n_rpc
from neutron_lib import constants as nl_constants
from neutron_lib.plugins import constants as plugin_const
from oslo_config import cfg
from oslo_log import log as logging
import oslo_messaging
from neutron.db import servicetype_db as st_db
from neutron.plugins.common import constants
from neutron.services import provider_configuration as provider_conf
from neutron_fwaas._i18n import _LI
@ -160,7 +160,7 @@ class FirewallPluginV2(
"""Do the initialization for the firewall service plugin here."""
self.service_type_manager = st_db.ServiceTypeManager.get_instance()
add_provider_configuration(
self.service_type_manager, constants.FIREWALL)
self.service_type_manager, plugin_const.FIREWALL)
self.start_rpc_listeners()
self.agent_rpc = FirewallAgentApi(