use rpc from neutron-lib

We recently removed neutron.common.rpc [1] as the rpc module lives in
neutron-lib now. This project was missed because I didn't find
neutron.common.rpc as an import.
This patch switches rpc uses over to neutron-lib.
This patch also wraps in a needed update to lower-constraints.txt
(cannot merge separately, because both changes are needed to
unbreak the CI)
[1] https://review.openstack.org/#/c/634790/
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: I42fe0a9a05ead681fd2a579650218c6140e3bb3a
This commit is contained in:
Boden R
2019年02月11日 08:39:40 -07:00
committed by Thomas Morin
parent fdec45b953
commit a11d46e71a

View File

@@ -1,7 +1,7 @@
alabaster==0.7.10
alembic==0.8.10
amqp==2.1.1
appdirs==1.3.0
appdirs==1.4.3
asn1crypto==0.23.0
astroid==1.6.5
Babel==2.3.4

View File

@@ -66,7 +66,7 @@ class TestBagpipeCommon(test_plugin.BgpvpnTestCaseMixin):
self.mock_delete_rpc = self.mocked_rpc.delete_bgpvpn
mock.patch(
'neutron.common.rpc.get_client').start().return_value
'neutron_lib.rpc.get_client').start().return_value
if not plugin:
plugin = '%s.%s' % (__name__, TestCorePluginWithAgents.__name__)
Reference in New Issue
openstack/networking-bgpvpn
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.