vmware-nsx/neutron/agent
Sudhakar 2175c85d83 Improve iptables_manager _modify_rules() method
As the number of ports per default security group increases, the
number of iptables entries on the Compute Node grows.  Because of
this, there is a gradual increase in the time taken to apply chains
and rules.

Currently we are using list comprehensions to find if a new chain or
rule matches an existing one.  Instead, walk through the list in
reverse to find a matching entry.

Added a new method, _find_last_entry(), to return the entry we are
searching for.

Change-Id: I3585479ffa00be556b8b21dc9dbd6b36ad37f4de
Closes-Bug: #1302272
Related-Bug: #1253993
2014-06-02 16:24:56 -04:00
..
common Change report_interval from 4 to 30, agent_down_time from 9 to 75 2014-03-18 10:25:04 +02:00
linux Improve iptables_manager _modify_rules() method 2014-06-02 16:24:56 -04:00
metadata Remove redundant default=None for config options 2014-05-25 00:46:50 -07:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
dhcp_agent.py Remove RPC to plugin when dhcp sets default route 2014-04-06 13:40:12 +00:00
firewall.py Apply six for metaclass 2013-11-18 17:58:58 +09:00
l2population_rpc.py Apply six for metaclass 2013-11-18 17:58:58 +09:00
l3_agent.py Merge "Install SNAT rules for ipv4 only" 2014-05-28 03:23:23 +00:00
netns_cleanup_util.py fixes broken neutron-netns-cleanup 2014-04-02 13:37:24 +00:00
ovs_cleanup_util.py options: consolidate options definitions 2014-02-24 13:25:11 +09:00
rpc.py change port status only if port is bound to the good host 2013-10-02 15:14:18 +02:00
securitygroups_rpc.py Remove redundant default=None for config options 2014-05-25 00:46:50 -07:00