vmware-nsx/vmware_nsx/services/trunk/nsx_v3
Boden R ec5370f099 use new payload objects for *_INIT callbacks
Part of the work we did while rehoming the callback modules introduced
the notion of payload objects [1] to replace the unstructured kwargs
used today. When using payloads event sources need to use publish()
rather than notify() to trigger the callback(s) and pass along a payload
object (if needed).

This patch begins to move us onto the payload objects by updating
BEFORE_INIT and AFTER_INIT event types to use the payloads.

Also see Ie8311f28ebac6c1990a261cc6cfa130fac0cfc5f

Depends-On: I9194c7857f10392149159071cda8e080e93adc10

[1] https://github.com/openstack/neutron-lib/blob/master/doc/source/devref/callbacks.rst#event-payloads

Change-Id: I3bdd5a0f4e142d1b9a59e2c110b19012ada78695
2017-09-25 07:44:52 +00:00
..
__init__.py NSXv3: Add support for trunk service driver 2016-09-11 04:03:12 -07:00
driver.py use new payload objects for *_INIT callbacks 2017-09-25 07:44:52 +00:00