Tweaks to pass code check.
This commit is contained in:
@@ -83,7 +83,7 @@ class MininetRunner( object ):
|
||||
self.begin()
|
||||
|
||||
def setCustom( self, name, value ):
|
||||
print "got", self, name, value
|
||||
"Set custom parameters for MininetRunner."
|
||||
if name in ( 'topos', 'switches', 'hosts', 'controllers' ):
|
||||
# Update dictionaries
|
||||
param = name.upper()
|
||||
|
||||
+2
-2
@@ -91,8 +91,8 @@ class CLI( Cmd ):
|
||||
for switch in self.mn.switches:
|
||||
info( '%s <->', switch.name )
|
||||
for intf in switch.intfs:
|
||||
node, name = switch.connection[ intf ]
|
||||
info( ' %s' % node.name )
|
||||
name = switch.connection[ intf ][ 1 ]
|
||||
info( ' %s' % name )
|
||||
info( '\n' )
|
||||
|
||||
def do_sh( self, args ):
|
||||
|
||||
Reference in New Issue
Block a user