neutron/neutron/tests/unit/services
Boden R 537bfb9a1c use callback payloads for PRECOMMIT_UPDATE events
This patch switches callbacks over to the payload object style events
[1] for PRECOMMIT_UPDATE based notifications. To do so a DBEventPayload
object is used with the publish() method to pass along the related data.
In addition a few UTs are updated to work with the changes. Finally
a few shims are put into place to allow PRECOMMIT_UPDATE based events to
use payloads while still supporting the existing kwarg style events.

NeutronLibImpact

[1] https://docs.openstack.org/neutron-lib/latest/contributor/callbacks.html#event-payloads

Change-Id: Ie6d27df01cd7b87894efc80946d41eb1ebe25bef
2018-03-13 11:38:19 -06:00
..
auto_allocate Add test cases for external network default 2018-02-09 16:55:39 +00:00
l3_router use callback payloads for PRECOMMIT_UPDATE events 2018-03-13 11:38:19 -06:00
logapi Make log extension more generic 2018-03-08 16:58:01 +07:00
metering test_metering_plugin: convert from Agent model to OVO 2017-12-11 16:45:34 +07:00
qos use callback payloads for PRECOMMIT_UPDATE events 2018-03-13 11:38:19 -06:00
revisions Merge "Switch to Pecan for unit tests" 2017-09-14 15:14:44 +00:00
trunk use callback payloads for PRECOMMIT_UPDATE events 2018-03-13 11:38:19 -06:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_provider_configuration.py use plugin constants from neutron-lib 2017-10-16 09:32:20 -06:00