Revision 6845fd83 mininet/net.py
mininet/net.py | ||
---|---|---|
170 | 170 |
def waitConnected( self, timeout=None ): |
171 | 171 |
"""wait for each switch to connect to a controller, |
172 | 172 |
up to 5 seconds |
173 |
timeout: max time to wait for switches to connect. |
|
173 | 174 |
returns: True if all switches are connected""" |
174 | 175 |
info( '***waiting for switches to connect\n' ) |
175 | 176 |
time = 0 |
Also available in: Unified diff