neutron/neutron/tests/unit
Rawlin Peters 6877b47105 Add notifications for trunk CRUD and standardize payload
Registry notifications should be added for trunk create/update/delete,
and SDN controllers as subscribers will need more callbacks as PRECOMMIT
events.

A standardized notification payload will consist of the following:
- context
- trunk_id
- current_trunk
- original_trunk
- subports

This standardized payload will be used in all trunk-related
notifications (trunk create/update/delete and subport add/remove) and
represents the maximum possible amount of information that can be given
in order to future-proof them.

As a bug fix, AFTER_REMOVE event on subport shouldn't be called
during the db transaction, but after the db commit.

Partially-implements: blueprint vlan-aware-vms
Change-Id: Ic1f44fa53cf9f10bd029ea47824e8ba91a8ab485
Co-Authored-By: Isaku Yamahata <isaku.yamahata@intel.com>
2016-07-26 10:24:57 -06:00
..
agent Merge "Removed invalid test due to invalid mocking" 2016-07-25 22:04:37 +00:00
api delete event payload 2016-07-13 23:48:59 +05:30
callbacks Separate exception class for retriables in callbacks 2016-06-22 23:03:09 +00:00
cmd enable OVSDB native interface by default 2016-06-25 10:43:12 +03:00
common Merge "cache_utils: fixed cache misses for the new (oslo.cache) configuration" 2016-07-14 11:39:39 +00:00
core_extensions Respond negatively to tenant detachment of enforced QoS policies 2016-05-16 21:54:15 +00:00
db Merge "Mark DBConnectionError as retriable" 2016-07-24 08:55:45 +00:00
debug tests: stop validating neutronclient in neutron-debug tests 2016-01-14 06:46:45 +00:00
extensions Merge "Fixes port device_id/device_owner change in failed operation" 2016-07-22 23:07:48 +00:00
hacking Add a hacking rule for string interpolation at logging 2016-07-11 22:54:56 +00:00
ipam Replace device owners hard coded strings to neutron_lib constants 2016-07-12 04:11:35 -04:00
notifiers Merge "Notify nova with network-vif-plugged in case of live migration" 2016-07-25 21:54:55 +00:00
objects objects: Add update_fields method in base class. 2016-07-25 14:51:30 +02:00
plugins Merge "Notify nova with network-vif-plugged in case of live migration" 2016-07-25 21:54:55 +00:00
quota Fix module's import order 2016-01-22 06:38:42 -08:00
scheduler Merge "Check compatibility when auto schedule ha routers" 2016-07-20 17:44:03 +00:00
services Add notifications for trunk CRUD and standardize payload 2016-07-26 10:24:57 -06:00
tests Use neutron-lib constants 2016-06-13 14:02:35 +00:00
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
_test_extension_portbindings.py Fix module's import order 2016-01-22 06:38:42 -08:00
dummy_plugin.py Make service plugins' get_plugin_type classmethods 2016-06-07 15:33:07 -05:00
extension_stubs.py Add a description field to all standard resources 2016-03-05 02:29:35 +00:00
test_auth.py Fix params order in assertEqual 2016-01-13 18:24:04 +05:30
test_context.py Support Unicode request_id on Python 3 2015-11-27 16:21:16 +01:00
test_manager.py Add the ability to load a set of service plugins on startup 2016-02-10 10:04:15 -06:00
test_opts.py Fix the sriov agent config group name 2016-05-05 16:16:08 +08:00
test_policy.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
test_service.py Refactor TestRpcWorker and TestWorkerService 2015-06-16 15:49:48 +03:00
test_wsgi.py Use exceptions from neutron-lib 2016-04-21 21:29:44 -04:00
testlib_api.py New engine facade from oslo_db: Step 2 2016-07-06 16:32:43 +03:00