From a73e89ddbcfc72166bf2cb67b170d354b499445f Mon Sep 17 00:00:00 2001 From: Mobashshera Rasool Date: Wed, 16 Mar 2022 05:47:01 -0700 Subject: [PATCH] tests: Adding database information in ospfv3 testcase Improving the test case to show database info as well to help narrow down whether its a LSA origination problem or route calculation problem in case of failures. Signed-off-by: Mobashshera Rasool --- .../test_ospfv3_asbr_summary_topo1.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/topotests/ospfv3_basic_functionality/test_ospfv3_asbr_summary_topo1.py b/tests/topotests/ospfv3_basic_functionality/test_ospfv3_asbr_summary_topo1.py index 10c51a6784..3ec31f3fa8 100644 --- a/tests/topotests/ospfv3_basic_functionality/test_ospfv3_asbr_summary_topo1.py +++ b/tests/topotests/ospfv3_basic_functionality/test_ospfv3_asbr_summary_topo1.py @@ -2113,6 +2113,14 @@ def test_ospfv3_type5_summary_tc46_p0(request): 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 ) -- 2.39.5