summaryrefslogtreecommitdiff
path: root/lib/northbound_grpc.cpp
diff options
context:
space:
mode:
authorChirag Shah <chirag@nvidia.com>2021-10-03 15:55:03 -0700
committerChirag Shah <chirag@nvidia.com>2021-10-03 16:20:46 -0700
commit1b3ac4c7cab99b96870dfbee0160926dfff9ec1c (patch)
tree7636e08b7d2d05dddc49f0354fc4f0a86f8f5f3a /lib/northbound_grpc.cpp
parent31df775552690649ab769c57ed796a9de82fa22b (diff)
zebra: add nhg id to show ip route json
Add json field nexthop group id to 'show ip route json'. Testing Done: { "27.0.0.14\/32":[ { "prefix":"27.0.0.14\/32", "protocol":"bgp", "selected":true, "destSelected":true, "distance":20, "metric":0, "installed":true, "table":254, "internalStatus":16, "internalFlags":8, "internalNextHopNum":2, "internalNextHopActiveNum":2, "nexthopGroupId":103, <---- New field "uptime":"00:04:37", "nexthops":[ { "ip":"fe80::202:ff:fe00:11", "interfaceName":"uplink-1", }, { "ip":"fe80::202:ff:fe00:1d", "interfaceName":"uplink-2", } ] } ] } Signed-off-by: Chirag Shah <chirag@nvidia.com>
Diffstat (limited to 'lib/northbound_grpc.cpp')
0 files changed, 0 insertions, 0 deletions