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

[thermalctld][201911] Set led status after updating all other fan status #126

Merged

Conversation

Junchao-Mellanox
Copy link
Collaborator

@Junchao-Mellanox Junchao-Mellanox commented Nov 24, 2020

Why I did this?

There could be 2 fans in the same drawer and the final fan drawer LED state is determined by all fans status in this drawer. So we have to update fan LED status after updating other fan status.

Similar fix is already in master.

How I did this?

Use a separate loop to update the fan led in database after updating all other fan status.

How I verify this?

Run test cases in test_platform_info.py.

@Junchao-Mellanox Junchao-Mellanox marked this pull request as ready for review November 25, 2020 05:31
@liat-grozovik liat-grozovik merged commit cf7731d into sonic-net:201911 Nov 26, 2020
abdosi pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Dec 4, 2020
@Junchao-Mellanox Junchao-Mellanox deleted the fix_fan_status_201911 branch October 29, 2021 01:47
vdahiya12 added a commit to vdahiya12/sonic-platform-daemons that referenced this pull request Apr 4, 2022
…m address space within platform api (sonic-net#126)

* [sonic_sfp] adding abstract methods for platform api's

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
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.

2 participants