]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: Fix for blackhole test in test_mcast_pim_bsmp suite 8157/head
authorKuldeep Kashyap <kashyapk@vmware.com>
Fri, 26 Feb 2021 07:49:58 +0000 (23:49 -0800)
committerKuldeep Kashyap <kashyapk@vmware.com>
Fri, 26 Feb 2021 07:49:58 +0000 (23:49 -0800)
1. Fixed for blackhole test in test_mcast_pim_bsmp suite

Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
tests/topotests/multicast-pim-bsm-topo1/test_mcast_pim_bsmp_01.py

index c670c82d21aa4b2fae103b910ed59d1abb4a32e1..ef018803812a6c154f4cd19ccdcbf7ee34cfec02 100644 (file)
@@ -644,7 +644,6 @@ def test_BSR_CRP_with_blackhole_address_p1(request):
     next_hop_lhr = topo["routers"]["i1"]["links"]["l1"]["ipv4"].split("/")[0]
 
     input_dict = {
-        "f1": {"static_routes": [{"network": BSR1_ADDR, "next_hop": NEXT_HOP1}]},
         "i1": {"static_routes": [{"network": BSR1_ADDR, "next_hop": next_hop_rp}]},
         "l1": {"static_routes": [{"network": BSR1_ADDR, "next_hop": next_hop_lhr}]},
     }
@@ -706,7 +705,8 @@ def test_BSR_CRP_with_blackhole_address_p1(request):
     input_dict = {
         "f1": {
             "static_routes": [
-                {"network": [BSR1_ADDR, CRP], "next_hop": "blackhole", "delete": True}
+                {"network": [BSR1_ADDR, CRP], "next_hop": "blackhole", "delete": True},
+                {"network": BSR1_ADDR, "next_hop": NEXT_HOP1}
             ]
         }
     }