]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add OVS cleanup utility
authorGary Kotton <gkotton@redhat.com>
Tue, 18 Dec 2012 12:20:50 +0000 (12:20 +0000)
committerGary Kotton <gkotton@redhat.com>
Mon, 24 Dec 2012 13:32:11 +0000 (13:32 +0000)
commit767859ddb947f281c4ada930ccc21cc6f0ba6806
treed0b368fd1feda12dfab59671a6ed8f769911d526
parentca8ed5eee602831297dcd6b2561f82b11711f470
Add OVS cleanup utility

Fixes bug 1091605

The utility should be called after rebooting an appliance. This
will purge the openvswicth of configured tap devices.

A configuration variable quantum_ports has been added. This is
by default True which indicates that only Quantum ports will be
deleted from the OVS. If this is set as False then all ports on the
bridge will be deleted.

Change-Id: I442f64cf82f95bfa99d7765eb09db1ce2ecf602e
bin/quantum-ovs-cleanup [new file with mode: 0755]
quantum/agent/linux/ovs_lib.py
quantum/agent/ovs_cleanup_util.py [new file with mode: 0644]
quantum/tests/unit/openvswitch/test_ovs_lib.py
quantum/tests/unit/test_agent_ovs_cleanup.py [new file with mode: 0644]
setup.py