Skip to content

[dualtor_neighbor_check] Adjust zero-mac check condition#3034

Merged
prsunny merged 2 commits intosonic-net:masterfrom
lolyu:dualtor_neighbor_check_fix_zero_mac
Nov 6, 2023
Merged

[dualtor_neighbor_check] Adjust zero-mac check condition#3034
prsunny merged 2 commits intosonic-net:masterfrom
lolyu:dualtor_neighbor_check_fix_zero_mac

Conversation

@lolyu
Copy link
Contributor

@lolyu lolyu commented Nov 2, 2023

What I did

Work item tracking

  • Microsoft ADO (number only): 25667174

Fix the dualtor_neighbor_check error log complaining about the zero-mac neighbor inconsistency due to no tunnel route present in the ASIC.
This is because, for zero-mac neighbors, two situations:

  1. new neighbor just learnt, no neighbor entry in ASIC, tunnel route present in ASIC.
  2. neighbor expired, neighbor entry still present in ASIC, no tunnel route in ASIC.

Signed-off-by: Longxiang Lyu lolv@microsoft.com

How I did it

Adjust the check condition.

How to verify it

UT and verify on testbed with expired neighbors.

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
@lolyu lolyu requested a review from prsunny November 3, 2023 01:37
@prsunny prsunny merged commit ced0940 into sonic-net:master Nov 6, 2023
yxieca pushed a commit that referenced this pull request Nov 8, 2023
* [dualtor_neighbor_check] Adjust zero-mac check condition
StormLiangMS pushed a commit that referenced this pull request Nov 8, 2023
* [dualtor_neighbor_check] Adjust zero-mac check condition
@lolyu
Copy link
Contributor Author

lolyu commented Dec 1, 2023

Hi @yxieca, please help cherry-pick into 202211 again as the PR #2840 is into 202211

yxieca pushed a commit that referenced this pull request Dec 4, 2023
* [dualtor_neighbor_check] Adjust zero-mac check condition
nmoray pushed a commit to nmoray/sonic-utilities that referenced this pull request Jun 25, 2025
)

* [dualtor_neighbor_check] Adjust zero-mac check condition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants