]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_evpn_private.h
bgpd: on ES down re-advertise the MAC-IP entry without the L3 ECOM
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Fri, 14 Aug 2020 22:48:34 +0000 (15:48 -0700)
committerAnuradha Karuppiah <anuradhak@nvidia.com>
Fri, 26 Mar 2021 00:09:53 +0000 (17:09 -0700)
commit70524092b22ce7b0aa0c23612f7e5a12dbf243bc
tree071b7607d5723b5473eef0e8dc1942b86640cc9d
parent1a6aa9d0984daa5c2f137314e6d288ebbc88f9b2
bgpd: on ES down re-advertise the MAC-IP entry without the L3 ECOM

When an ES goes down the MAC-IP route must be updated to remove it from
the tenant VRF routing table. This is because the fast-failover
(via EAD-per-ES withdraw) procedures described in RFC 7432 are only
applicable to L2 forwarding/MAC-ECMP. For L3/routed traffic (in a
sym-IRB setup) failover, individual paths need to be withdrawn.

To handle this difference in L2/L3 requirements BGP updates the MAC-IP
route to include the L3 ECOM if local destination ES is oper-up and
to exclude the L3 ECOM if local ES is oper-down.

Ticket: CM-30935

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
bgpd/bgp_evpn.c
bgpd/bgp_evpn_mh.c
bgpd/bgp_evpn_mh.h
bgpd/bgp_evpn_private.h