neutron/neutron/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 AgentExtensionsManager and AgentCoreResourceExtension 2015-07-02 13:51:34 +00:00
agent_extension.py Generalize agent extension mechanism 2016-07-19 13:45:22 +00:00
l2_agent_extension.py Generalize agent extension mechanism 2016-07-19 13:45:22 +00:00
l2_agent_extensions_manager.py Refactoring config options for l2 agent ext opts 2016-11-21 19:45:04 +00:00