diff options
author | Mitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com> | 2017-11-21 11:42:05 +0100 |
---|---|---|
committer | mitesh <mitesh@cumulusnetworks.com> | 2018-01-24 00:58:53 +0100 |
commit | b57ba6d2a893e196fbc96e5ab8ca17d0f8ddf171 (patch) | |
tree | 8153d61f0934deb6ea3ef4bb527f59c9efcb6625 /bgpd/bgp_debug.h | |
parent | bgpd: bgpd crash in update all type2 routes (diff) | |
download | frr-b57ba6d2a893e196fbc96e5ab8ca17d0f8ddf171.tar.xz frr-b57ba6d2a893e196fbc96e5ab8ca17d0f8ddf171.zip |
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>
Diffstat (limited to 'bgpd/bgp_debug.h')
-rw-r--r-- | bgpd/bgp_debug.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_debug.h b/bgpd/bgp_debug.h index 5fe19b162..7c773cfaf 100644 --- a/bgpd/bgp_debug.h +++ b/bgpd/bgp_debug.h @@ -153,7 +153,8 @@ extern int bgp_debug_zebra(struct prefix *p); extern int bgp_debug_count(void); extern const char *bgp_debug_rdpfxpath2str(afi_t, safi_t, struct prefix_rd *, - union prefixconstptr, mpls_label_t *, + union prefixconstptr, + mpls_label_t *, u_int32_t, int, u_int32_t, char *, int); const char *bgp_notify_admin_message(char *buf, size_t bufsz, u_char *data, size_t datalen); |