]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Cleanup mpls handling to allow a NEXTHOP_TYPE_IFINDEX
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 31 Jan 2018 21:29:24 +0000 (16:29 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 9 Feb 2018 01:31:37 +0000 (20:31 -0500)
commitb9abd9adac023bdb4927e6f9d095a3234240643a
tree01710987e47f3a86d53ba85f90007e8ac4e63b3a
parent75239f4f28b6b75fbc4d8b0f63c4a9193513989d
zebra: Cleanup mpls handling to allow a NEXTHOP_TYPE_IFINDEX

Add the ability for the nexthops to be a NEXTHOP_TYPE_IFINDEX.
Since we are using this code for L3vpn pop and forward operations
and we know that the lo or vrf device name must exist we
trust that it is correct.

Update display to show the correct data with a 'show mpls table'

Update the mpls install into the kernel to treat
NEXTHOP_TYPE_IFINDEX as special and we do not need
to pass in the nexthop label.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/zebra_mpls.c