]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: carry two MPLS labels in EVPN NLRIs
authorMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>
Tue, 21 Nov 2017 10:42:05 +0000 (02:42 -0800)
committermitesh <mitesh@cumulusnetworks.com>
Tue, 23 Jan 2018 23:58:53 +0000 (15:58 -0800)
commitb57ba6d2a893e196fbc96e5ab8ca17d0f8ddf171
tree8153d61f0934deb6ea3ef4bb527f59c9efcb6625
parenta6ad0a4183be908b594e70a60a66b67d74b8c946
bgpd: carry two MPLS labels in EVPN NLRIs

When doing symmetric routing,
EVPN type-2 (MACIP) routes need to be advertised with two labels (VNIs)
the first being the L2 VNI (identifying the VLAN) and
the second being the L3 VNI (identifying the VRF).
The receive processing needs to handle one or two labels too.

Ticket: CM-18489
Review: CCR-6949
Testing: manual and bgp/evpn/mpls smoke

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
15 files changed:
bgpd/bgp_attr.c
bgpd/bgp_attr.h
bgpd/bgp_debug.c
bgpd/bgp_debug.h
bgpd/bgp_evpn.c
bgpd/bgp_evpn.h
bgpd/bgp_evpn_private.h
bgpd/bgp_label.c
bgpd/bgp_mplsvpn.c
bgpd/bgp_route.c
bgpd/bgp_route.h
bgpd/bgp_routemap.c
bgpd/bgp_updgrp_packet.c
bgpd/bgp_zebra.c
bgpd/rfapi/vnc_export_bgp.c