mirror of
https://github.com/Wojtek242/route0.git
synced 2024-11-22 07:05:25 +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 = Mininet(topo=experiment.topo(), switch=Router)
|
||||||
net.start()
|
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
|
# WARNING: FRR can get confused unless all daemons on each node are started
|
||||||
# together.
|
# together.
|
||||||
for node in net.switches:
|
for node in net.switches:
|
||||||
|
Loading…
Reference in New Issue
Block a user