Skip to content
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

[dualtor] Support reset heartbeat suspend timer on active-standby ports #3776

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lolyu
Copy link
Contributor

@lolyu lolyu commented Feb 24, 2025

What I did

Support reset heartbeat suspend timer on active-standby dualtor mux ports.
This depends on sonic-net/sonic-linkmgrd#286.

  • Microsoft ADO (number only): 31520887

Signed-off-by: Longxiang Lyu [email protected]

How I did it

Add sub CLI config muxcable reset-heartbeat-suspend to write the reset port list to MUX_LINKMGR|LINK_PROBER.
The DB operations of config muxcable reset-heartbeat-suspend all:

1740387788.261626 [4 unix:/var/run/redis/redis.sock] "HSET" "MUX_LINKMGR|LINK_PROBER" "reset_suspend_timer" "Ethernet12,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet4,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet8,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96"
1740387788.264557 [4 unix:/var/run/redis/redis.sock] "HDEL" "MUX_LINKMGR|LINK_PROBER" "reset_suspend_timer"

How to verify it

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)

@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@lolyu lolyu force-pushed the cli_reset_suspend branch from 952c297 to a063c3d Compare February 24, 2025 09:17
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants