]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: add client counter for nhg operations
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 23 Nov 2023 16:18:23 +0000 (17:18 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 30 Nov 2023 13:25:00 +0000 (14:25 +0100)
commitd41b425ab3384f80b338a8ec3b407a277a8646e0
tree5e2538e4226bc292f85eebecc17d61a0b4dcd2bb
parent427d3f81f4a8c040b52ecb2e1d7ba4224b2d069c
zebra: add client counter for nhg operations

Add three counters that account for the nhg operations
that are using the zebra API with the NHG_ADD and NHG_DEL
commands.

> # show zebra client
> [..]
> Type        Add         Update      Del
> ==================================================
> IPv4        100         0           0
> IPv6        0           0           0
> Redist:v4   0           0           0
> Redist:v6   0           0           0
> NHG         1           1           1
> VRF         3           0           0
> [..]

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
zebra/zapi_msg.c
zebra/zserv.c
zebra/zserv.h