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

[MuxOrch] FDB ageout safety check #1674

Merged
merged 2 commits into from
Mar 23, 2021
Merged

[MuxOrch] FDB ageout safety check #1674

merged 2 commits into from
Mar 23, 2021

Conversation

prsunny
Copy link
Collaborator

@prsunny prsunny commented Mar 19, 2021

What I did
Added safety check to handle one scenario of fdb ageout and mux state change.
If no fdb exists, return the state of current mux port associated.

Why I did it

How I verified it

Details if related

@lguohan
Copy link
Contributor

lguohan commented Mar 19, 2021

vs test?

@prsunny prsunny merged commit 306b942 into sonic-net:master Mar 23, 2021
@prsunny prsunny deleted the fdbfix branch March 23, 2021 01:25
yxieca pushed a commit that referenced this pull request Mar 26, 2021
* FDB ageout extra check
* VS test to cover fdb ageout scenario
raphaelt-nvidia pushed a commit to raphaelt-nvidia/sonic-swss that referenced this pull request Oct 5, 2021
* FDB ageout extra check
* VS test to cover fdb ageout scenario
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
#### What I did
Fixing db_migrator.py for FEATURE table. In case of version_unknown, all versions' migrator APIs would be invoked which will also invoke the feature_table migration. Without the field check for 'status' the current logic will set it 'disabled' and will set 'state' field too to be 'disabled' which will in turn disable all the features bringing down the system.

#### How I did it
Added check to migrate only if 'status' field is present.

#### How to verify it
Install the image through onie and confirm if services are up
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.

5 participants