neutron/neutron/tests/unit/cmd
Terry Wilson a82b5f1e75 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
(cherry picked from commit fef374131b)
2018-01-25 15:29:49 +00:00
..
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
test_netns_cleanup.py Update to support the ovdsbapp 0.4.0 API 2017-05-17 19:58:34 +00:00
test_ovs_cleanup.py More efficiently clean up OVS ports 2018-01-25 15:29:49 +00:00
test_sanity_check.py Fix import path in neutron-sanity-check for ml2_sriov opts 2015-09-01 04:16:01 +00:00