]> git.proxmox.com Git - mirror_frr.git/commit - pimd/pim_vxlan.c
pimd: setup multicast vxlan tunnel termination device
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Sun, 24 Mar 2019 15:50:50 +0000 (08:50 -0700)
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Sat, 20 Apr 2019 15:33:23 +0000 (08:33 -0700)
commit0a2dcc1c41093600b2cccbaca916fa6c71316ce8
tree14d3d4d3816fb378e3b204274ae6308148150b00
parent269c1fe1e75a8ca7c73680b81641d7e05efc4335
pimd: setup multicast vxlan tunnel termination device

An interface needs to be designated as "termination device" and added to
the termination mroute's OIL. This is used by kernel and ASIC backends
to vxlan-decaps matching flows.

The default termination device is expected to have the prefix (start
sub-string) "ipmr-lo". This can be made configurable if needed -
root@TORS1:~# ip -d link show ipmr-lo
28: ipmr-lo: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT group default
    link/ether 12:5a:ae:74:51:a2 brd ff:ff:ff:ff:ff:ff promiscuity 0
    dummy addrgenmode eui64
root@TORS1:~# ip mr

This commit includes the changes to enable pim implicitly on the device
and set it up as the vxlan-term device per-pim-instance.

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
pimd/pim_vxlan.c
pimd/pim_vxlan.h
pimd/pim_zebra.c