summaryrefslogtreecommitdiff
path: root/tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py')
-rw-r--r--tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py b/tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py
index a46fa6fcce..5e0e35854e 100644
--- a/tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py
+++ b/tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py
@@ -50,6 +50,7 @@ from lib.common_config import (
create_static_routes,
step,
shutdown_bringup_interface,
+ topo_daemons
)
from lib.bgp import verify_bgp_convergence, create_router_bgp
from lib.topolog import logger
@@ -136,9 +137,12 @@ def setup_module(mod):
tgen = Topogen(CreateTopo, mod.__name__)
# ... and here it calls Mininet initialization functions.
+ # get list of daemons needs to be started for this suite.
+ daemons = topo_daemons(tgen, topo)
+
# Starting topology, create tmp files which are loaded to routers
# to start deamons and then start routers
- start_topology(tgen)
+ start_topology(tgen, daemons)
# Creating configuration from JSON
build_config_from_json(tgen, topo)