-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[mux] Exit to write standby
state to active-active
ports
#11821
Conversation
Signed-off-by: Longxiang Lyu <[email protected]>
active-active
portsstandby
state to active-active
ports
Maybe need to do the same thing for bgp service:
|
Approach What is the motivation for this PR? Enable test_heartbeat_failure.py for active-active mux ports. How did you do it? How did you verify/test it? The test cases now fails because of sonic-net/sonic-buildimage#11821
Signed-off-by: Longxiang Lyu <[email protected]>
b19f322
to
d885c66
Compare
We should also pass in the module name, in this case 'mux', to the write class, so that it could check if we are warm restarting mux docker. You might want to change the parameter to --shutdown <mux|bgp> so it ready for BGP for the next PR> |
|
Signed-off-by: Longxiang Lyu <[email protected]>
Hi, @yxieca, updated, please take a review, thanks! |
[mux] Exit to write standby state to `active-active` ports Signed-off-by: Longxiang Lyu <[email protected]>
[mux] Exit to write standby state to `active-active` ports Signed-off-by: Longxiang Lyu <[email protected]>
…t#6211) Approach What is the motivation for this PR? Enable test_heartbeat_failure.py for active-active mux ports. How did you do it? How did you verify/test it? The test cases now fails because of sonic-net/sonic-buildimage#11821
Why I did it
After stopping the
mux
container,show mux status
returnsactive
foractive-active
ports, which should be instandby
state.Signed-off-by: Longxiang Lyu [email protected]
How I did it
Let
mux
exit by callingwrite_standby.py
with args to writestandby
foractive-active
ports.How to verify it
Stop
mux
container and verifyactive-active
ports are instandby
.Which release branch to backport (provide reason below if selected)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)