neutron/neutron/tests/functional/pecan_wsgi
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 Use addCleanup instead of tearDown 2017-02-02 22:07:26 +01:00
config.py Rename 'newapi' to 'pecan_wsgi' 2015-09-02 15:53:34 +00:00
test_controllers.py [Pecan] Fix custom tenant_id project_id matching 2017-04-21 18:15:24 -05:00
test_functional.py Spin off context module 2017-03-06 16:25:29 +00:00
test_hooks.py use neutron-lib callbacks 2017-04-26 12:12:53 -06:00
utils.py Use ExtensionDescriptor from neutron-lib 2016-12-02 14:16:06 -05:00