]> git.proxmox.com Git - mirror_frr.git/commit
zebra: evpn update remote rmac and nexhop
authorChirag Shah <chirag@cumulusnetworks.com>
Mon, 28 Oct 2019 20:47:05 +0000 (13:47 -0700)
committerChirag Shah <chirag@cumulusnetworks.com>
Thu, 7 Nov 2019 18:49:18 +0000 (10:49 -0800)
commit651fa9053d67d4f068020eadbecdd81b608bb4aa
tree54dfe1d605bc041a3acd6c75448da9293d8d26b5
parent306c4dab553443e3a3b106dd64c2f3ffcde3fbb0
zebra: evpn update remote rmac and nexhop

In symmetric routing case for evpn (type-2/type-5)
routes, nexthop and Router mac fields can change from
the originating VTEP.

At the receiving VTEP, bgp path info may points to different
nexthop IP (nh1->nh2) and Remote MAC remain the same.
When the bgp sync the route with nexthop and RMAC fields.
For the exisitng rmac entry update/replace with the new
nexthop (VTEP) IP in remote rmac db in Zebra.

Similarly, bgp path info may points different Router-mac
(RMAC1->RMAC2) and the nexthop value remains the same.
In this case, update to the new RMAC value for the
existing remote nexthop in the Zebra' nexthop cache db.

Ticket:CM-26917
Reviewed By:CCR-9435
Testing Done:

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
zebra/zebra_vxlan.c