]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add neutron-linuxbridge-cleanup util
authorMathieu Gagné <mgagne@iweb.com>
Tue, 8 Sep 2015 21:07:07 +0000 (17:07 -0400)
committerCedric Brandily <zzelle@gmail.com>
Thu, 1 Oct 2015 19:54:34 +0000 (21:54 +0200)
commit27f60c314bc9de5d81571de1437f93ca232f1382
treeea643a68d7ca19664b7b75397a11b0d418a7a731
parent739dc16fe75253d392bd4112bc638c1648e0ccf9
Add neutron-linuxbridge-cleanup util

Removal of empty bridges have been disabled [1] to fix a race condition
between Nova and Neutron where a bridge would be removed if
the only instance using it is rebooted. This means empty bridges
will pile up over time.

This script can be used to periodically remove empty bridges by running it
on compute nodes.

Note: Usage of this script can still trigger the original race condition.
It should be used when you don't expect anyone do be doing operations
on their instances.

[1] Commit 8dd8a7d93564168b98fa2350eedf56acede42b0f

DocImpact: Add neutron-linuxbridge-cleanup util
Related-bug: #1328546
Closes-bug: #1497027
Co-Authored-By: Cedric Brandily <zzelle@gmail.com>
Change-Id: Ieb2796381579ad295abf361ce483d979a53d2bd6
neutron/cmd/linuxbridge_cleanup.py [new file with mode: 0644]
neutron/tests/common/net_helpers.py
neutron/tests/contrib/functional-testing.filters
neutron/tests/functional/cmd/test_linuxbridge_cleanup.py [new file with mode: 0644]
neutron/tests/tools.py
setup.cfg