Skip to content

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

Merged
liat-grozovik merged 2 commits intosonic-net:201911from
Junchao-Mellanox:fix_fan_status_201911
Nov 26, 2020
Merged

[thermalctld][201911] Set led status after updating all other fan status#126
liat-grozovik merged 2 commits intosonic-net:201911from
Junchao-Mellanox:fix_fan_status_201911

Conversation

@Junchao-Mellanox
Copy link
Copy Markdown
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 <[email protected]>
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