neutron/neutron/tests/functional/cmd
Terry Wilson fef374131b More efficiently clean up OVS ports
Previously, running neutron_ovs_cleanup on an installation with
5000 ports would time out even after setting the timeout to 3
hours. The code would do a bridge and port "by name" lookup for
every port due to being based off the ovs-vsctl implementation
where names are how everything is looked up. With this change,
the same test runs in ~1.5 mins.

This implementation adds a new OVSDB command that just looks up
the bridge, iterates over its ports, and deletes the ones that
should be deleted in a single transaction per bridge.

Change-Id: I23c81813654596d61d8d930e0bfb0f016f91bc46
2018-01-22 14:07:42 -06:00
..
__init__.py Add a netns-cleanup functional test 2015-03-13 17:14:37 +00:00
process_spawn.py Remove translation of help messages from tests 2017-09-25 09:49:38 +00:00
test_ipset_cleanup.py Refactoring config options for cmd 2016-07-31 04:37:29 +00:00
test_linuxbridge_cleanup.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
test_netns_cleanup.py Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
test_ovs_cleanup.py More efficiently clean up OVS ports 2018-01-22 14:07:42 -06:00