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

[202012] Fix build error in adding support for blackhole routes #1751

Merged
merged 1 commit into from
May 19, 2021

Conversation

shi-su
Copy link
Contributor

@shi-su shi-su commented May 19, 2021

What I did
Remove SAI failure handling related code in supporting blackhole routes.

Why I did it
SAI failure handling logic is not included in the 202012 branch. Removing the code to avoid build errors.

How I verified it

Details if related

@shi-su shi-su marked this pull request as ready for review May 19, 2021 17:17
@shi-su shi-su changed the title Fix build error in adding support for blackhole routes [202012] Fix build error in adding support for blackhole routes May 19, 2021
@lgtm-com
Copy link

lgtm-com bot commented May 19, 2021

LGTM pull request analysis was skipped for 680f213 by shi-su. Analysis of future commits will happen as normal.

@shi-su shi-su merged commit 05f0438 into sonic-net:202012 May 19, 2021
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
…on crash (sonic-net#1751)

What I did
Changed the behavior of the get_chassis_info() function which is used by show version and show platform summary to report the serial / model / revision of the switch to only attempt to call the platform API if pmon completely failed to provision STATE_DB with CHASSIS_INFO

How I did it
Altered get_chassis_info() according to the above behavior. See changelog for details.

How to verify it
Verify show platform summary and show version correctly report chassis info.

Delete the CHASSIS_INFO table from STATE_DB

Verify show platform summary and show version still correctly report the info.
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

Successfully merging this pull request may close these issues.

3 participants