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

[active-standby] add knob to enable/disable oscillation #250

Merged
merged 6 commits into from
May 25, 2024

Conversation

zjswhhh
Copy link
Contributor

@zjswhhh zjswhhh commented May 23, 2024

Description of PR

Summary:
Fixes # (issue)

Add knob to enable/disable oscillation.

sign-off: Jing Zhang [email protected]

Type of change

  • Bug fix
  • New feature
  • Doc/Design
  • Unit test

Approach

What is the motivation for this PR?

To avoid test flakiness.
 

Work item tracking
  • Microsoft ADO (number only):
  • 28187403

How did you do it?

  1. Add DB interface to enable/disable the oscillation feature
  2. Add DB interface to config the oscillation interval

How did you verify/test it?

Tested on lab device:

  1. Knob was default on
  2. Turned it off
  3. Turned it on
  4. Changed the interval

Any platform specific information?

Documentation

@lolyu lolyu merged commit f96d40c into sonic-net:master May 25, 2024
9 checks passed
@zjswhhh zjswhhh deleted the knob_oscillation branch May 27, 2024 18:58
@lolyu
Copy link
Contributor

lolyu commented Jun 5, 2024

Hi @yxieca, could you please cherry-pick this into 202311 branch?

mssonicbld pushed a commit to mssonicbld/sonic-linkmgrd that referenced this pull request Jun 5, 2024
### Approach
#### What is the motivation for this PR?
To avoid test flakiness. 
 
##### Work item tracking
- Microsoft ADO **(number only)**:
- 28187403

#### How did you do it?
1. Add DB interface to enable/disable the oscillation feature
2. Add DB interface to config the oscillation interval 

#### How did you verify/test it?
Tested on lab device: 
1.  Knob was default on 
2.  Turned it off
3. Turned it on
4. Changed the interval 

#### Any platform specific information?
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202311: #252

mssonicbld pushed a commit that referenced this pull request Jun 5, 2024
### Approach
#### What is the motivation for this PR?
To avoid test flakiness. 
 
##### Work item tracking
- Microsoft ADO **(number only)**:
- 28187403

#### How did you do it?
1. Add DB interface to enable/disable the oscillation feature
2. Add DB interface to config the oscillation interval 

#### How did you verify/test it?
Tested on lab device: 
1.  Knob was default on 
2.  Turned it off
3. Turned it on
4. Changed the interval 

#### Any platform specific information?
StormLiangMS pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Jun 13, 2024
Why I did it
A new flag was introduced in sonic-net/sonic-linkmgrd#250 to disable mux oscillations but yang model wasn't updated. We are seeing multiple tests failing due to this, some of them are -

generic_config_updater/test_dynamic_acl.py
passw_hardening/test_passw_hardening.py
dualtor_mgmt/test_toggle_mux.py
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Jun 13, 2024
Why I did it
A new flag was introduced in sonic-net/sonic-linkmgrd#250 to disable mux oscillations but yang model wasn't updated. We are seeing multiple tests failing due to this, some of them are -

generic_config_updater/test_dynamic_acl.py
passw_hardening/test_passw_hardening.py
dualtor_mgmt/test_toggle_mux.py
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Jun 14, 2024
Why I did it
A new flag was introduced in sonic-net/sonic-linkmgrd#250 to disable mux oscillations but yang model wasn't updated. We are seeing multiple tests failing due to this, some of them are -

generic_config_updater/test_dynamic_acl.py
passw_hardening/test_passw_hardening.py
dualtor_mgmt/test_toggle_mux.py
mssonicbld pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Jun 15, 2024
Why I did it
A new flag was introduced in sonic-net/sonic-linkmgrd#250 to disable mux oscillations but yang model wasn't updated. We are seeing multiple tests failing due to this, some of them are -

generic_config_updater/test_dynamic_acl.py
passw_hardening/test_passw_hardening.py
dualtor_mgmt/test_toggle_mux.py
mssonicbld pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Jun 15, 2024
Why I did it
A new flag was introduced in sonic-net/sonic-linkmgrd#250 to disable mux oscillations but yang model wasn't updated. We are seeing multiple tests failing due to this, some of them are -

generic_config_updater/test_dynamic_acl.py
passw_hardening/test_passw_hardening.py
dualtor_mgmt/test_toggle_mux.py
henrymao-zz pushed a commit to canonical/sonic-buildimage that referenced this pull request Jun 23, 2024
Why I did it
A new flag was introduced in sonic-net/sonic-linkmgrd#250 to disable mux oscillations but yang model wasn't updated. We are seeing multiple tests failing due to this, some of them are -

generic_config_updater/test_dynamic_acl.py
passw_hardening/test_passw_hardening.py
dualtor_mgmt/test_toggle_mux.py
arun1355492 pushed a commit to arun1355492/sonic-buildimage that referenced this pull request Jul 26, 2024
Why I did it
A new flag was introduced in sonic-net/sonic-linkmgrd#250 to disable mux oscillations but yang model wasn't updated. We are seeing multiple tests failing due to this, some of them are -

generic_config_updater/test_dynamic_acl.py
passw_hardening/test_passw_hardening.py
dualtor_mgmt/test_toggle_mux.py
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