neutron/neutron
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
..
agent Merge "Revert "Do not start conntrack worker thread from __init__"" 2018-03-13 00:12:53 +00:00
api use is_extension_supported from neutron-lib 2018-03-12 09:28:52 -06:00
cmd More efficiently clean up OVS ports 2018-01-22 14:07:42 -06:00
common Merge "use is_extension_supported from neutron-lib" 2018-03-13 13:39:23 +00:00
conf use DVR constants from neutron-lib 2018-02-23 09:17:02 -07:00
core_extensions use qos constants from neutron-lib 2017-10-26 19:57:19 +00:00
db use callback payloads for PRECOMMIT_UPDATE events 2018-03-13 11:38:19 -06:00
debug Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
extensions Merge "use revision if match api def from neutron-lib" 2018-03-08 11:13:10 +00:00
hacking hacking: Remove dead code 2017-07-19 13:43:44 +02:00
ipam Always pass device_owner to _ipam_get_subnets() 2018-02-12 15:38:24 -05:00
locale Imported Translations from Zanata 2018-03-03 06:08:46 +00:00
notifiers use callback payloads for REQUEST/RESPONSE events 2017-12-24 07:27:11 +00:00
objects Merge "Ensure _get_changed_synthetic_fields() return updatable fields" 2018-03-12 07:59:41 +00:00
pecan_wsgi consume neutron-lib resources attr map 2018-03-09 13:37:28 -07:00
plugins use callback payloads for PRECOMMIT_UPDATE events 2018-03-13 11:38:19 -06:00
privileged Switch ip addr add/del/flush commands to use pyroute2 2018-03-09 23:09:25 +01:00
quota CountableResource: try count/get functions for all plugins 2017-09-08 10:50:12 -07:00
scheduler Merge "use l3 api def from neutron-lib" 2017-12-16 13:01:14 +00:00
server Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
services use callback payloads for PRECOMMIT_UPDATE events 2018-03-13 11:38:19 -06:00
tests use callback payloads for PRECOMMIT_UPDATE events 2018-03-13 11:38:19 -06:00
__init__.py Hacking rule to check i18n usage 2016-03-30 21:28:37 -04:00
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py Merge "Remove deprecated cache_url" 2018-01-03 06:35:59 +00:00
policy.py consume neutron-lib resources attr map 2018-03-09 13:37:28 -07:00
service.py use callback payloads for _SPAWN events 2017-12-21 11:03:36 -07:00
version.py
worker.py replace WorkerSupportServiceMixin with neutron-lib's WorkerBase 2017-06-14 06:56:48 -06:00
wsgi.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00