neutron/neutron/agent
Sudhakar 3a7df5c819 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
(cherry picked from commit 0c202ab3e4)
2014-08-07 15:40:38 -06:00
..
common Change report_interval from 4 to 30, agent_down_time from 9 to 75 2014-04-14 14:17:12 +00:00
linux Improve iptables_manager _modify_rules() method 2014-08-07 15:40:38 -06:00
metadata Fix passing keystone token to neutronclient instance 2014-02-11 21:07:44 +01:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
dhcp_agent.py Change to improve dhcp-agent sync_state 2014-06-08 17:26:35 +03:00
firewall.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
l2population_rpc.py Fix l2 pop doesn't propagate ip address updates 2013-10-08 21:02:03 +00:00
l3_agent.py L3 Agent can handle many external networks 2014-07-08 11:39:01 +00:00
netns_cleanup_util.py Improve dhcp agent structure to support multiple dhcp models 2013-08-23 13:41:31 -07:00
ovs_cleanup_util.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
rpc.py change port status only if port is bound to the good host 2013-10-08 11:02:55 -04:00
securitygroups_rpc.py Improve handling of security group updates 2014-04-10 10:43:13 -04:00