Delete leftover TAP interface from OVS with datapath=user

fixes #199
This commit is contained in:
Bob Lantz
2013-09-11 12:00:12 -07:00
committed by Brian O'Connor
parent 896c4cbccc
commit 765d126ee9
+2
View File
@@ -1050,6 +1050,8 @@ class OVSSwitch( Switch ):
def stop( self ):
"Terminate OVS switch."
self.cmd( 'ovs-vsctl del-br', self )
if self.datapath == 'user':
self.cmd( 'ip link del', self )
self.deleteIntfs()
OVSKernelSwitch = OVSSwitch