vmware-nsx/neutron
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
..
agent Improve iptables_manager _modify_rules() method 2014-06-02 16:24:56 -04:00
api Remove hard dependency on novaclient 2014-05-20 12:28:59 -05:00
cmd remove binaries under bin 2013-08-16 10:10:30 +08:00
common Remove redundant default=None for config options 2014-05-25 00:46:50 -07:00
db Fix KeyError exception while updating dhcp port 2014-05-28 11:46:13 -07:00
debug Fix H302 violations 2014-05-04 12:40:08 +02:00
extensions Disallow 'timeout' in health_monitor to be negative 2014-05-26 09:20:57 +08:00
hacking Add missing translation support 2014-05-19 12:16:56 +02:00
locale Imported Translations from Transifex 2014-05-29 06:11:17 +00:00
notifiers Fix for multiple misspelled words 2014-05-23 17:07:56 -07:00
openstack Sync periodic_task from oslo-incubator 2014-05-29 12:45:20 -07:00
plugins Merge "NSX: replace strong references to the plugin with weakref ones" 2014-06-01 21:54:03 +00:00
scheduler Merge "Enable flake8 E711 and E712 checking" 2014-04-23 01:01:16 +00:00
server Adds multiple RPC worker processes to neutron server 2014-03-04 00:50:20 +00:00
services Sync periodic_task from oslo-incubator 2014-05-29 12:45:20 -07:00
tests Improve iptables_manager _modify_rules() method 2014-06-02 16:24:56 -04:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
auth.py Return request-id in API response 2014-02-10 04:58:38 +09:00
context.py Fix H302 violations 2014-05-04 12:40:08 +02:00
hooks.py Remove pyudev dependency 2014-02-25 14:28:35 +00:00
manager.py Ensure core plugin deallocation after every test 2014-05-08 23:40:46 -07:00
neutron_plugin_base_v2.py Add support for multiple RPC workers under Metaplugin 2014-04-15 13:29:27 +09:00
policy.py Perform policy checks only once on list responses 2014-05-06 03:52:29 -07:00
quota.py Remove last parts of Quantum compatibility shim 2014-03-31 23:31:23 -07:00
service.py Sync db code from oslo-incubator 2014-04-23 18:14:49 +03:00
version.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
wsgi.py Remove redundant default=None for config options 2014-05-25 00:46:50 -07:00