Support custom links in custom file

This commit is contained in:
Bob Lantz
2015-06-10 20:35:53 -07:00
parent c4a85ab1d1
commit 68ae67dc58
+1 -1
View File
@@ -158,7 +158,7 @@ class MininetRunner( object ):
def setCustom( self, name, value ):
"Set custom parameters for MininetRunner."
if name in ( 'topos', 'switches', 'hosts', 'controllers' ):
if name in ( 'topos', 'switches', 'hosts', 'controllers', 'links' ):
# Update dictionaries
param = name.upper()
globals()[ param ].update( value )