added documentation for waitConnected timeout

This commit is contained in:
Cody Burkard
2014-07-09 19:12:15 -07:00
parent 8e2443ada4
commit 6845fd8339
+1
View File
@@ -170,6 +170,7 @@ class Mininet( object ):
def waitConnected( self, timeout=None ): def waitConnected( self, timeout=None ):
"""wait for each switch to connect to a controller, """wait for each switch to connect to a controller,
up to 5 seconds up to 5 seconds
timeout: max time to wait for switches to connect.
returns: True if all switches are connected""" returns: True if all switches are connected"""
info( '***waiting for switches to connect\n' ) info( '***waiting for switches to connect\n' )
time = 0 time = 0