protocol = "bgp"
for addr_type in ADDR_TYPES:
result = verify_fib_routes(tgen, addr_type, dut, input_dict_r1)
- assert result is not True, "Testcase {} : Failed \n".format(tc_name)
+ assert result is not True, "Testcase {} : Failed \n"
"Expected behavior: routes should not present in fib \n"
- "Error: {}".format(result)
+ "Error: {}".format(tc_name, result)
step("Verify Ipv4 and Ipv6 network installed in r3 RIB but not in FIB")
input_dict_r3 = {
protocol = "bgp"
for addr_type in ADDR_TYPES:
result = verify_fib_routes(tgen, addr_type, dut, input_dict_r1)
- assert result is not True, "Testcase {} : Failed \n".format(tc_name)
+ assert result is not True, "Testcase {} : Failed \n"
"Expected behavior: routes should not present in fib \n"
- "Error: {}".format(result)
+ "Error: {}".format(tc_name, result)
write_test_footer(tc_name)