diff --git a/mininet/node.py b/mininet/node.py index 3185746..951b870 100644 --- a/mininet/node.py +++ b/mininet/node.py @@ -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