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
..
2014-05-20 12:28:59 -05:00
2013-08-16 10:10:30 +08:00
2014-05-04 12:40:08 +02:00
2014-05-19 12:16:56 +02:00
2013-07-06 15:02:43 -04:00
2014-02-10 04:58:38 +09:00
2014-05-04 12:40:08 +02:00
2014-02-25 14:28:35 +00:00
2014-04-23 18:14:49 +03:00
2013-07-06 15:02:43 -04:00