neutron/neutron/services/auto_allocate
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
..
__init__.py Implement 'get-me-a-network' API building block 2016-02-08 18:06:35 -08:00
db.py use callback payloads for PRECOMMIT_UPDATE events 2018-07-20 08:30:29 +00:00
exceptions.py Ensure UnknownProvisioningError can be printed 2016-09-08 12:50:48 +00:00
models.py Switch to neutron-lib for model_base 2016-08-31 11:12:18 -04:00
plugin.py Make service plugins' get_plugin_type classmethods 2016-06-07 15:33:07 -05:00