MCPcopy Create free account
hub / github.com/mininet/mininet / stop

Method stop

mininet/node.py:1296–1302  ·  view source on GitHub ↗

Terminate OVS switch. deleteIntfs: delete interfaces? (True)

( self, deleteIntfs=True )

Source from the content-addressed store, hash-verified

1294 return switches
1295
1296 def stop( self, deleteIntfs=True ):
1297 """Terminate OVS switch.
1298 deleteIntfs: delete interfaces? (True)"""
1299 self.cmd( 'ovs-vsctl del-br', self )
1300 if self.datapath == 'user':
1301 self.cmd( 'ip link del', self )
1302 super( OVSSwitch, self ).stop( deleteIntfs )
1303
1304 @classmethod
1305 def batchShutdown( cls, switches, run=errRun ):

Callers

nothing calls this directly

Calls 2

cmdMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected