]> git.proxmox.com Git - mirror_frr.git/commit
zebra: implement protocol NHG Add/Del
authorStephen Worley <sworley@cumulusnetworks.com>
Tue, 5 May 2020 19:57:35 +0000 (15:57 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Mon, 28 Sep 2020 16:40:59 +0000 (12:40 -0400)
commit0885b1e3d90b1fa4d84c7e7a5fb775ba397c4103
tree961dc15e906db3ecad2b244371bdeb9587478c05
parent5b27c09d4e7e304845d89fe6de597d29a40d774e
zebra: implement protocol NHG Add/Del

Implement the underlying zebra functionality to Add/Del an
internal zebra and kernel NHG.

These NHGs are managed by the upperlevel protocols that send them
down via zapi messaging.

They are not put into the overall zebra NHG hash table and only
put into to the ID table. Therefore, different protos cannot
and will not share NHGs.

The proto is also set appropriately when sent to the kernel.

Expand the separation of Zebra hashed/shared/created NHGs and
proto created and mangaged NHGs.

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