Skip to content
Snippets Groups Projects
Commit a4db2c2f authored by Bob Lantz's avatar Bob Lantz
Browse files

Removed unnecessary init() calls.

parent 4720f559
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,6 @@ def ifconfigTest( net ):
lg.setLogLevel( 'info' )
info( "*** Initializing Mininet and kernel modules\n" )
KernelSwitch.setup()
init()
info( "*** Creating network\n" )
network = Mininet( TreeTopo( depth=2, fanout=2 ), switch=KernelSwitch)
info( "*** Starting network\n" )
......
......@@ -67,6 +67,5 @@ def sshd( network, cmd='/usr/sbin/sshd', opts='-D' ):
if __name__ == '__main__':
lg.setLogLevel( 'info')
init()
net = TreeNet( depth=1, fanout=4, switch=KernelSwitch )
sshd( net )
......@@ -108,7 +108,6 @@ def udpbwtest( net, seconds ):
lg.setLogLevel( 'info' )
if not os.path.exists( './udpbwtest' ):
raise Exception( 'Could not find udpbwtest in current directory.' )
init()
network = Mininet( TreeTopo( depth=2, fanout=2 ), switch=KernelSwitch )
network.start()
udpbwtest( network, seconds=10 )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment