Fix remote controller param

This commit is contained in:
Brandon Heller
2010-03-05 01:13:22 -08:00
parent 7ae73e677f
commit c8641d7d15
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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 )