]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
OVS cleanup utility removes veth pairs
authorAkihiro MOTOKI <motoki@da.jp.nec.com>
Sat, 29 Dec 2012 20:37:13 +0000 (05:37 +0900)
committerAkihiro MOTOKI <motoki@da.jp.nec.com>
Mon, 28 Jan 2013 10:25:03 +0000 (19:25 +0900)
commit1b5730b42c6306e26ec5e803f3e349b203756ba8
treeb72d8579df81cb3b88dfcadb479269f7f29578a4
parent32daf52381f08b890360f87d9f82deb9825ea85d
OVS cleanup utility removes veth pairs

Fixes bug 1094185

OVSInterfaceDriver plug() creates a veth pair and add it to an OVS
bridge when ovs_use_veth=True. It is useful that OVS cleanup utility
removes such veth paris in addition to removing OVS ports.

Veth pairs to be removed are veth devices corresponding to ports
removed when all_ovs_port==False. Veth pairs created to connect
the integration bridge and physical bridges are not removed.

Change-Id: Ia87f0464e69a45dd0bdfd907ac71a003df9fc23f
quantum/agent/ovs_cleanup_util.py
quantum/tests/unit/test_agent_ovs_cleanup.py