added documentation for waitConnected timeout
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user