]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_vxlan.c
zebra: install flood FDB entry only if the remote VTEP asked for HER
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Tue, 19 Mar 2019 17:37:22 +0000 (10:37 -0700)
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Sat, 20 Apr 2019 15:33:20 +0000 (08:33 -0700)
commit9718c54ef44f46e97ecb4aa4c570f4337113322c
tree2f05d96d0e0f33914029755adfa81805425306ca
parentb16dd0191caead2a76db05a1261f18e5af68dc10
zebra: install flood FDB entry only if the remote VTEP asked for HER

Remote VTEPs advertise the flood mode via IMET and the ingress VTEP
needs to perform head-end-replication of BUM packets to it only if the
PMSI tunnel type is set to ingress-replication. If a type-3 route is not
rxed or rxed with a mode other than ingress-replication we can skip
installation of the flood fdb entry for that L2-VNI. In that case the
remote VTEP is either not interested in BUM traffic or is using a
"static-config" based replication mode like PIM.

Sample output with HER -
=======================
root@TORS1:~# vtysh -c "show evpn vni 1000" |grep "Remote\|flood"
 Remote VTEPs for this VNI:
  27.0.0.8 flood: HER
root@TORS1:~#

Sample output with PIM-SM -
=========================
root@TORS2:~# vtysh -c "show evpn vni 1000" |grep "Remote\|flood"
 Remote VTEPs for this VNI:
  27.0.0.7 flood: -
root@TORS2:~#

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
zebra/zebra_vxlan.c
zebra/zebra_vxlan_private.h