neutron/neutron/tests
Armando Migliaccio 877778ee4c Move DHCP notification logic out of API controller
Bug 1591766 unveiled an issue where calling the plugin API does not trigger
DHCP notifications. This is required by the auto-allocated-topology service
plugin that calls core_plugin.update_network(), and expect notifications
to be sent out on state changes. To accomplish this, the logic has been
encapsulated in the DHCP module, and leveraged via callback mechanisms.

For this reason, new events have been introduced, AFTER_REQUEST, and
BEFORE_RESPONSE. The latter in particular is the one needed to hook up
dhcp notifications in order to preserve backward compatibility.

More precisely, core plugins that use DHCP as is or implement their own,
(with or without an agent) should already instantiate their own notifier,
and if they do not, this should be rectified.

A search on codesearch.openstack.org reveals that out-of-tree plugins
already specify their own notifiers, and the default initialization is
clearly redundant now.

Related-bug: #1591766

Change-Id: I7440becb6d30af7159ecaeba09d7a28eceb71bea
2016-06-24 00:41:20 -07:00
..
common Merge "QoS DSCP fullstack tests" 2016-06-15 16:14:57 +00:00
contrib tests: validate sorting and pagination for networks 2016-05-24 09:17:25 +00:00
etc Merge "Adopt to config_dir option being a list and not a string" 2016-05-27 13:05:28 +00:00
fullstack Fix pep8 violations in fullstack qos test 2016-06-16 12:45:41 +02:00
functional Make pep8 job great again 2016-06-21 16:23:51 +00:00
retargetable Use exceptions from neutron-lib 2016-04-21 21:29:44 -04:00
tempest Make pep8 job great again 2016-06-21 16:23:51 +00:00
unit Move DHCP notification logic out of API controller 2016-06-24 00:41:20 -07:00
var Allow combined certificate/key files for SSL 2014-04-13 09:22:23 +00:00
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Revert "Revert "Remove threading before process forking"" 2016-06-02 21:26:08 +00:00
fake_notifier.py Pass serializer to oslo.messaging Notifier 2014-06-20 14:58:28 +02:00
post_mortem_debug.py Cleanup recent generalization in post mortem debugger 2014-12-04 15:28:11 +01:00
tools.py Make pep8 job great again 2016-06-21 16:23:51 +00:00