]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: evpn path selection changes for MAC-IP SYNC route handling
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Sat, 28 Mar 2020 16:51:14 +0000 (09:51 -0700)
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Wed, 5 Aug 2020 13:46:12 +0000 (06:46 -0700)
commitd071f237150289a1176cdf3ae128ffb6fcb91688
tree8fa70e6253e1f154d7e8bd3ba89d3fd176cc76e8
parent7904e9fdfa66363c516fd2af151a7af2b06805fd
bgpd: evpn path selection changes for MAC-IP SYNC route handling

When a SYNC route i.e. a route with a local ES as destination is
rxed on a switch (say L11) from an ES peer (say L12) a local
MAC/neigh entry is created on L11 with the local access port
as dest port.

Creation of the local entry triggers a local path advertisement from
L11. This could be a "locally-active" path or a "locally-inactive"
path. Inactive paths are advertised with the proxy bit.

To ensure that the local entry is not deleted by a SYNC route it is
given absolute precedence over peer-paths.

If there are two non-local paths with the same dest ES and same MM
seq number the non-proxy path is preferred. This is done to ensure
that we don't lose track of the peer-activity.

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