]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: BGP JSON new fields
authorAmeya Dharkar <adharkar@vmware.com>
Thu, 11 Oct 2018 22:35:21 +0000 (15:35 -0700)
committerAmeya Dharkar <adharkar@vmware.com>
Thu, 11 Oct 2018 22:35:21 +0000 (15:35 -0700)
commit37d4e0dfabcc47e874987d8b7ec27d0f05376705
tree1490535db39aff829c430861dc15e9f52a71b8e8
parentb3c8d34291f05496218e4ae317c9684a8bd3aada
bgpd: BGP JSON new fields

1. "show bgp ipv4 json"
  - Added "network" field which displays a prefix in 'prefix/prefixlen' format.

2. "show bgp ipv6 json"
  - Added "network" field which displays a prefix in 'prefix/prefixlen' format.
  - JSON does not have "prefix", "prefixLen" fields which are present in IPv4
    command. Added these fields as they are useful.

3. "show bgp ipv4/ipv6 neighbor <neighbor_addr> advertised-routes json"
  - Added "network" field.

4. "show bgp ipv4/ipv6 summary json"
  - Added "pfxSnt" for peers. This count is obtained from corresponding
    update_subgroup.

5. "show bgp neighbor json"
  - Added "sentPrefixCounter"

Signed-off-by: Ameya Dharkar <adharkar@vmware.org>
bgpd/bgp_route.c
bgpd/bgp_vty.c