]> git.proxmox.com Git - mirror_frr.git/commit
zebra: implement recursive MPLS labels
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 20 Sep 2017 03:05:25 +0000 (00:05 -0300)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 19 Feb 2018 18:22:57 +0000 (13:22 -0500)
commitfa7129639684378ad852b934efeb6246ef82800e
tree68ec49697ef117862c42f11c3c30f08999081363
parent97133f7f9f3c69addde1c9375d2229008e2e979f
zebra: implement recursive MPLS labels

When a BGP-labeled route is resolved into an LDP-labeled IGP route,
zebra would install it with no labels in the kernel. This patch implements
recursive MPLS labels, i.e. make zebra install all labels from the route's
nexthop chain (the labels from the top-level nexthop being installed in
the top of the MPLS label stack). Multiple recursion levels are supported.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
zebra/rt_netlink.c