summaryrefslogtreecommitdiff
path: root/tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp.py
diff options
context:
space:
mode:
authoranlan_cs <vic.lan@pica8.com>2022-03-31 02:19:55 -0400
committeranlan_cs <vic.lan@pica8.com>2022-03-31 02:51:26 -0400
commitc4992a2f7177b1747321921f7bec3fe79a146e52 (patch)
treeceee60822444d67e0f342bc8af612f62f94a9983 /tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp.py
parent403715424069cbf831bd532c615d36d83e5c6c1c (diff)
zebra: fix missing vrf change of l2vni on vxlan interface
The bounded vrf of `l2vni/zevpn` have wrong relation with the order in which vxlan interface and svi interface are set. If set vxlan interface with vlanid first, then set svi interface with vrf, it is ok that vxlan interface will get correct `vrf` inherited from svi. But reverse the set sequence (i.e. set svi first, then vxlan), vxlan interface can't get correct `vrf`, becasue the handling of `ZEBRA_VXLIF_VLAN_CHANGE` missed inheritting `vrf` by mistake. ``` host# do show evpn vni 101 VNI: 101 Type: L2 Tenant VRF: vrf1 ``` So update `vrf` ("Tenant VRF") of l2vni in `zebra_vxlan_if_update()`. Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp.py')
0 files changed, 0 insertions, 0 deletions