]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_evpn_private.h
bgpd: handle local ES del or transition to LACP bypass
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Sun, 30 Aug 2020 21:05:33 +0000 (14:05 -0700)
committerAnuradha Karuppiah <anuradhak@nvidia.com>
Fri, 26 Mar 2021 02:24:39 +0000 (19:24 -0700)
commit74efb822234294dd9776e2838936cfebbf957431
tree6cf8ae8edffb83a3088c4bf4802f625e81f0f617
parent090efa2fb70f1821d4a9cf7676b5e870d2b2992c
bgpd: handle local ES del or transition to LACP bypass

1. When a local ES is deleted or the ES-bond goes into bypass we treat
imported MAC-IP routes with that ES destination as remote routes instead
of sync routes. This requires a re-evaluation of the routes as
"non-local-dest" and an update to zebra.
2. When a ES is attached to an access port or the ES-bond transitions from
bypass to LACP-up we treat imported MAC-IP routes with that ES destination as
sync routes. This requires a re-evaluation of the routes as
"local-dest" and an update to zebra.

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