Fixed iperf test.
Not sure if I want nox_core -v in nox.py - it's useful for debugging. ripcordtest.py (and grid.py) still depend on routing, which I haven't been able to test yet.
This commit is contained in:
+2
-1
@@ -7,7 +7,8 @@ from mininet import init, Controller, TreeNet, Cli
|
||||
class NoxController( Controller ):
|
||||
def __init__( self, name, **kwargs ):
|
||||
Controller.__init__( self, name,
|
||||
controller='nox_core', cargs='-i ptcp pyswitch',
|
||||
controller='nox_core',
|
||||
cargs='--libdir=/usr/local/lib -i ptcp: pyswitch',
|
||||
cdir='/usr/local/bin', **kwargs)
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
@@ -50,7 +50,7 @@ class FatTree( Network ):
|
||||
for neighbor in graph.neighbors( miniToGraph[ switch ] ):
|
||||
miniNeighbor = graphToMini[ neighbor ]
|
||||
if miniNeighbor not in currentNeighbors:
|
||||
print ".", ; flush()
|
||||
print '.', ; flush()
|
||||
createLink( switch, graphToMini[ neighbor ] )
|
||||
print
|
||||
return switches, hosts
|
||||
|
||||
Reference in New Issue
Block a user