vmware-nsx/neutron
Carl Baldwin 855e5df1de Replace loopingcall in notifier with a delayed send
The loopingcall thread here was started before processes fork and so
the thread stops working after the fork call.  This is a problem that
will probably need to be worked out in the long run.

To ensure that this notifier works correctly in all processes, this
change replaces the persistent loopingcall thread with a thread
created on demand to delay and batch up notifications.  The first
notification will trigger spawning the thread to wait to send it.  Any
notifications that come in the meantime will notice that there is
already a thread waiting to send and will return without spawning.

Change-Id: I519d4e89b8cee341c0e1cfffbce3e77151e8202a
Closes-Bug: #1301035
2014-04-22 16:22:02 +00:00
..
agent Merge "Add support for https requests on nova metadata" 2014-04-22 01:23:43 +00:00
api Merge "Revert "Hide ipv6 subnet API attributes"" 2014-04-09 13:12:57 +00:00
cmd remove binaries under bin 2013-08-16 10:10:30 +08:00
common Add nova_ca_certificates_file option to neutron 2014-04-18 15:02:43 -05:00
db Merge "gw_port should be set as lazy='join'" 2014-04-22 03:09:31 +00:00
debug Merge "Remove last parts of Quantum compatibility shim" 2014-04-03 01:04:53 +00:00
extensions Merge "Register LBaaS resources to quotas engine" 2014-04-21 20:07:46 +00:00
locale Imported Translations from Transifex 2014-04-18 06:35:25 +00:00
notifiers Replace loopingcall in notifier with a delayed send 2014-04-22 16:22:02 +00:00
openstack Update ensure()/reconnect() to catch MessagingError 2014-04-10 21:03:50 +10:00
plugins Merge "ML2 Cisco Nexus MD: Improve Unit Test Coverage" 2014-04-22 03:09:21 +00:00
scheduler Reschedule router if new external gateway is on other network 2014-04-10 15:24:14 +04:00
server Adds multiple RPC worker processes to neutron server 2014-03-04 00:50:20 +00:00
services Support enhancements to Cisco CSR VPN REST APIs 2014-04-16 12:08:07 +00:00
tests Replace loopingcall in notifier with a delayed send 2014-04-22 16:22:02 +00:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
auth.py Return request-id in API response 2014-02-10 04:58:38 +09:00
context.py Stop logging unnecessary warning on context create 2013-11-28 09:17:18 +00:00
hooks.py Remove pyudev dependency 2014-02-25 14:28:35 +00:00
manager.py Merge "Remove last parts of Quantum compatibility shim" 2014-04-03 01:04:53 +00:00
neutron_plugin_base_v2.py Add support for multiple RPC workers under Metaplugin 2014-04-15 13:29:27 +09:00
policy.py Call policy.init() once per API request 2014-04-04 07:54:23 -07:00
quota.py Remove last parts of Quantum compatibility shim 2014-03-31 23:31:23 -07:00
service.py Add support for multiple RPC workers under Metaplugin 2014-04-15 13:29:27 +09:00
version.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
wsgi.py Allow combined certificate/key files for SSL 2014-04-13 09:22:23 +00:00