neutron/neutron/agent
Rodolfo Alonso Hernandez ae1d36fa9d Improve "OVSFirewallDriver.process_trusted_ports"
FirewallDriver.process_trusted_ports" is called with many ports,
"_initialize_egress_no_port_security" retrieves the VIF ports
("Interface" registers in OVS DB), one per iteration, based in the
port_id. Instead of this procedure, if the DB is called only once to
retrieve all the VIF ports, the performance increase is noticeable.
E.g.: bridge with 1000 ports and interfaces.

Retrieving 100 ports:
- Bulk operation: 0.08 secs
- Loop operation: 5.6 secs

Retrieving 1000 ports:
- Bulk operation: 0.08 secs
- Loop operation: 59 secs

Closes-Bug: #1836095
Related-Bug: #1836023

Change-Id: I5b259717c0fdb8991f1df86b1ef4fb8ad0f18e70
2019-07-12 15:58:50 +00:00
..
common Make OVS controller inactivity_probe configurable 2019-05-17 16:08:21 +00:00
dhcp Merge "Limit max ports per rpc for dhcp_ready_on_ports()" 2019-07-06 15:55:38 +00:00
l2 Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
l3 Merge "Implement "ip route delete" command using Pyroute2" 2019-07-09 05:18:45 +00:00
linux Improve "OVSFirewallDriver.process_trusted_ports" 2019-07-12 15:58:50 +00:00
metadata Add kill hooks for external processes 2019-06-03 14:39:51 +02:00
ovsdb Add debug information in BridgeCreateEvent 2018-12-06 10:08:51 +00:00
windows remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
agent_extensions_manager.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
dhcp_agent.py Enable mutable config in Neutron 2018-03-21 20:35:19 +00:00
firewall.py use EGRESS_DIRECTION and INGRESS_DIRECTION from neutron-lib 2018-02-23 10:36:36 -07:00
l3_agent.py Enable mutable config in Neutron 2018-03-21 20:35:19 +00:00
metadata_agent.py Remove deprecated cache_url 2017-11-10 00:47:19 -05:00
resource_cache.py Ignore first local port update notification 2019-07-04 12:06:11 +00:00
rpc.py Ignore first local port update notification 2019-07-04 12:06:11 +00:00
securitygroups_rpc.py remove neutron.common.constants 2019-04-04 14:10:26 -06:00