]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_vxlan.c
zebra: maintain mcast tunnel origination and termination SG entries
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Tue, 26 Mar 2019 20:30:29 +0000 (13:30 -0700)
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Sat, 20 Apr 2019 15:33:20 +0000 (08:33 -0700)
commit8a93734c484dfb55ad6c8d7ed313ec9b405dae5a
treeded2d5f6748b25153ff9b5464a976c4eb0542613
parent315999e9b424b5824c28796ba62e43df1bb4cf2c
zebra: maintain mcast tunnel origination and termination SG entries

Each multicast tunnel is associated with a -
1. Tunnel origination mroute that is used for forwarding the
VxLAN encapsulated flow -
S - local VTEP-IP
G - BUM mcast-group
2. And a tunnel termination entry -
S - * (any remote VTEP)
G - BUM mcast-group

Multiple L2 VNIs can share the same BUM mcast group (and local-VTEP-IP).
Zebra maintains an mcast (SG) hash table to pass this info to pimd for
subsequent MDT setup.

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