mirror of
https://github.com/Wojtek242/route0.git
synced 2024-11-21 23:05:24 +01:00
Assert zebra starts first
This commit is contained in:
parent
0d9c83515b
commit
8ec6c0b43a
@ -51,6 +51,11 @@ def run(experiment):
|
||||
net = Mininet(topo=experiment.topo(), switch=Router)
|
||||
net.start()
|
||||
|
||||
# WARNING: zebra must always be started first. It is expected that
|
||||
# Experiment provides the order for the daemons so we only assert.
|
||||
if "zebra" in experiment.daemons:
|
||||
assert experiment.daemons[0] == "zebra"
|
||||
|
||||
# WARNING: FRR can get confused unless all daemons on each node are started
|
||||
# together.
|
||||
for node in net.switches:
|
||||
|
Loading…
Reference in New Issue
Block a user