diff options
| author | ckishimo <carles.kishimoto@gmail.com> | 2021-01-25 14:40:06 +0100 |
|---|---|---|
| committer | ckishimo <carles.kishimoto@gmail.com> | 2021-01-27 17:30:52 +0100 |
| commit | 1f661c8c90357b827db30bcc2c3b4e1d5ab5bcdd (patch) | |
| tree | b0d61dd67dd1db2e95cbbc767d6101c5dbae10ad | |
| parent | 2718dd02515b97f12e85e27a466641862726a785 (diff) | |
tests: start ospf6d daemon
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
| -rw-r--r-- | tests/topotests/lib/common_config.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/topotests/lib/common_config.py b/tests/topotests/lib/common_config.py index 6bb88392a2..3f360ef40a 100644 --- a/tests/topotests/lib/common_config.py +++ b/tests/topotests/lib/common_config.py @@ -753,6 +753,12 @@ def start_topology(tgen, daemon=None): TopoRouter.RD_OSPF, "{}/{}/ospfd.conf".format(TMPDIR, rname) ) + if daemon and "ospf6d" in daemon: + # Loading empty ospf.conf file to router, to start the bgp daemon + router.load_config( + TopoRouter.RD_OSPF6, "{}/{}/ospf6d.conf".format(TMPDIR, rname) + ) + if daemon and "pimd" in daemon: # Loading empty pimd.conf file to router, to start the pim deamon router.load_config( @@ -846,6 +852,9 @@ def topo_daemons(tgen, topo): if "ospf" in topo["routers"][rtr] and "ospfd" not in daemon_list: daemon_list.append("ospfd") + if "ospf6" in topo["routers"][rtr] and "ospf6d" not in daemon_list: + daemon_list.append("ospf6d") + for val in topo["routers"][rtr]["links"].values(): if "pim" in val and "pimd" not in daemon_list: daemon_list.append("pimd") @@ -4375,4 +4384,3 @@ def verify_ip_nht(tgen, input_dict): logger.debug("Exiting lib API: verify_ip_nht()") return False - |
