neutron/neutron/tests
Rodolfo Alonso Hernandez 843eccb9ee 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
(cherry picked from commit ae1d36fa9d)
2020-01-31 10:34:56 +00:00
..
common NetcatTester.stop_processes skip "No such process" exception 2019-11-22 10:54:17 +00:00
contrib Switch neutron-functional-with-wsgi job to zuul v3 syntax 2019-03-21 15:01:55 +00:00
etc Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
fullstack Check mtu on network update 2020-01-07 14:31:31 +00:00
functional Merge "Stop verifying unique external_net_id" into stable/stein 2020-01-25 07:03:32 +00:00
unit Improve "OVSFirewallDriver.process_trusted_ports" 2020-01-31 10:34:56 +00:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Handle DBConnectionError in skip_if_timeout decorator 2019-04-11 07:21:43 +00:00
post_mortem_debug.py
tools.py Merge "consume UnorderedList from neutron-lib" 2019-03-15 20:54:10 +00:00