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: Ic6849eb2282ed39193a46421a6079d3dcb918442
This commit is contained in:
Boden R 2018-09-26 10:02:21 -06:00
parent 331f1b508d
commit 51251b54a7
3 changed files with 3 additions and 3 deletions

View File

@ -16,8 +16,8 @@
import sys
from neutron.common import config as common_config
from neutron.common import rpc as n_rpc
from neutron.conf.agent import common as config
from neutron_lib import rpc as n_rpc
from oslo_config import cfg
from oslo_log import log as logging
from oslo_service import service

View File

@ -13,7 +13,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from neutron.common import rpc as n_rpc
from neutron_lib import rpc as n_rpc
import oslo_messaging

View File

@ -12,11 +12,11 @@
# License for the specific language governing permissions and limitations
# under the License.
from neutron.common import rpc as n_rpc
from neutron.db import agents_db
from neutron.db import common_db_mixin
from neutron.services import provider_configuration as provconf
from neutron_lib import exceptions as n_exc
from neutron_lib import rpc as n_rpc
from oslo_config import cfg
import oslo_messaging as messaging
from oslo_utils import importutils