Browse Source

use common rpc and exceptions from neutron-lib

The neutron.common.rpc and exceptions were rehomed into neutron-lib and
are currently shimmed in neutron [1]

This patch consumes those modules from neutron-lib by using lib's
modules rather than neutrons.

[1] https://review.openstack.org/#/c/586525/

Change-Id: I42f40a2c0688236cc16e6719d073ca6506f7f7c7
Boden R 6 months ago
parent
commit
18713b286d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      networking_bigswitch/plugins/bigswitch/plugin.py

+ 1
- 1
networking_bigswitch/plugins/bigswitch/plugin.py View File

@@ -59,7 +59,6 @@ from neutron.api.rpc.agentnotifiers import dhcp_rpc_agent_api
59 59
 from neutron.api.rpc.handlers import dhcp_rpc
60 60
 from neutron.api.rpc.handlers import metadata_rpc
61 61
 from neutron.api.rpc.handlers import securitygroups_rpc
62
-from neutron.common import rpc as n_rpc
63 62
 from neutron.db import agents_db
64 63
 from neutron.db import agentschedulers_db
65 64
 from neutron.db import allowedaddresspairs_db as addr_pair_db
@@ -84,6 +83,7 @@ from neutron_lib.db import api as lib_db_api
84 83
 from neutron_lib import exceptions as lib_exceptions
85 84
 from neutron_lib.plugins import constants as plugin_constants
86 85
 from neutron_lib.plugins import directory
86
+from neutron_lib import rpc as n_rpc
87 87
 from neutron_lib.utils import runtime
88 88
 
89 89
 from networking_bigswitch.plugins.bigswitch import config as pl_config

Loading…
Cancel
Save