neutron/neutron/tests/unit/services/qos
Boden R 9235937098 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
(cherry picked from commit 537bfb9a1c)
2018-07-20 08:30:29 +00:00
..
drivers use qos constants from neutron-lib 2017-10-26 19:57:19 +00:00
__init__.py Handle qos_policy on network/port create/update 2015-07-19 08:33:04 +02:00
base.py Base on SqlTestCase to init db tables correctly 2015-08-28 07:57:48 +02:00
test_qos_plugin.py use callback payloads for PRECOMMIT_UPDATE events 2018-07-20 08:30:29 +00:00