]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_attr_evpn.c
bgpd: handling EVPN Route Type 5 NLRI message
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 5 Sep 2016 09:07:25 +0000 (11:07 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 14 Feb 2017 12:58:57 +0000 (13:58 +0100)
commit7ef5a2328817de75095b625972562b540334a691
tree14f26641208b7858309c58ffbcc8c8eb54c5a05c
parent212f5cbcedd477a4652a880f86eddd3b304ea7e5
bgpd: handling EVPN Route Type 5 NLRI message

This patch introduces code to receive a NLRI message with route type
5, as defined in draft-ietf-bess-evpn-prefix-advertisement-02. It
It increases the number of parameters to extract from the NLRI and
to store into bgp extra information structure. Those parameters are
the ESI (ethernet segment identifier), the gateway IP Address (which
acts like nexthop attribute but is contained inside the NLRI itself)
and the ethernet tag identifier ( that acts for the VXLan Identifier)
This patch updates bgp_update() and bgp_withdraw() api, and then does the
necessary adapations for rfapi.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
13 files changed:
bgpd/Makefile.am
bgpd/bgp_attr_evpn.c
bgpd/bgp_attr_evpn.h
bgpd/bgp_encap.c
bgpd/bgp_evpn.c [new file with mode: 0644]
bgpd/bgp_evpn.h [new file with mode: 0644]
bgpd/bgp_mplsvpn.c
bgpd/bgp_packet.c
bgpd/bgp_packet.h
bgpd/bgp_route.c
bgpd/bgp_route.h
bgpd/bgpd.c
bgpd/rfapi/vnc_export_bgp.c