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

Method run

mininet/net.py:608–614  ·  view source on GitHub ↗

Perform a complete start/test/stop cycle.

( self, test, *args, **kwargs )

Source from the content-addressed store, hash-verified

606 info( '\n*** Done\n' )
607
608 def run( self, test, *args, **kwargs ):
609 "Perform a complete start/test/stop cycle."
610 self.start()
611 info( '*** Running test\n' )
612 result = test( *args, **kwargs )
613 self.stop()
614 return result
615
616 def monitor( self, hosts=None, timeoutms=-1 ):
617 """Monitor a set of hosts (or all hosts by default),

Callers 5

testMinimalMethod · 0.95
testSingle5Method · 0.95
testLinear5Method · 0.95
runOptionsTopoTestMethod · 0.95
testLinkBandwidthMethod · 0.95

Calls 3

startMethod · 0.95
stopMethod · 0.95
testFunction · 0.85

Tested by 5

testMinimalMethod · 0.76
testSingle5Method · 0.76
testLinear5Method · 0.76
runOptionsTopoTestMethod · 0.76
testLinkBandwidthMethod · 0.76