fixed command parameter

This commit is contained in:
Cody Burkard
2014-07-14 13:09:41 -07:00
parent 72fd120dc8
commit 796b281bf1
+3 -2
View File
@@ -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 ):