-
Notifications
You must be signed in to change notification settings - Fork 1.4k
zebra: Do not flush an existing vni configuration trying to remove wrong vni #18108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zebra: Do not flush an existing vni configuration trying to remove wrong vni #18108
Conversation
|
Hey @ton31337, thanks for this PR this does indeed fix the issue I described, however there is one edge case: If there is a vrf with that VNI it will still delete the default one, without checking if that's the one specified, so it's like a false positive. We say 'delete 2', it deletes the default one, so '1' in this case, because there is a '2' in the vrf. (the value has to match the value in the VRF). Do you think there is a way to guard against that as well? Because that seems to be our case (in an environment where there are a lot of vrfs). |
…ong vni Before: ``` pc.donatas.net(config)# do sh run | include vni vni 1 pc.donatas.net(config)# no vni 2 pc.donatas.net(config)# do sh run | include vni pc.donatas.net(config)# ``` Signed-off-by: Donatas Abraitis <[email protected]>
d8161fd to
44fe398
Compare
|
@piotrsuchy could you retest with the latest changes? |
|
It does work exactly how I thought it should now! Thanks! |
|
@mergifiyio backport dev/10.3 stable/10.0 stable/10.1 |
|
@Mergifyio backport stable/10.3 stable/10.2 stable/10.1 stable/10.0 |
✅ Backports have been createdDetails
|
zebra: Do not flush an existing vni configuration trying to remove wrong vni (backport #18108)
zebra: Do not flush an existing vni configuration trying to remove wrong vni (backport #18108)
zebra: Do not flush an existing vni configuration trying to remove wrong vni (backport #18108)
zebra: Do not flush an existing vni configuration trying to remove wrong vni (backport #18108)
Closes #17952