8000 mininet/bin/mn at devel/iplink · edwinlu/mininet · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
executable file
·
276 lines (229 loc) · 9.78 KB

mn

File metadata and controls

executable file
·
276 lines (229 loc) · 9.78 KB
if self.options.pre:
CLI( mn, script=self.options.pre )
test = self.options.test
test = ALTSPELLING.get( test, test )
mn.start()
if test == 'none':
pass
elif test == 'all':
mn.start()
mn.ping()
mn.iperf()
elif test == 'cli':
CLI( mn )
elif test != 'build':
getattr( mn, test )()
if self.options.post:
CLI( mn, script=self.options.post )
mn.stop()
elapsed = float( time.time() - start )
info( 'completed in %0.3f seconds\n' % elapsed )
if __name__ == "__main__":
MininetRunner()
0