From 20288985ffec9ef257decd45e4b8e43f0288fa5d Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Wed, 29 Nov 2023 14:28:08 +0100 Subject: [PATCH] topotests: use the Role field when testing ospf6 To handle the future change of naming in the ospf6 state, align the ospf6 tests with the new 'Role' nickname instead of the old 'state' value. Signed-off-by: Philippe Guibert --- tests/topotests/lib/ospf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/topotests/lib/ospf.py b/tests/topotests/lib/ospf.py index 5b18f8b679ce..706a8dd53953 100644 --- a/tests/topotests/lib/ospf.py +++ b/tests/topotests/lib/ospf.py @@ -780,15 +780,15 @@ def verify_ospf6_neighbor(tgen, topo=None, dut=None, input_dict=None, lan=False) "neighbors": { "r1": { "state": "Full", - "role": "DR" + "nbrState": "Full/DR" }, "r2": { "state": "Full", - "role": "DROther" + "nbrState": "Full/DROther" }, "r3": { "state": "Full", - "role": "DROther" + "nbrState": "Full/DROther" } } }