neutron/neutron/tests/unit/services/trunk
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
..
drivers Pass context and resource_type in RPC callback 2016-12-08 06:03:59 -08:00
rpc Adopt neutron-lib plugin directory 2016-11-23 04:45:33 -07:00
seg_types Revisit support for trunk segmentation types 2016-09-02 15:37:09 +00:00
__init__.py Data models for vlan-aware-vms 2016-04-24 19:41:54 -07:00
fakes.py Revisit support for trunk segmentation types 2016-09-02 15:37:09 +00:00
test_plugin.py Reuse plugin's update method for changing trunk status 2016-11-29 01:23:31 +00:00
test_rules.py Adopt neutron-lib plugin directory 2016-11-23 04:45:33 -07:00
test_utils.py Reduce DB hit when checking for trunk-able ports 2016-08-16 08:09:21 -07:00