Пример #1
0
def launch(objective=None, preinstall="{}"):
    discovery.launch()
    spanning_tree.launch(no_flood=True, hold_down=True)
    statistics.launch()
    topology.launch()
    multicommodity.launch(objective=objective, preinstall=preinstall)

    core.registerNew(Controller)
Пример #2
0
def launch(filename='results'):
    discovery.launch()
    spanning_tree.launch(no_flood=True, hold_down=True)
    topology.launch()

    core.registerNew(Controller, filename=filename)