committed by
Brian O'Connor
parent
896c4cbccc
commit
765d126ee9
@@ -1050,6 +1050,8 @@ class OVSSwitch( Switch ):
|
|||||||
def stop( self ):
|
def stop( self ):
|
||||||
"Terminate OVS switch."
|
"Terminate OVS switch."
|
||||||
self.cmd( 'ovs-vsctl del-br', self )
|
self.cmd( 'ovs-vsctl del-br', self )
|
||||||
|
if self.datapath == 'user':
|
||||||
|
self.cmd( 'ip link del', self )
|
||||||
self.deleteIntfs()
|
self.deleteIntfs()
|
||||||
|
|
||||||
OVSKernelSwitch = OVSSwitch
|
OVSKernelSwitch = OVSSwitch
|
||||||
|
|||||||
Reference in New Issue
Block a user