Revision 4d2d52c3

View differences:

mininet/net.py
303 303

  
304 304

  
305 305
# Handy utilities
306
 
307
def createNodes( name, count ):
308
   "Create and return a list of nodes."
309
   nodes = [ Node( name + `i` ) for i in range( 0, count ) ]
310
   # print "*** CreateNodes: created:", nodes
311
   return nodes
312 306
     
313 307
def dumpNodes( nodes ):
314 308
   "Dump ifconfig of each node."

Also available in: Unified diff