]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: Adding per neighbour json details to GR helper detail command
authorrgirada <rgirada@vmware.com>
Mon, 22 Aug 2022 18:15:56 +0000 (11:15 -0700)
committerrgirada <rgirada@vmware.com>
Wed, 24 Aug 2022 04:15:12 +0000 (21:15 -0700)
commit7b71c1e3f7d941ba0055bf0d181d5f9eadb2e96c
treeb0cd4b930e501b3b472c74976d85137161b598db
parent8475465d98a217ba23b33b0d289b0fce6f52cafe
ospfd: Adding per neighbour json details to GR helper detail command

Description:
Per neighbor GR enabled information is  missing from json
output in "show ip ospf gr helper details json" command.

      Example config:

frr(config-router)# graceful-restart helper enable 2.2.2.2
frr(config-router)#
frr(config-router)# do show ip ospf  graceful-restart helper  detail

       OSPF Router with ID (10.112.156.220)

Graceful restart helper support disabled.
Strict LSA check is enabled.
Helper supported for Planned and Unplanned Restarts.
Supported Graceful restart interval: 1800(in seconds).
Enable Router list:
2.2.2.2,

frr(config-router)# do show ip ospf  graceful-restart helper  detail json
{
 "routerId":"10.112.156.220",
 "helperSupport":"Disabled",
 "strictLsaCheck":"Enabled",
 "restartSupoort":"Planned and Unplanned Restarts",
 "supportedGracePeriod":1800,
}
frr(config-router)#

Signed-off-by: Rajesh Girada <rgirada@vmware.com>
ospfd/ospf_vty.c