diff options
| author | Soumya Roy <souroy@nvidia.com> | 2025-03-14 21:48:20 +0000 |
|---|---|---|
| committer | Soumya Roy <souroy@nvidia.com> | 2025-03-20 16:13:44 +0000 |
| commit | 4de0f16a89da069e8fa9920ac888ff8aed4cc6e8 (patch) | |
| tree | d85b5f4e0d3845ccf938129cb5e9350339c2ed79 | |
| parent | c0c46bad15a5f3f69032678177ac7d00b7cd31be (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.py | 11 | ||||
| -rw-r--r-- | tests/topotests/high_ecmp/test_high_ecmp_v4.py | 11 | ||||
| -rw-r--r-- | tests/topotests/high_ecmp/test_high_ecmp_v6.py | 11 |
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" |
