Browse Source

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
Boden R 2 months ago
parent
commit
a11d46e71a

+ 1
- 1
lower-constraints.txt View File

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

+ 1
- 1
networking_bgpvpn/tests/unit/services/bagpipe/test_bagpipe.py View File

@@ -66,7 +66,7 @@ class TestBagpipeCommon(test_plugin.BgpvpnTestCaseMixin):
66 66
         self.mock_delete_rpc = self.mocked_rpc.delete_bgpvpn
67 67
 
68 68
         mock.patch(
69
-            'neutron.common.rpc.get_client').start().return_value
69
+            'neutron_lib.rpc.get_client').start().return_value
70 70
 
71 71
         if not plugin:
72 72
             plugin = '%s.%s' % (__name__, TestCorePluginWithAgents.__name__)

Loading…
Cancel
Save