]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: Use BGP_ROUTE_IMPORTED for EVPN
authorvivek <vivek@cumulusnetworks.com>
Fri, 16 Mar 2018 23:22:17 +0000 (23:22 +0000)
committervivek <vivek@cumulusnetworks.com>
Fri, 16 Mar 2018 23:22:17 +0000 (23:22 +0000)
commit90f4f482c87f252bcb3d040780b82878d6d582da
tree6bb0c6f3610a04430decfc01ee3c730d68c499dd
parent911d8ac862b2efc0d3fb69fa352c52690b426b12
bgpd: Use BGP_ROUTE_IMPORTED for EVPN

Set EVPN routes imported into a VRF to (sub)type BGP_ROUTE_IMPORTED and
use this for passing appropriate information to zebra. This is needed
because relying on the Router MAC for this purpose was incorrect and
impacted routing to/from external destinations, particularly for IPv6.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
bgpd/bgp_evpn.c
bgpd/bgp_route.c
bgpd/bgp_zebra.c