Revision f51eddef mininet/node.py

View differences:

mininet/node.py
1432 1432
    "Return first available controller from list, if any"
1433 1433
    for controller in controllers:
1434 1434
        if controller.isAvailable():
1435
            return controller( name, **kwargs )
1435
            return controller
1436 1436

  
1437 1437
def DefaultController( name, controllers=DefaultControllers, **kwargs ):
1438 1438
    "Find a controller that is available and instantiate it"

Also available in: Unified diff