Made compatible with rearranged args for createLink.

This commit is contained in:
Bob Lantz
2010-03-09 21:46:32 -08:00
parent 315cbf9e79
commit 73a323f2a2
2 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -21,8 +21,8 @@ def scratchNet( cname='controller', cargs='ptcp:' ):
h1 = Node( 'h1' )
info( "*** Creating links\n" )
createLink( node1=h0, port1=0, node2=switch, port2=0 )
createLink( node1=h1, port1=0, node2=switch, port2=1 )
createLink( node1=h0, node2=switch, port1=0, port2=0 )
createLink( node1=h1, node2=switch, port1=0, port2=1 )
info( "*** Configuring hosts\n" )
h0.setIP( h0.intfs[ 0 ], '192.168.123.1', 24 )