neutron/neutron/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 use callback payloads for PRECOMMIT_UPDATE events 2018-03-13 11:38:19 -06:00
externaldns use dns api def from neutron-lib 2017-10-20 16:38:33 -06:00
flavors use plugin constants from neutron-lib 2017-10-16 09:32:20 -06: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
loki Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
metering Fix meter-label-rule creation 2017-12-03 09:20:53 +00:00
network_ip_availability Fix file permissions 2017-05-31 20:49:01 +00:00
qos use callback payloads for PRECOMMIT_UPDATE events 2018-03-13 11:38:19 -06:00
rbac Neutron RBAC API and network support 2015-08-20 20:00:17 -07:00
revisions Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
segments Add retry decorator update_segment_host_mapping() 2018-01-18 13:16:16 +01:00
tag Revert "remove tag and tag_ext extensions" 2018-02-14 06:32:30 +00:00
timestamp Make code follow log translation guideline 2017-08-14 02:01:48 +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
provider_configuration.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
service_base.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00