From 855995e505c41e6e12e87f19c0d387ce6ae9f2c3 Mon Sep 17 00:00:00 2001 From: Kuldeep Kashyap Date: Wed, 27 Jul 2022 19:51:43 -0700 Subject: [PATCH] tests: [PIMv6] Update topology for static rp suite Updated topology for static rp suite as per testcase. Signed-off-by: Kuldeep Kashyap --- .../test_multicast_pimv6_static_rp.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/topotests/multicast_pim_static_rp_topo1/test_multicast_pimv6_static_rp.py b/tests/topotests/multicast_pim_static_rp_topo1/test_multicast_pimv6_static_rp.py index f046623b74..bd5473a511 100755 --- a/tests/topotests/multicast_pim_static_rp_topo1/test_multicast_pimv6_static_rp.py +++ b/tests/topotests/multicast_pim_static_rp_topo1/test_multicast_pimv6_static_rp.py @@ -254,9 +254,11 @@ def test_pimv6_add_delete_static_RP_p0(request): if tgen.routers_have_failure(): check_router_status(tgen) - step("Shut link b/w R1 and R3") - intf = TOPO["routers"]["r1"]["links"]["r3"]["interface"] - shutdown_bringup_interface(tgen, "r1", intf, ifaceaction=False) + step("Shut link b/w R1 and R3 and R1 and R4 as per tescase topology") + intf_r1_r3 = TOPO["routers"]["r1"]["links"]["r3"]["interface"] + intf_r1_r4 = TOPO["routers"]["r1"]["links"]["r4"]["interface"] + for intf in [intf_r1_r3, intf_r1_r4]: + shutdown_bringup_interface(tgen, "r1", intf, ifaceaction=False) step("Enable PIM between r1 and r2") step("Enable MLD on r1 interface and send IGMP " "join (FF08::1) to r1")