Fix errors from style changes
This commit is contained in:
@@ -57,8 +57,8 @@ CONTROLLERS = { 'ref': Controller,
|
|||||||
'none': lambda a, b: None }
|
'none': lambda a, b: None }
|
||||||
|
|
||||||
# optional tests to run
|
# optional tests to run
|
||||||
TESTS = [ 'cli', 'build', 'ping_all', 'ping_pair', 'iperf', 'all',
|
TESTS = [ 'cli', 'build', 'pingAll', 'pingPair', 'iperf', 'all',
|
||||||
'iperf_udp' ]
|
'iperfUdp' ]
|
||||||
|
|
||||||
|
|
||||||
def addDictOption( opts, choicesDict, default, name, helpStr=None ):
|
def addDictOption( opts, choicesDict, default, name, helpStr=None ):
|
||||||
@@ -120,7 +120,7 @@ class MininetRunner( object ):
|
|||||||
opts.add_option( '--port', type='string', default=6633,
|
opts.add_option( '--port', type='string', default=6633,
|
||||||
help='[port integer for a listening remote'
|
help='[port integer for a listening remote'
|
||||||
' controller]' )
|
' controller]' )
|
||||||
opts.add_option( '--in_namespace', action='store_true',
|
opts.add_option( '--inNamespace', action='store_true',
|
||||||
default=False, help='sw and ctrl in namespace?' )
|
default=False, help='sw and ctrl in namespace?' )
|
||||||
self.options = opts.parse_args()[ 0 ]
|
self.options = opts.parse_args()[ 0 ]
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -46,8 +46,8 @@ from mininet.log import lg
|
|||||||
class CLI( object ):
|
class CLI( object ):
|
||||||
"Simple command-line interface to talk to nodes."
|
"Simple command-line interface to talk to nodes."
|
||||||
|
|
||||||
cmds = [ '?', 'help', 'nodes', 'net', 'sh', 'ping_all', 'exit',
|
cmds = [ '?', 'help', 'nodes', 'net', 'sh', 'pingAll', 'exit',
|
||||||
'ping_pair', 'iperf', 'iperf_udp', 'intfs', 'dump' ]
|
'pingPair', 'iperf', 'iperfUdp', 'intfs', 'dump' ]
|
||||||
|
|
||||||
def __init__( self, mininet ):
|
def __init__( self, mininet ):
|
||||||
self.mn = mininet
|
self.mn = mininet
|
||||||
|
|||||||
Reference in New Issue
Block a user