]> git.puffer.fish Git - mirror/frr.git/commit
zebra: L3VNI's are allowed to unconfigure from any VRF 4126/head
authorKishore Aramalla <karamalla@vmware.com>
Thu, 11 Apr 2019 19:04:34 +0000 (12:04 -0700)
committerKishore Aramalla <karamalla@vmware.com>
Thu, 11 Apr 2019 19:04:34 +0000 (12:04 -0700)
commit7a6ca8a6aee50d2724e379f22ac9205e1fae06ab
treecb56ec6c5d42fc8ef1319ba2d790b12d896851e3
parentd53387edbef3be8bf145a68127d79fbbe846038f
zebra: L3VNI's are allowed to unconfigure from any VRF

L3VNI configured in a specific VRF is allowed to unconfigure from any
VRF, including default (global) VRF. This results L3VNI delete notification
to BGP and subsequent type-5 route uninstall from the VRF the L3VNI belong to.
This also resulted in the inconsistent running configuration.

The deleted L3VNI still shows up in its original VRF. The VRF in which the
"no vni <x>" was executed doesn't display its own L3VNI.

Added a VRF check in zebra to prevent this.

Signed-off-by: Kishore Aramalla <karamalla@vmware.com>
zebra/zebra_vxlan.c