]> git.puffer.fish Git - mirror/frr.git/commit
zebra: advertise evpn route upon l3vni svi mac chg 3800/head
authorChirag Shah <chirag@cumulusnetworks.com>
Thu, 14 Feb 2019 02:22:14 +0000 (18:22 -0800)
committerChirag Shah <chirag@cumulusnetworks.com>
Thu, 21 Feb 2019 21:50:43 +0000 (13:50 -0800)
commit97c4e1d0e47ade1da3c00c6cda93744444a23ae1
tree85f43672ee82bc0cb5a9bf8ef1f7c71fdf782da3
parent080c8b47a2557750f4cabf31aa76f567ca694eb6
zebra: advertise evpn route upon l3vni svi mac chg

L3VNI keeps reference to svi interface (ifp).

When a netlink change received there is no flag
that mac has changed. Currently simply overwrite
interface's (ifp) hw_addr (MAC) field.

For originating EVPN type-2 and type-5 routes due to VNI
MAC change, comparison is required to check existing MAC
vs. netlink change MAC field.

Ticket:CM-23850
Reviewed By:CCR-8283
Testing Done:

Validate EVPN type-5 routes originated upon changing MAC address
of L3VNI's SVI inteface via ip link set cmd.

checked show bgp l2vpn evpn route and Rmac field contains new
MAC address.

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