frr icon indicating copy to clipboard operation
frr copied to clipboard

ospf6d: rework ospf6 neighbor state display

Open fdumontet6WIND opened this issue 1 year ago • 8 comments

A separate function ospf6_neighbor_state_message() is created to return a string that stands for the neighbor kind: DR, BDR, DROther, or PointToPoint.

Add the following attributes in each neighbor of the vty command: 'show ipv6 ospf6 neighbor detail json'

  • nbrPriority : integer
  • Role: DR, BDR, DROther, or PointToPoint
  • nbrState : /<Role> where: o Role is the above attribute o state is "None", "Down", "Attempt", "Init", "Twoway", "ExStart", "ExChange", "Loading", "Full"
  • routerDeadIntervalTimerDueMsec: integer value otherwise "inactive"

Enter in a deprecation workflow for neighborState value, which is replaced by nbrState. Add the following attributes in each neighbor of the vty command: 'show ipv6 ospf6 neighbor json':

  • nbrPriority : integer
  • Role: DR, BDR, DROther, or PointToPoint
  • nbrState : /<Role> where: o Role is the above attribute o state is "None", "Down", "Attempt", "Init", "Twoway", "ExStart", "ExChange", "Loading", "Full"
  • routerDeadIntervalTimerDueMsec: integer value otherwise "inactive"

Enter in a deprecation workflow for state and priority values, which are replaced by nbrState.

and update related tests

fdumontet6WIND avatar Nov 29 '23 21:11 fdumontet6WIND

ci:rerun

fdumontet6WIND avatar Dec 06 '23 11:12 fdumontet6WIND

ci:rerun

fdumontet6WIND avatar Dec 14 '23 20:12 fdumontet6WIND

ci:rerun

fdumontet6WIND avatar Dec 29 '23 22:12 fdumontet6WIND

ci: rerun

fdumontet6WIND avatar Jan 04 '24 17:01 fdumontet6WIND

CI:rerun Retest for new ASAN Memory Leaks

mwinter-osr avatar Jan 14 '24 23:01 mwinter-osr

ci:rerun

fdumontet6WIND avatar Jan 15 '24 09:01 fdumontet6WIND

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Mar 08 '24 07:03 github-actions[bot]