build=False is unnecessary if topo=None, which is the default
This commit is contained in:
@@ -19,7 +19,7 @@ from mininet.log import setLogLevel
|
|||||||
def multiControllerNet():
|
def multiControllerNet():
|
||||||
"Create a network from semi-scratch with multiple controllers."
|
"Create a network from semi-scratch with multiple controllers."
|
||||||
|
|
||||||
net = Mininet( controller=Controller, switch=OVSSwitch, build=False )
|
net = Mininet( controller=Controller, switch=OVSSwitch )
|
||||||
|
|
||||||
print "*** Creating (reference) controllers"
|
print "*** Creating (reference) controllers"
|
||||||
c1 = net.addController( 'c1', port=6633 )
|
c1 = net.addController( 'c1', port=6633 )
|
||||||
|
|||||||
Reference in New Issue
Block a user