]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_mpls.c
lib,zebra,bgpd,staticd: use label code to store VNI info
authorStephen Worley <sworley@nvidia.com>
Thu, 1 Apr 2021 15:31:44 +0000 (11:31 -0400)
committerStephen Worley <sworley@nvidia.com>
Mon, 13 Feb 2023 23:12:05 +0000 (18:12 -0500)
commit4645cb6bc2a4635925dae16533d6277b8da376c4
tree4b1c93288f7125cb20dda7e5e3b81bd29dd06364
parent78d106e1cbb0af335409f60ababe5a2649da9704
lib,zebra,bgpd,staticd: use label code to store VNI info

Use the already existing mpls label code to store VNI
info for vxlan. VNI's are defined as labels just like mpls,
we should be using the same code for both.

This patch is the first part of that. Next we will need to
abstract the label code to not be so mpls specific. Currently
in this, we are just treating VXLAN as a label type and storing
it that way.

Signed-off-by: Stephen Worley <sworley@nvidia.com>
12 files changed:
bgpd/bgp_evpn.h
isisd/isis_spf.c
lib/mpls.c
lib/mpls.h
lib/nexthop_group.c
ospfd/ospf_ti_lfa.c
zebra/zapi_msg.c
zebra/zebra_mpls.c
zebra/zebra_mpls.h
zebra/zebra_rib.c
zebra/zebra_rnh.c
zebra/zebra_vty.c