tests: Fix for blackhole test in test_mcast_pim_bsmp suite

1. Fixed for blackhole test in test_mcast_pim_bsmp suite

Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
This commit is contained in:
Kuldeep Kashyap 2021-02-25 23:49:58 -08:00
parent 30b3fb20d4
commit 5900cf46f7

View 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}
]
}
}