sonic-buildimage/platform/mellanox
shlomibitton 6d38654034
[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.
2020-12-24 01:11:48 -08:00
..
docker-saiserver-mlnx [docker-saiserver]: upgrade docker saiserver to stretch for brcm/mlnx (#2983) 2019-06-08 16:27:19 -07:00
docker-syncd-mlnx [monit] Adding patch to enhance syslog error message generation for monit alert action when status is failed. (#5720) 2020-11-01 10:27:10 -08:00
docker-syncd-mlnx-rpc [Mellanox]Take advantage of sdk variable to customize the location where sdk_socket exists. (#4223) 2020-03-14 18:02:43 -07:00
hw-management [201911][thermal control] Backport feature from master branch (#4677) 2020-06-08 11:20:43 -07:00
issu-version [mellanox|ffb] ISSU version check (#2437) 2019-01-17 14:41:32 -08:00
mft [201911][Mellanox] Update MFT to 4.15.0-104 (#5077) 2020-08-03 13:53:33 +03:00
mlnx-platform-api [Mellanox] PSU led platform API fixes (#6214) 2020-12-24 01:11:48 -08:00
mlnx-sai [Mellanox] Update SAI submodule (#6235) 2020-12-17 09:11:50 -08:00
sdk-src update SDK to 4.4.2112, FW to *.2008.2112, SAI to 1.18.0.1 (#6147) 2020-12-08 07:54:50 +02:00
.gitignore [mellanox] build SDK driver from open source (#3580) 2019-10-08 07:57:12 -07:00
docker-ptf-mlnx.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
docker-ptf-mlnx.mk [docker-saiserver]: build docker-saiserver (#2244) 2018-11-14 01:15:31 -08:00
docker-saiserver-mlnx.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
docker-saiserver-mlnx.mk [docker-saiserver]: upgrade docker saiserver to stretch for brcm/mlnx (#2983) 2019-06-08 16:27:19 -07:00
docker-syncd-mlnx-rpc.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
docker-syncd-mlnx-rpc.mk [syncd-rpc.mk] install ptf dependancy (#4279) 2020-03-19 22:18:49 -07:00
docker-syncd-mlnx.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
docker-syncd-mlnx.mk [Services] Allow monit system tool to monitor the critical processes status running in various SONiC containers. (#3940) 2020-01-21 10:42:47 -08:00
fw.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
fw.mk update SDK to 4.4.2112, FW to *.2008.2112, SAI to 1.18.0.1 (#6147) 2020-12-08 07:54:50 +02:00
hw-management.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
hw-management.mk [201911][Mellanox] Update hw-mgmt package to V.7.0010.1000 (#4688) 2020-06-02 14:53:09 -07:00
issu-version.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
issu-version.mk [mellanox]: Add SSD FW update tool (#4351) 2020-04-15 13:02:36 -07:00
libsaithrift-dev.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
libsaithrift-dev.mk [sai and sairedis] advance sairedis sub-module and upgrade to matching Broadcom SAI build (#2488) 2019-02-16 10:14:18 -08:00
mft.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
mft.mk [201911][Mellanox] Update MFT to 4.15.0-104 (#5077) 2020-08-03 13:53:33 +03:00
mlnx-ffb.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
mlnx-ffb.mk [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
mlnx-ffb.sh [mellanox] Fix in mlnx-ffb.sh (#2676) 2019-03-18 08:53:35 -07:00
mlnx-fw-upgrade.j2 [Mellanox] Add sdk 4.4.0542 (#4227) 2020-03-14 19:07:23 -07:00
mlnx-onie-fw-update.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
mlnx-onie-fw-update.mk [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
mlnx-onie-fw-update.sh [Mellanox] Add ONIE and SSD platform components. (#4764) 2020-06-15 13:04:44 +03:00
mlnx-platform-api.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
mlnx-platform-api.mk [201911] Remove sonic-daemon-base package (#5181) 2020-08-22 17:55:27 -07:00
mlnx-sai.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
mlnx-sai.mk [Mellanox] Update SAI submodule (#6235) 2020-12-17 09:11:50 -08:00
mlnx-ssd-fw-update.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
mlnx-ssd-fw-update.mk [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
mlnx-ssd-fw-update.sh [Mellanox] Add ONIE and SSD platform components. (#4764) 2020-06-15 13:04:44 +03:00
one-image.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
one-image.mk [mellanox]: Add SSD FW update tool (#4351) 2020-04-15 13:02:36 -07:00
platform.conf one image implementation (#215) 2017-01-29 11:33:33 -08:00
rules.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
rules.mk [mellanox]: Add SSD FW update tool (#4351) 2020-04-15 13:02:36 -07:00
sdk.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-27 08:50:23 -07:00
sdk.mk update SDK to 4.4.2112, FW to *.2008.2112, SAI to 1.18.0.1 (#6147) 2020-12-08 07:54:50 +02:00