diff --git a/mininet/node.py b/mininet/node.py index 609b6e50a33b3306d4555cb1f64def0d486f91f0..26802656208a9b80482fbc23ff2729401f6b7b9e 100644 --- a/mininet/node.py +++ b/mininet/node.py @@ -1282,10 +1282,11 @@ class DefaultController( Controller ): "find any controller that is available and run it" def __init__( self, name, **kwargs ): "search for any installed controller" - controllers = [ 'controller', 'ovs-controller', 'test-controller' ] # , 'pox', 'ryu' ] # test-controller is the important part + controllers = [ 'controller', 'ovs-controller', + 'test-controller' ] for c in controllers: if quietRun( "which " + c ): - Controller.__init__( self, name, controller=c, **kwargs ) + Controller.__init__( self, name, command=c, **kwargs ) break class OVSController( Controller ):