[Mellanox]support led for fan/psu and fan's direction#3795
Merged
jleveque merged 7 commits intosonic-net:masterfrom Dec 4, 2019
Merged
[Mellanox]support led for fan/psu and fan's direction#3795jleveque merged 7 commits intosonic-net:masterfrom
jleveque merged 7 commits intosonic-net:masterfrom
Conversation
added 6 commits
November 20, 2019 05:01
keboliu
approved these changes
Nov 27, 2019
|
|
||
| FAN_PATH = "/var/run/hw-management/thermal/" | ||
| LED_PATH = "/var/run/hw-management/led/" | ||
| # fan_dir only exist Spectrum 2 switches |
Collaborator
There was a problem hiding this comment.
Please change the comment that it is currently not supported in spectrum 1 and later new Silicon should not be addressed and will have it supported by default
liat-grozovik
approved these changes
Nov 27, 2019
Collaborator
Author
|
retest this, please |
1 similar comment
Collaborator
Author
|
retest this, please |
jleveque
approved these changes
Nov 28, 2019
Collaborator
Author
|
retest this, please |
Contributor
|
Retest vsimage please |
mssonicbld
added a commit
that referenced
this pull request
Mar 10, 2025
…atically (#21976) #### Why I did it src/sonic-utilities ``` * fd43d51 - (HEAD -> master, origin/master, origin/HEAD) Fixes `show interface transceiver info Ethernet0` command failure for CMIS SFP. (#3795) (4 hours ago) [AZ] ``` #### How I did it #### How to verify it #### Description for the changelog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
- What I did
support led for fan/psu and fan direction
It depends on add fan direction "not applicable" #67
- How I did it
Fetch that information from sysfs.
- How to verify it
set led for fan/psu and then check
get fan direction
test-led-fandir.txt
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)