-
Notifications
You must be signed in to change notification settings - Fork 26
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
[active-active] Wrong table name used for toggling PEER's forwarding state #101
Closed
Labels
bug
Something isn't working
Comments
Merged
5 tasks
5 tasks
The behavior above is actually expected as linkmgrd uses |
yxieca
pushed a commit
to sonic-net/sonic-platform-daemons
that referenced
this issue
Aug 10, 2022
Description Fixes: sonic-net/sonic-linkmgrd#101 ycabled failed to toggle peer forwarding state for active-active ports. Use ConsumerStateTable to listen to HW_FORWARDING_STATE_PEER. Signed-off-by: Longxiang Lyu [email protected] Motivation and Context As the description How Has This Been Tested? On a dualtor-mixed testbed, shutdown a port on upper ToR, verified the lower ToR could toggle the nic_simulator upper ToR forwarding state to standby. Signed-off-by: Longxiang Lyu <[email protected]>
yxieca
pushed a commit
to sonic-net/sonic-platform-daemons
that referenced
this issue
Aug 10, 2022
Description Fixes: sonic-net/sonic-linkmgrd#101 ycabled failed to toggle peer forwarding state for active-active ports. Use ConsumerStateTable to listen to HW_FORWARDING_STATE_PEER. Signed-off-by: Longxiang Lyu [email protected] Motivation and Context As the description How Has This Been Tested? On a dualtor-mixed testbed, shutdown a port on upper ToR, verified the lower ToR could toggle the nic_simulator upper ToR forwarding state to standby. Signed-off-by: Longxiang Lyu <[email protected]>
lolyu
added a commit
to sonic-net/sonic-mgmt
that referenced
this issue
Aug 17, 2022
Approach What is the motivation for this PR? Enable link down scenario for dualtor active-active testcases. Signed-off-by: Longxiang Lyu [email protected] How did you do it? Modify port shutdown fixtures to shutdown ports based on the parameterized cable type. Enable test_active_link_down_upstream How did you verify/test it? Failed because now linkmgrd fails toggle peer forwarding state, as sonic-net/sonic-linkmgrd#101 Any platform specific information?
allen-xf
pushed a commit
to allen-xf/sonic-mgmt
that referenced
this issue
Oct 28, 2022
Approach What is the motivation for this PR? Enable link down scenario for dualtor active-active testcases. Signed-off-by: Longxiang Lyu [email protected] How did you do it? Modify port shutdown fixtures to shutdown ports based on the parameterized cable type. Enable test_active_link_down_upstream How did you verify/test it? Failed because now linkmgrd fails toggle peer forwarding state, as sonic-net/sonic-linkmgrd#101 Any platform specific information?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The table name should be
HW_FORWARDING_STATE
.https://github.com/sonic-net/sonic-linkmgrd/blob/master/src/DbInterface.h#L54
The text was updated successfully, but these errors were encountered: