]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: L3VNI to L2VNI conversion is not handled
authorAmeya Dharkar <adharkar@vmware.com>
Wed, 2 Dec 2020 03:54:53 +0000 (19:54 -0800)
committerAmeya Dharkar <adharkar@vmware.com>
Thu, 17 Dec 2020 02:06:37 +0000 (18:06 -0800)
commit3b0a590bf30ad07665b54fdd516072b999c6f8a3
tree040c0419bcef30aac78f62e77219703f09c827f4
parent91653aefd487fb35ffca8f2d8db35b8c2b03fd6c
zebra: L3VNI to L2VNI conversion is not handled

After removal of L3VNI config, the VNI should become an L2VNI if a VxLAN
interface is present for the VNI. This case is not handled in the code.

Changes:
1. After unconfiguring L3VNI, create an L2VNI if VxLAN interface is present
for the VNI.
2. Trigger an update to BGP.
3. Read MAC and ARP entries from kernel.

This PR fixes the issue only for route type-2, 3 and 5. This PR does not address
states regarding route type-1, 4 and multicast group for VxLAN interface.

Signed-off-by: Ameya Dharkar <adharkar@vmware.com>
zebra/zebra_vxlan.c