]> git.proxmox.com Git - mirror_frr.git/commit
lib,zebra,sharpd: add code for backup proto-NHs but disabled
authorStephen Worley <sworley@cumulusnetworks.com>
Fri, 25 Sep 2020 17:48:21 +0000 (13:48 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Mon, 28 Sep 2020 16:41:00 +0000 (12:41 -0400)
commit21735352987e56f11facdc9fb1f4c53602aba9f6
treed085984eacfd352271cb47980c1443db92aa7059
parentc6ce9334b5387f482af4112ed1ffe6a49debe352
lib,zebra,sharpd: add code for backup proto-NHs but disabled

Add the zapi code for encoding/decoding of backup nexthops for when
we are ready for it, but disable it for now so that we revert
to the old way with them.

When zebra gets a proto-NHG with a backup in it, we early fail and
tell the upper level proto. In this case sharpd. Sharpd then reverts
to the old way of installation with the route.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
lib/zclient.c
lib/zclient.h
sharpd/sharp_nht.c
sharpd/sharp_zebra.c
sharpd/sharp_zebra.h
zebra/zapi_msg.c
zebra/zebra_nhg.c