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] add FAN led management in thermal control daemon #54

Merged
merged 5 commits into from
May 13, 2020

Conversation

Junchao-Mellanox
Copy link
Collaborator

What I did:

  1. Set led to red and trigger syslog when fan is broken
  2. Add fan drawer information to redis database
  3. Trigger a syslog when any fan is absence or broken to alert user that "Insufficient fan number"

How I verify:
Manual test and run platform regression

@Junchao-Mellanox Junchao-Mellanox requested a review from jleveque May 6, 2020 02:37
@Junchao-Mellanox Junchao-Mellanox changed the title [Mellanox] add FAN led management in thermal control daemon [thermalctld] add FAN led management in thermal control daemon May 12, 2020
@jleveque jleveque merged commit 6e975f5 into sonic-net:master May 13, 2020
@Junchao-Mellanox Junchao-Mellanox deleted the led-mgmt branch October 29, 2021 01:47
vdahiya12 pushed a commit to vdahiya12/sonic-platform-daemons that referenced this pull request Apr 4, 2022
…c-net#54)

From SFF-8436 regarding cable length fields:
"A value of zero means that the Module does not support (this mode) or that the length information must be determined from the Module technology."

It is possible that all cable length fields in eeprom are 0, and this would lead to xcvrd crashing due to fetching of this data. Fallback is added in this case.
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.

2 participants