vmware-nsx/neutron
Nachi Ueno 39b125fbe9 Improve l3-agent performance and prevent races in it.
Fixes bug 1194026
Fixes bug 1200749

Introduce a looping call for performing synchronization with
neutron server.
The sync will be performed only if router changes are notified
via rpc. Only affected routers will be synchronized.

Changes will be implemented by the l3 agent spawning a
distinct greenthread for each router - iptables will
be executed only once using iptables_manager.defer_apply_on.

This patch will prevent the occurence of the following issues:
- Out-of-order rpc message processing
- Long processing time for router changes due to serial execution
- Occasional and expected RPC blocks for long periods
- Unnecessary processing of multiple requests

Change-Id: I0978d1c38ac5c38c4548e5b1877857bb5cac3b81
2013-07-16 06:05:17 -07:00
..
agent Improve l3-agent performance and prevent races in it. 2013-07-16 06:05:17 -07:00
api Improve l3-agent performance and prevent races in it. 2013-07-16 06:05:17 -07:00
common Merge "Divide dhcp and l3 agent scheduling into separate extensions" 2013-07-09 07:26:52 +00:00
db Improve l3-agent performance and prevent races in it. 2013-07-16 06:05:17 -07:00
debug Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
extensions Merge "Allow router route update in XML." 2013-07-09 19:30:43 +00:00
locale Imported Translations from Transifex 2013-07-09 19:55:55 +00:00
openstack Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
plugins Merge "Improve DHCP agent performance" 2013-07-12 14:13:57 +00:00
rootwrap Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
scheduler Improve l3-agent performance and prevent races in it. 2013-07-16 06:05:17 -07:00
server Ensure that the neutron server is properly monkey patched 2013-07-09 14:08:21 -04:00
services Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
tests Improve l3-agent performance and prevent races in it. 2013-07-16 06:05:17 -07:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
auth.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
context.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
hooks.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
manager.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
neutron_plugin_base_v2.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
policy.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
quota.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
service.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
version.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
wsgi.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00