neutron/neutron/tests/unit/agent/l2
Kevin Benton cf6ffb78f6 Pass context and resource_type in RPC callback
Maintaining the context is important for keeping the request ID
and subsequently operator/developer sanity while debugging.
The resource_type is also helpful to have since a function could be
subscribed for multiple resources.

This maintains and deprecates the existing 'subscribe' method for
backwards compatibility with callbacks that don't support receiving
the context and resource type. A new 'register' method is added
for callbacks to use that are compatible with receiving the context.

Change-Id: I06c8302951c99039b532acd9f2a68d5b989fdab5
2016-12-08 06:03:59 -08:00
..
extensions Pass context and resource_type in RPC callback 2016-12-08 06:03:59 -08:00
__init__.py Remove unnecessary executable permissions 2016-03-25 01:49:26 +00:00
test_l2_agent_extensions_manager.py Generalize agent extension mechanism 2016-07-19 13:45:22 +00:00