Skip to content

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

Merged
lolyu merged 6 commits intosonic-net:masterfrom
zjswhhh:knob_oscillation
May 25, 2024
Merged

[active-standby] add knob to enable/disable oscillation #250
lolyu merged 6 commits intosonic-net:masterfrom
zjswhhh:knob_oscillation

Conversation

@zjswhhh
Copy link
Copy Markdown
Collaborator

@zjswhhh zjswhhh commented May 23, 2024

Description of PR

Summary:
Fixes # (issue)

Add knob to enable/disable oscillation.

sign-off: Jing Zhang zhangjing@microsoft.com

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
Copy link
Copy Markdown
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
Copy Markdown
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
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