summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMobashshera Rasool <mrasool@vmware.com>2022-03-16 13:47:01 +0100
committerMobashshera Rasool <mrasool@vmware.com>2022-03-17 07:59:05 +0100
commita73e89ddbcfc72166bf2cb67b170d354b499445f (patch)
treef92ef593fd8b87744b726be01295898a65a10365 /tests
parentMerge pull request #9262 from gpnaveen/ospfv3_basic_tests (diff)
downloadfrr-a73e89ddbcfc72166bf2cb67b170d354b499445f.tar.xz
frr-a73e89ddbcfc72166bf2cb67b170d354b499445f.zip
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 <mrasool@vmware.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/topotests/ospfv3_basic_functionality/test_ospfv3_asbr_summary_topo1.py8
1 files changed, 8 insertions, 0 deletions
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 10c51a678..3ec31f3fa 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
)