]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_evpn.c
bgpd: Handle multiple simultaneous changes for a VNI correctly
authorvivek <vivek@cumulusnetworks.com>
Thu, 25 Jan 2018 06:41:44 +0000 (22:41 -0800)
committermitesh <mitesh@cumulusnetworks.com>
Fri, 9 Feb 2018 07:02:44 +0000 (23:02 -0800)
commitd1911c2664cf84aa674d433396bbdecf2db9d3eb
treeeb594c92aa61625cd945b24caa8f8a16c03f64ba
parent2ca3a78b6835e4009913cbb8eb67f070bf1595b4
bgpd: Handle multiple simultaneous changes for a VNI correctly

Ensure that if multiple parameters for a VNI change simultaneously, the
changes are processed correctly. The changes of interest are the local
tunnel IP address and the tenant VRF to which this VNI is attached. The
former is used to originate type-3 routes as well as set the next hop of
all routes, the latter helps to determine the route targets and VNIs to
include in the route.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Ticket: CM-19099
Reviewed By: CCR-7102
Testing Done:
1. Manually reproduced problem and verified fix.
2. Additional trigger events tested with fix.
bgpd/bgp_evpn.c