summaryrefslogtreecommitdiff
path: root/lib/compiler.h
diff options
context:
space:
mode:
authorDinesh G Dutt <5016467+ddutt@users.noreply.github.com>2019-09-02 19:37:37 +0000
committerDinesh G Dutt <5016467+ddutt@users.noreply.github.com>2019-09-02 19:37:37 +0000
commit200116db4ca67896d438bc1ef82e6dc6584724dc (patch)
tree2f8cfe12297eeb8c0bfd419ca318a287252a334f /lib/compiler.h
parent3577f1c54f94d296a266d0660436ef0d0cfaffb0 (diff)
bgpd: Add Established and Dropped counts to JSON output of bgp summary
Based on a suggestion by Donald Sharp, this patch adds the counts of the number of times a BGP peering session has transitioned from Estd->NotEstd and from NotEstd->Estd to the JSON output only of the "show [ip] bgp [vrf <vrf>] summary" command. The idea is that even if the current session is well and up, but a sessions has trasnitionined in and out of Estd state multiple times, its worth noting that. We cannot change the non-JSON output as easily, and so this command only addresses the JSON part for now. The fields added are the ones that were provided only as part of the "show bgp neighbor" command. Signed-off-by: Dinesh G Dutt <5016467+ddutt@users.noreply.github.com>
Diffstat (limited to 'lib/compiler.h')
0 files changed, 0 insertions, 0 deletions