Support custom links in custom file
This commit is contained in:
@@ -158,7 +158,7 @@ class MininetRunner( object ):
|
|||||||
|
|
||||||
def setCustom( self, name, value ):
|
def setCustom( self, name, value ):
|
||||||
"Set custom parameters for MininetRunner."
|
"Set custom parameters for MininetRunner."
|
||||||
if name in ( 'topos', 'switches', 'hosts', 'controllers' ):
|
if name in ( 'topos', 'switches', 'hosts', 'controllers', 'links' ):
|
||||||
# Update dictionaries
|
# Update dictionaries
|
||||||
param = name.upper()
|
param = name.upper()
|
||||||
globals()[ param ].update( value )
|
globals()[ param ].update( value )
|
||||||
|
|||||||
Reference in New Issue
Block a user