]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_nhg.h
zebra,lib: command to only install proto-based nexthops
authorStephen Worley <sworley@cumulusnetworks.com>
Wed, 13 May 2020 19:50:14 +0000 (12:50 -0700)
committerStephen Worley <sworley@cumulusnetworks.com>
Mon, 28 Sep 2020 16:40:59 +0000 (12:40 -0400)
commit6c67f41f9e39bca29416c38eecc74ec729d1d60f
tree3ec3d87697438c4ffc35d5f685d113eb5a109a4b
parent0885b1e3d90b1fa4d84c7e7a5fb775ba397c4103
zebra,lib: command to only install proto-based nexthops

Add a command/functionality to only install proto-based nexthops.
That is nexthops owned/created by upper level protocols, not ones
implicitly created by zebra.

There are some scenarios where you would not want zebra to be
arbitrarily installing nexthop groups and but you still want
to use ones you have control over via lib/nexthop_group config
and an upper level protocol.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
lib/zclient.c
lib/zclient.h
zebra/rt_netlink.c
zebra/zebra_nhg.c
zebra/zebra_nhg.h
zebra/zebra_vty.c