), "Testcase {} : Failed" "Error: Summary missing in OSPF DB".format(tc_name)
step("Verify that originally advertised routes are withdraw from there" " peer.")
+ output = tgen.gears["r0"].vtysh_cmd(
+ "show ipv6 ospf6 database as-external json", isjson=True
+ )
+
+ output = tgen.gears["r1"].vtysh_cmd(
+ "show ipv6 ospf6 database as-external json", isjson=True
+ )
+
input_dict = {
"r0": {"static_routes": [{"network": NETWORK["ipv6"], "next_hop": "blackhole"}]}
}
tc_name, result
)
- output = tgen.gears["r0"].vtysh_cmd(
- "show ipv6 ospf6 database as-external json", isjson=True
- )
-
- output = tgen.gears["r1"].vtysh_cmd(
- "show ipv6 ospf6 database as-external json", isjson=True
- )
-
result = verify_rib(
tgen, "ipv6", dut, input_dict, protocol=protocol, expected=False
)