'Set custom parameters for MininetRunner.'

def setCustom(self, name, value):

    if (name in ('topos', 'switches', 'hosts', 'controllers')):
        param = name.upper()
        globals()[param].update(value)
    elif (name == 'validate'):
        self.validate = value
    else:
        globals()[name] = value
