diff options
| author | Anuradha Karuppiah <anuradhak@cumulusnetworks.com> | 2020-08-30 14:05:33 -0700 | 
|---|---|---|
| committer | Anuradha Karuppiah <anuradhak@nvidia.com> | 2021-03-25 19:24:39 -0700 | 
| commit | 74efb822234294dd9776e2838936cfebbf957431 (patch) | |
| tree | 6cf8ae8edffb83a3088c4bf4802f625e81f0f617 /bgpd/bgp_evpn_private.h | |
| parent | 090efa2fb70f1821d4a9cf7676b5e870d2b2992c (diff) | |
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>
Diffstat (limited to 'bgpd/bgp_evpn_private.h')
| -rw-r--r-- | bgpd/bgp_evpn_private.h | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_evpn_private.h b/bgpd/bgp_evpn_private.h index dfaac76f02..debed9f68b 100644 --- a/bgpd/bgp_evpn_private.h +++ b/bgpd/bgp_evpn_private.h @@ -639,4 +639,5 @@ extern void bgp_evpn_update_type2_route_entry(struct bgp *bgp,  extern int bgp_evpn_route_entry_install_if_vrf_match(struct bgp *bgp_vrf,  						     struct bgp_path_info *pi,  						     int install); +extern void bgp_evpn_import_type2_route(struct bgp_path_info *pi, int import);  #endif /* _BGP_EVPN_PRIVATE_H */  | 
