summaryrefslogtreecommitdiff
path: root/python/clidef.py
diff options
context:
space:
mode:
authorMark Stapp <mstapp@nvidia.com>2021-10-05 15:32:23 -0400
committerMark Stapp <mstapp@nvidia.com>2021-11-23 11:23:26 -0500
commit002930f7bb68850dbff4e4d71b54ca7814f4cb86 (patch)
tree36a4c303ae2a33b31a00f16f7ae5190ab103022b /python/clidef.py
parent6e5532187f9e11d10f364fdac9f8e4efb16ff9be (diff)
zebra: add installed nexthop-group id value
In some cases, zebra may install a nexthop-group id that is different from the id of the nhe struct attached to a route-entry. This happens for a singleton recursive nexthop, for example, where a route is installed with the resolving nexthop's id. The installed value is the most useful value - that corresponds to information in the kernel on linux/netlink platforms that support nhgs. Display both values if they differ in ascii output, and include both values in the json form. Signed-off-by: Mark Stapp <mstapp@nvidia.com>
Diffstat (limited to 'python/clidef.py')
0 files changed, 0 insertions, 0 deletions