vmware-nsx/quantum/agent/linux
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
..
__init__.py Replace "OpenStack LLC" with "OpenStack Foundation" 2013-03-13 17:58:05 -04:00
daemon.py Change Daemon class to better match process command lines. 2013-05-13 08:58:02 +00:00
dhcp.py Fix DHCP agent to work with latest dnsmasq 2013-07-29 14:39:56 -07:00
external_process.py Use oslo-config-2013.1b3 2013-02-17 17:33:05 +00:00
interface.py Create veth peer in namespace. 2013-05-07 11:56:21 +00:00
ip_lib.py Create veth peer in namespace. 2013-05-07 11:56:21 +00:00
iptables_firewall.py defer firewall updates to iptables data structures 2013-08-04 14:31:58 +02:00
iptables_manager.py Ensure that lockfile are defined in a common place 2013-03-21 07:56:34 +00:00
ovs_lib.py Ensure that L3 managed port have status ACTIVE 2013-07-30 02:43:20 -07:00
utils.py LBaaS Agent Reference Implementation 2013-02-27 21:49:57 -05:00