Skip to content

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

Closed
Junchao-Mellanox wants to merge 1 commit into201911from
fix_fan_status_201911
Closed

[thermalctld][201911] Set led status after updating all other fan status#18
Junchao-Mellanox wants to merge 1 commit into201911from
fix_fan_status_201911

Conversation

@Junchao-Mellanox
Copy link
Copy Markdown
Owner

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.

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 changed the title [thermalctld] Set led status after updating all other fan status [thermalctld][201911] Set led status after updating all other fan status Nov 23, 2020
@Junchao-Mellanox
Copy link
Copy Markdown
Owner Author

sonic-net#126

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