summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumya Roy <souroy@nvidia.com>2025-03-14 21:48:20 +0000
committerSoumya Roy <souroy@nvidia.com>2025-03-20 16:13:44 +0000
commit4de0f16a89da069e8fa9920ac888ff8aed4cc6e8 (patch)
treed85b5f4e0d3845ccf938129cb5e9350339c2ed79
parentc0c46bad15a5f3f69032678177ac7d00b7cd31be (diff)
tests: Add staticd/ospfd/ospf6d/pimd for high ecmp
Signed-off-by: Soumya Roy <souroy@nvidia.com>
-rw-r--r--tests/topotests/high_ecmp/test_high_ecmp_unnumbered.py11
-rw-r--r--tests/topotests/high_ecmp/test_high_ecmp_v4.py11
-rw-r--r--tests/topotests/high_ecmp/test_high_ecmp_v6.py11
3 files changed, 24 insertions, 9 deletions
diff --git a/tests/topotests/high_ecmp/test_high_ecmp_unnumbered.py b/tests/topotests/high_ecmp/test_high_ecmp_unnumbered.py
index 1a65a44a55..0947272386 100644
--- a/tests/topotests/high_ecmp/test_high_ecmp_unnumbered.py
+++ b/tests/topotests/high_ecmp/test_high_ecmp_unnumbered.py
@@ -78,13 +78,18 @@ def setup_module(module):
(TopoRouter.RD_ZEBRA, "-s 180000000"),
(TopoRouter.RD_BGP, None),
(TopoRouter.RD_SHARP, None),
+ (TopoRouter.RD_STATIC, None),
+ (TopoRouter.RD_OSPF, None),
+ (TopoRouter.RD_OSPF6, None),
+ (TopoRouter.RD_PIM, None),
],
)
-
+
tgen.start_router()
-
+
for rname, router in router_list.items():
- router.cmd("vtysh -f {}/{}/frr_unnumbered_bgp.conf".format(CWD, rname))
+ router.cmd("vtysh -f {}/{}/frr_unnumbered_bgp.conf".format(CWD, rname))
+
def teardown_module(_mod):
"Teardown the pytest environment"
diff --git a/tests/topotests/high_ecmp/test_high_ecmp_v4.py b/tests/topotests/high_ecmp/test_high_ecmp_v4.py
index c1fbb9e878..909c9d6528 100644
--- a/tests/topotests/high_ecmp/test_high_ecmp_v4.py
+++ b/tests/topotests/high_ecmp/test_high_ecmp_v4.py
@@ -78,13 +78,18 @@ def setup_module(module):
(TopoRouter.RD_ZEBRA, "-s 180000000"),
(TopoRouter.RD_BGP, None),
(TopoRouter.RD_SHARP, None),
+ (TopoRouter.RD_STATIC, None),
+ (TopoRouter.RD_OSPF, None),
+ (TopoRouter.RD_OSPF6, None),
+ (TopoRouter.RD_PIM, None),
],
)
-
+
tgen.start_router()
-
+
for rname, router in router_list.items():
- router.cmd("vtysh -f {}/{}/frr_ipv4_bgp.conf".format(CWD, rname))
+ router.cmd("vtysh -f {}/{}/frr_ipv4_bgp.conf".format(CWD, rname))
+
def teardown_module(_mod):
"Teardown the pytest environment"
diff --git a/tests/topotests/high_ecmp/test_high_ecmp_v6.py b/tests/topotests/high_ecmp/test_high_ecmp_v6.py
index a63444f0f0..cb4c93f590 100644
--- a/tests/topotests/high_ecmp/test_high_ecmp_v6.py
+++ b/tests/topotests/high_ecmp/test_high_ecmp_v6.py
@@ -78,13 +78,18 @@ def setup_module(module):
(TopoRouter.RD_ZEBRA, "-s 180000000"),
(TopoRouter.RD_BGP, None),
(TopoRouter.RD_SHARP, None),
+ (TopoRouter.RD_STATIC, None),
+ (TopoRouter.RD_OSPF, None),
+ (TopoRouter.RD_OSPF6, None),
+ (TopoRouter.RD_PIM, None),
],
)
-
+
tgen.start_router()
-
+
for rname, router in router_list.items():
- router.cmd("vtysh -f {}/{}/frr_ipv6_bgp.conf".format(CWD, rname))
+ router.cmd("vtysh -f {}/{}/frr_ipv6_bgp.conf".format(CWD, rname))
+
def teardown_module(_mod):
"Teardown the pytest environment"