Skip to content

Commit

Permalink
topotests: use the Role field when testing ospf6
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
pguibert6WIND authored and fdumontet6WIND committed Jan 12, 2024
1 parent 65c838f commit 92f6973
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/topotests/lib/ospf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
Expand Down

0 comments on commit 92f6973

Please sign in to comment.