neutron/neutron/api
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
..
rpc Pass context and resource_type in RPC callback 2016-12-08 06:03:59 -08:00
v2 Merge "Remove allow_pagination and allow_sorting config options" 2016-12-02 16:01:48 +00:00
views Added trailing slash in link to Networking API v2.0 2016-10-12 16:48:09 +03:00
__init__.py Added API extensions to detect sorting/pagination features 2016-08-01 22:57:15 +02:00
api_common.py Remove deprecated class NeutronController 2016-09-21 09:57:16 +00:00
extensions.py Merge "Use ExtensionDescriptor from neutron-lib" 2016-12-06 02:04:42 +00:00
versions.py Pecan: Allow unauthenticated version listing 2016-03-11 16:45:28 -08:00