neutron-vpnaas/neutron/agent/linux
Peter Feiner e31c9fd3fe 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.

Change-Id: If17eeaec197beae8b8aecffca1f19d4535a7226e
2013-07-29 14:23:19 +00:00
..
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
daemon.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
dhcp.py Merge "Fix DHCP agent to work with latest dnsmasq" 2013-07-24 19:41:08 +00:00
external_process.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
interface.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
ip_lib.py Import Oslo's common rootwrap to Neutron 2013-07-08 18:25:44 +02:00
iptables_firewall.py defer firewall updates to iptables data structures 2013-07-29 14:23:19 +00:00
iptables_manager.py Preserve packet:byte counts in iptables_manager. 2013-07-08 12:41:21 -04:00
ovs_lib.py Ensure that L3 managed port have status ACTIVE 2013-07-25 12:27:42 -07:00
utils.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00