neutron/neutron/tests/unit/extensions
Boden R 0e2b667bf1 use neutron-lib callbacks
The callback modules have been available in neutron-lib since commit [1]
and are ready for consumption.

As the callback registry is implemented with a singleton manager
instance, sync complications can arise ensuring all consumers switch to
lib's implementation at the same time. Therefore this consumption has
been broken down:
1) Shim neutron's callbacks using lib's callback system and remove
existing neutron internals related to callbacks (devref, UTs, etc.).
2) Switch all neutron's callback imports over to neutron-lib's.
3) Have all sub-projects using callbacks move their imports over to use
neutron-lib's callbacks implementation.
4) Remove the callback shims in neutron-lib once sub-projects are moved
over to lib's callbacks.
5) Follow-on patches moving our existing uses of callbacks to the new
event payload model provided by neutron-lib.callback.events

This patch implements #2 from above, moving all neutron's callback
imports to use neutron-lib's callbacks.

There are also a few places in the UT code that still patch callbacks,
we can address those in step #4 which may need [2].

NeutronLibImpact

[1] fea8bb64ba7ff52632c2bd3e3298eaedf623ee4f
[2] I9966c90e3f90552b41ed84a68b19f3e540426432

Change-Id: I8dae56f0f5c009bdf3e8ebfa1b360756216ab886
2017-04-26 12:12:53 -06:00
..
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
base.py ExtensionTestCase: register correct core plugin 2017-03-28 02:46:45 +00: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 Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
test_address_scope.py use neutron-lib callbacks 2017-04-26 12:12:53 -06:00
test_agent.py Spin off context module 2017-03-06 16:25:29 +00:00
test_availability_zone.py Spin off context module 2017-03-06 16:25:29 +00:00
test_data_plane_status.py Eliminate lookup of "resource extend" funcs by name 2017-04-21 14:48:42 -04:00
test_default_subnetpools.py Fix call a method of extension class 2017-03-30 16:37:23 +09:00
test_dns.py Fix call a method of extension class 2017-03-30 16:37:23 +09:00
test_external_net.py Eliminate lookup of model query hooks by name 2017-04-16 10:33:36 -04:00
test_extra_dhcp_opt.py Fix params order in assertEqual 2016-02-03 11:54:29 +05:30
test_extraroute.py Spin off context module 2017-03-06 16:25:29 +00:00
test_flavors.py Spin off context module 2017-03-06 16:25:29 +00:00
test_l3.py use neutron-lib callbacks 2017-04-26 12:12:53 -06:00
test_l3_ext_gw_mode.py Fix relationship event handler for flushes and nested 2017-03-30 01:26:40 -07:00
test_network_ip_availability.py Implement '-F' option for 'net-ip-availability-*' command respond 2017-04-15 20:39:48 -07:00
test_portsecurity.py New enginefacade for ports and sg groups 2017-04-10 07:40:43 +00:00
test_providernet.py Merge "Fix call a method of extension class" 2017-04-02 03:26:12 +00:00
test_quotasv2.py Decouple tests from default quota size option values 2017-03-07 19:35:51 +00:00
test_router_availability_zone.py Replace six.iteritems with dict.items(Part-1) 2017-04-17 14:08:47 +08:00
test_securitygroup.py Merge "Replace six.iteritems with dict.items(Part-1)" 2017-04-17 15:16:58 +00:00
test_segment.py use neutron-lib callbacks 2017-04-26 12:12:53 -06:00
test_servicetype.py Spin off context module 2017-03-06 16:25:29 +00:00
test_subnet_service_types.py Eliminate lookup of "resource extend" funcs by name 2017-04-21 14:48:42 -04:00
test_tag.py Enhance tag mechanism 2017-02-04 11:07:04 +09:00
test_timestamp.py OVO for Tag 2017-03-07 23:06:00 +00:00
test_vlantransparent.py Replace six.iteritems with dict.items(Part-1) 2017-04-17 14:08:47 +08:00
v2attributes.py Use ExtensionDescriptor from neutron-lib 2016-12-02 14:16:06 -05:00