-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Mellanox] PSU led platform API fixes (#6214)
- Why I did it Fix setting PSU led to 'green' or 'red' states. Fix return False if unsupported color request. Remove 'off' option for PSU led API since it is not supported in Mellanox. - How I did it Fix import missing information. Return 'False' when unsupported led color is requested, preventing an exception. - How to verify it Try to set PSU LED to different status with Mellanox platform device. Try to set PSU LED color to unsupported color with Mellanox platform device.
- Loading branch information
1 parent
7d4eade
commit 6d38654
Showing
2 changed files
with
39 additions
and
39 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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