assert result is True, "Testcase {} : Failed \n Error: {}".format(tc_name, result)
step("Verify routes are installed with same nexthop in different" " VRFs")
+ result = verify_bgp_convergence(tgen, topo_modify)
+ assert result is True, "Testcase {} : Failed \n Error {}".format(tc_name, result)
for addr_type in ADDR_TYPES:
dut = "r4"
result = create_router_bgp(tgen, topo_modify, input_dict_5)
assert result is True, "Testcase {} : Failed \n Error: {}".format(tc_name, result)
+ result = verify_bgp_convergence(tgen, topo_modify)
+ assert result is True, "Testcase {} : Failed \n Error {}".format(tc_name, result)
+
for addr_type in ADDR_TYPES:
dut = "r3"
peer = "r2"
assert result is True, "Testcase {} : Failed \n Error: {}".format(tc_name, result)
step("R3 should install prefixes from both next-hops (R2 and R4)")
+ result = verify_bgp_convergence(tgen, topo_modify)
+ assert result is True, "Testcase {} : Failed \n Error {}".format(tc_name, result)
for addr_type in ADDR_TYPES:
dut = "r3"
result = create_router_bgp(tgen, topo_modify, input_dict_6)
assert result is True, "Testcase {} : Failed \n Error: {}".format(tc_name, result)
+ result = verify_bgp_convergence(tgen, topo_modify)
+ assert result is True, "Testcase {} : Failed \n Error {}".format(tc_name, result)
+
for addr_type in ADDR_TYPES:
dut = "r3"
input_dict = {
" have duplicate entries within VRF RED_A on router RED-1"
)
+ result = verify_bgp_convergence(tgen, topo)
+ assert result is True, "Testcase {} : Failed \n Error {}".format(tc_name, result)
+
for addr_type in ADDR_TYPES:
dut = "r3"
input_dict_1 = {
result = create_router_bgp(tgen, topo, input_dict_3)
assert result is True, "Testcase {} : Failed \n Error: {}".format(tc_name, result)
+ result = verify_bgp_convergence(tgen, topo)
+ assert result is True, "Testcase {} : Failed \n Error {}".format(tc_name, result)
+
step("VRF RED_A should install a route for vrf RED_B's " "loopback ip.")
for addr_type in ADDR_TYPES:
dut = "red1"
result = create_router_bgp(tgen, topo, input_dict_3)
assert result is True, "Testcase {} :Failed \n Error: {}".format(tc_name, result)
+ result = verify_bgp_convergence(tgen, topo)
+ assert result is True, "Testcase () :Failed\n Error {}". format(tc_name, result)
+
step("Kill BGPd daemon on R1.")
kill_router_daemons(tgen, "r1", ["bgpd"])
assert result is True, "Testcase {} :Failed \n Error: {}".format(tc_name, result)
step("Verifying RIB and FIB before deleting VRFs")
+ result = verify_bgp_convergence(tgen, topo)
+ assert result is True, "Testcase {} : Failed \n Error {}".format(tc_name, result)
for addr_type in ADDR_TYPES:
dut = "r2"