]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: [PIMv6] Update topology for static rp suite 11701/head
authorKuldeep Kashyap <kashyapk@vmware.com>
Thu, 28 Jul 2022 02:51:43 +0000 (19:51 -0700)
committerKuldeep Kashyap <kashyapk@vmware.com>
Thu, 28 Jul 2022 02:51:43 +0000 (19:51 -0700)
Updated topology for static rp suite as per testcase.

Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
tests/topotests/multicast_pim_static_rp_topo1/test_multicast_pimv6_static_rp.py

index f046623b74d0a87ce0537e3c3aa6aa394a312fc1..bd5473a511b55c43d15b7bcb3fd6bfcd182a8fa0 100755 (executable)
@@ -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")