]> git.puffer.fish Git - matthieu/frr.git/commit
lib, zebra: Add ZAPI_NHG_ADD|DELETE
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 29 Apr 2020 14:49:21 +0000 (10:49 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Mon, 28 Sep 2020 16:40:59 +0000 (12:40 -0400)
commit2f35a820bf51f114c3c382f65c2dd3e1e9b67194
treeaa36c2e34a8634e80a2e616d16f6c8e73eaa2124
parentf70da2a390dbcad64f86118976b3abefa3da1fa2
lib, zebra: Add ZAPI_NHG_ADD|DELETE

Add the ability to send a NHG from an upper level protocol down to
zebra.  ZAPI_NHG_ADD encompasses both the addition and replace
semantics ( If the id passed down does not exist yet, it's Add,
else it's a replace ).

Effectively zebra will take this nhg passed down save the nhg
in the id hash for nhg's and then create the appropriate nhg's
and finally install them into the linux kernel.  Notification
will be the ZAPI_NHG_NOTIFY_OWNER zapi message for normal
success/failure messaging to the installing protocol.

This work is being done to allow us to work with EVPN MH
which needs the ability to modify NHG's that BGP will own
and operate on.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/zclient.c
lib/zclient.h
zebra/zapi_msg.c