vmware-nsx/quantum/agent
Peter Feiner b606ee1da8 defer firewall updates to iptables data structures
One of two patches that fixes bug #1194438.

In the iptables firewall driver, each port method (update_port_filter,
prepare_port_filter, remove_port_filter) makes O(N) calls, where
N=len(firewall.ports), to IptablesManager methods that update dozens
of data structures. When the firewall methods are called in sequence,
e.g., by SecurityGroupAgentRpcMixin, the calls to IptablesManager's
methods start to add up.

This patch changes IptablesFirewallDriver to defer and coalesce calls
to IptablesManager. Now a sequence of M port method calls results in
O(N) calls to IptablesManager methods instead of O(N*M) as before.

Conflicts:
	quantum/agent/linux/iptables_firewall.py

Change-Id: If17eeaec197beae8b8aecffca1f19d4535a7226e
(cherry picked from commit e31c9fd3fe)
2013-08-04 14:31:58 +02:00
..
common Improve the deprecated message about DEFAULT.root_helper 2013-04-21 17:59:06 +00:00
linux defer firewall updates to iptables data structures 2013-08-04 14:31:58 +02:00
metadata Change Daemon class to better match process command lines. 2013-05-13 08:58:02 +00:00
__init__.py Replace "OpenStack LLC" with "OpenStack Foundation" 2013-03-13 15:06:24 -04:00
dhcp_agent.py Ensure that the report state is not a blocking call 2013-06-29 05:33:21 +00:00
firewall.py Rename source_(group_id/ip_prefix) to remote_(group_id/ip_prefix) 2013-03-05 00:24:36 -08:00
l3_agent.py Ensure that the report state is not a blocking call 2013-06-29 05:33:21 +00:00
netns_cleanup_util.py Enable quantum-netns-cleanup to receive force as cli parameter 2013-05-21 11:12:18 +00:00
ovs_cleanup_util.py Replace "OpenStack LLC" with "OpenStack Foundation" 2013-03-13 15:06:24 -04:00
rpc.py Ensure that the report state is not a blocking call 2013-06-29 05:33:21 +00:00
securitygroups_rpc.py Disable secgroup extension when Noop Firewall driver is used 2013-03-08 08:32:20 +00:00