Fix remote controller param
This commit is contained in:
@@ -201,7 +201,7 @@ class MininetRunner( object ):
|
|||||||
controller = CONTROLLERS[ self.options.controller ]
|
controller = CONTROLLERS[ self.options.controller ]
|
||||||
if self.options.controller == 'remote':
|
if self.options.controller == 'remote':
|
||||||
controller = lambda a, b: RemoteController( a, b,
|
controller = lambda a, b: RemoteController( a, b,
|
||||||
ipAddress=self.options.ip,
|
defaultIP=self.options.ip,
|
||||||
port=self.options.port )
|
port=self.options.port )
|
||||||
|
|
||||||
if self.validate:
|
if self.validate:
|
||||||
|
|||||||
+1
-1
@@ -561,7 +561,7 @@ class RemoteController( Controller ):
|
|||||||
port=6633 ):
|
port=6633 ):
|
||||||
"""Init.
|
"""Init.
|
||||||
name: name to give controller
|
name: name to give controller
|
||||||
ipAddress: the IP address where the remote controller is
|
defaultIP: the IP address where the remote controller is
|
||||||
listening
|
listening
|
||||||
port: the port where the remote controller is listening"""
|
port: the port where the remote controller is listening"""
|
||||||
Controller.__init__( self, name, defaultIP=defaultIP, port=port )
|
Controller.__init__( self, name, defaultIP=defaultIP, port=port )
|
||||||
|
|||||||
Reference in New Issue
Block a user