neutron/neutron/tests/unit/extensions
Boden R 4bd2f0e8f7 shim neutron rpc with neutron-lib
The common rpc and exceptions were rehomed into
neutron-lib with [1]. This patch shims those rehomed
modules in neutron to switch over to neutron-lib's
versions under the covers.

To do so:
- The rpc and common exceptions are changed to
reference their counterpart in neutron-lib effectively
swapping the impl over to neutron-lib.
- The fake_notifier is removed from neutron and lib's
version is used instead.
- The rpc tests are removed; they live in lib now.
- A few unit test related changes are required
including changing mock.patch to mock.patch.object,
changing the mock checks for a few UTs as they don't
quite work the same with the shim in place.
- Using the RPC fixture from neutron-lib rather than
that setup in neutron's base test class.

With this shim in place, consumers are effectively using
neutron-lib's RPC plumbing and thus we can move consumers
over to neutron-lib's version at will. Once all
consumers are moved over we can come back and remove
the RPC logic from neutron and follow-up with a consumption
patch.

NeutronLibImpact

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

Change-Id: I87685be8764a152ac24366f13e190de9d4f6f8d8
2018-08-22 11:20:53 -06:00
..
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
base.py Fix _setUpExtension shim 2018-05-07 11:25:57 -05:00
extendedattribute.py Use ExtensionDescriptor from neutron-lib 2016-12-02 14:16:06 -05:00
extensionattribute.py Use ExtensionDescriptor from neutron-lib 2016-12-02 14:16:06 -05:00
foxinsocks.py Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00
test_address_scope.py cleanup unit test usage of api extension maps 2017-10-24 10:38:52 -06:00
test_agent.py cleanup unit test usage of api extension maps 2017-10-24 10:38:52 -06:00
test_availability_zone.py Adjust filters on listing availability zones 2018-06-29 19:15:29 +00:00
test_data_plane_status.py shim neutron rpc with neutron-lib 2018-08-22 11:20:53 -06:00
test_default_subnetpools.py use default subnetpool api def from lib 2017-10-20 14:44:10 -06:00
test_dns.py Fix all pep8 E129 errors 2018-05-03 13:44:04 +09:00
test_expose_port_forwarding_in_fip.py [server side] Expose port forwardings in FIP API 2018-07-27 17:25:10 +08:00
test_external_net.py use external net api def from lib 2017-10-30 11:16:33 -06:00
test_extra_dhcp_opt.py Fix W503 pep8 warnings 2018-04-17 14:22:58 +00:00
test_extraroute.py use l3 api def from neutron-lib 2017-12-15 07:03:14 -07:00
test_fip_port_details.py Use extension fip-port-details from neutron-lib 2018-05-07 15:01:58 +00:00
test_flavors.py shim _setUpExtension in prep to changing args 2018-05-01 09:41:22 -06:00
test_l3.py shim neutron rpc with neutron-lib 2018-08-22 11:20:53 -06:00
test_l3_ext_gw_mode.py use get reader/writer session from neutron-lib 2018-07-06 14:43:31 -06:00
test_network_ip_availability.py Merge "Add network ip availability filtered by project_id" 2017-10-19 08:39:28 +00:00
test_portsecurity.py use db utils from lib 2018-07-02 08:24:36 -06:00
test_providernet.py pecan.jsonify v1.3 adjustment 2018-04-18 15:37:20 +00:00
test_qos_fip.py [L3] Expunge context session during floating IP updating 2018-03-09 02:14:20 +00:00
test_quotasv2.py use core resource api defs from lib 2017-11-08 09:48:50 -07:00
test_quotasv2_detail.py use core resource api defs from lib 2017-11-08 09:48:50 -07:00
test_router_availability_zone.py use l3 api def from neutron-lib 2017-12-15 07:03:14 -07:00
test_securitygroup.py remove description API attr from securitygroup 2018-05-03 11:23:01 -06:00
test_segment.py Routed Networks - peer-subnet/segment host-routes (2/2) 2018-06-28 10:48:06 +02:00
test_servicetype.py test_servicetype: Service Type model to OVO 2018-04-12 10:19:15 +07:00
test_subnet_service_types.py Renamed subnet_service_type_db_models module 2018-04-12 15:41:08 -07:00
test_timestamp.py Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00
test_vlantransparent.py use vlantransparent api def from neutron-lib 2018-02-20 07:43:03 +00:00
v2attributes.py Use ExtensionDescriptor from neutron-lib 2016-12-02 14:16:06 -05:00