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

[Test Gap][dualtor-aa] Validate forwarding state consistency when socnet agent randomly reset admin state on host side #16168

Open
zjswhhh opened this issue Dec 19, 2024 · 0 comments

Comments

@zjswhhh
Copy link
Contributor

zjswhhh commented Dec 19, 2024

Test Gap Description

Recently resolved an issue: sonic-net/sonic-linkmgrd#282

And noticed that we don't have test cases to validate that admin forwarding state is corrected to ToR desired state whenever host side rese it.

Test Plan

To achieve the test scenario, we need to develop as a set of fixtures to set nic_simulator state without toggling from ToR.

Test steps:

  1. set ToR side mux state to standby
  2. validate "standby" state is consistent
  3. nic_simulator changes the forwarding state to "active"
  4. validate the state is corrected back to "standby"

Do the test for "active" scenario as well.

Test environment

topology: dualtor-aa

Attach files (if any)

No response

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

No branches or pull requests

1 participant