sonic-buildimage/platform/mellanox
Junchao-Mellanox 9deca05f9d
[Mellanox] get LED capability from capability file (#14584)
- Why I did it
Currently, LED sysfs path is hardcoded. We will need change LED code if new LED color is supported for new platforms. This PR is aimed to improve this. By this PR, LED sysfs path is deduced from LED capability file.

- How I did it
Improve LED management on Nvidia platform:
get LED capability from capability file and deduce sysfs name according to the capability

- How to verify it
Unit test
Manual test
2023-05-10 20:53:50 +03:00
..
docker-saiserver-mlnx [infra] Support syslog rate limit configuration (#12490) 2022-12-20 10:53:58 +02:00
docker-syncd-mlnx [Mellanox][asan] disable fast_unwind_on_malloc for mlnx syncd (#14858) 2023-05-10 20:50:42 +03:00
docker-syncd-mlnx-rpc Upgrade mellanox platform containers (syncd / saiserver / syncd-rpc) and pmon to bullseye (#10580) 2022-05-10 12:45:28 +03:00
hw-management [Mellanox] Facilitate automatic integration of new hw-mgmt (#14594) 2023-04-13 14:18:09 +03:00
integration-scripts [Mellanox] Fix the hw-mgmt intg tool case sensitivity for KConfig (#14709) 2023-04-25 09:17:02 +03:00
iproute2 [Mellanox] Replace iproute2 supplied by SDK to iproute2 downloaded from Debian repository (#14726) 2023-04-30 12:30:09 +03:00
issu-version Upgrade mellanox platform containers (syncd / saiserver / syncd-rpc) and pmon to bullseye (#10580) 2022-05-10 12:45:28 +03:00
mft [Mellanox] Enhance MFT make file to download source code from any valid URL (#13801) 2023-02-16 09:51:04 +02:00
mlnx-platform-api [Mellanox] get LED capability from capability file (#14584) 2023-05-10 20:53:50 +03:00
mlnx-sai [submodule]Advance sairdis with sai 1.11 and add brcm and mlnx sai sdk (#12471) 2022-11-23 09:02:36 -08:00
non-upstream-patches [Mellanox] Facilitate automatic integration of new hw-mgmt (#14594) 2023-04-13 14:18:09 +03:00
sdk-src [Mellanox] Replace iproute2 supplied by SDK to iproute2 downloaded from Debian repository (#14726) 2023-04-30 12:30:09 +03:00
.gitignore [mellanox] build SDK driver from open source (#3580) 2019-10-08 07:57:12 -07:00
asic_table.j2 [Mellanox] Update NVIDIA License header for files changed since 1.1.2022 (#10289) 2022-03-23 13:19:25 +02:00
docker-saiserver-mlnx.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
docker-saiserver-mlnx.mk Upgrade mellanox platform containers (syncd / saiserver / syncd-rpc) and pmon to bullseye (#10580) 2022-05-10 12:45:28 +03:00
docker-syncd-mlnx-rpc.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
docker-syncd-mlnx-rpc.mk Upgrade mellanox platform containers (syncd / saiserver / syncd-rpc) and pmon to bullseye (#10580) 2022-05-10 12:45:28 +03:00
docker-syncd-mlnx.dep [build][asan] make dpkg cache asan-aware (#10750) 2022-05-31 11:15:44 +03:00
docker-syncd-mlnx.mk [Mellanox] Replace iproute2 supplied by SDK to iproute2 downloaded from Debian repository (#14726) 2023-04-30 12:30:09 +03:00
fw.dep Remove support to Mellanox SPC4 ASIC (#13932) 2023-02-23 08:25:34 +02:00
fw.mk Update SDK/FW to version 4.5.4206/4.5.4204 (#14164) 2023-03-14 16:27:38 +02:00
hw-management.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
hw-management.mk [Mellanox] Advance hw-mgmt to v.7.0020.4104 (#13372) 2023-02-12 11:23:47 +02:00
install-pending-fw.dep [Mellanox] Modified Platform API to support all firmware updates in single boot (#9608) 2022-01-24 00:56:38 -08:00
install-pending-fw.mk [Mellanox] Update NVIDIA License header for files changed since 1.1.2022 (#10289) 2022-03-23 13:19:25 +02:00
install-pending-fw.py [Mellanox] Update NVIDIA License header for files changed since 1.1.2022 (#10289) 2022-03-23 13:19:25 +02:00
integration-scripts.mk [Mellanox] Facilitate automatic integration of new hw-mgmt (#14594) 2023-04-13 14:18:09 +03:00
iproute2.dep [Mellanox] Replace iproute2 supplied by SDK to iproute2 downloaded from Debian repository (#14726) 2023-04-30 12:30:09 +03:00
iproute2.mk [Mellanox] Replace iproute2 supplied by SDK to iproute2 downloaded from Debian repository (#14726) 2023-04-30 12:30:09 +03:00
issu-version.dep Fix cache related mellanox bullseye build failures (#9234) 2021-11-16 14:49:47 -08:00
issu-version.mk Upgrade mellanox platform containers (syncd / saiserver / syncd-rpc) and pmon to bullseye (#10580) 2022-05-10 12:45:28 +03:00
libsaithrift-dev.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
libsaithrift-dev.mk [Mellanox] Add arm64 architecture support to mellanox platform (#11342) 2022-07-13 16:21:33 +03:00
mft.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
mft.mk [Mellanox] Update MFT to 4.22.1-15 (#14133) 2023-03-08 10:21:58 +02:00
mlnx-ffb.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
mlnx-ffb.mk [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
mlnx-ffb.sh [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
mlnx-fw-upgrade.j2 [Mellanox] Place FW binaries under platform directory instead of squashfs (#13837) 2023-03-06 13:36:43 +02:00
mlnx-onie-fw-update.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
mlnx-onie-fw-update.mk [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
mlnx-onie-fw-update.sh [Mellanox] Update NVIDIA License header for files changed since 1.1.2022 (#10289) 2022-03-23 13:19:25 +02:00
mlnx-platform-api.dep [Bug][Build]: Fix the mlnx-platform-api dpkg cache config error (#9705) 2022-01-09 09:21:59 +08:00
mlnx-platform-api.mk Add PYTHON3_SWSSCOMMON as build time dependency to Mellanox platform API (#13847) 2023-02-20 15:24:26 +02:00
mlnx-sai.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
mlnx-sai.mk [submodule]Advance sairdis with sai 1.11 and add brcm and mlnx sai sdk (#12471) 2022-11-23 09:02:36 -08:00
mlnx-ssd-fw-update.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
mlnx-ssd-fw-update.mk [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
mlnx-ssd-fw-update.sh [Mellanox] Enhance Platform API to support SN2201 - RJ45 ports and new components mgmt. (#10377) 2022-06-20 19:12:20 -07:00
one-image.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
one-image.mk [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
peripheral_table.j2 [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
platform.conf one image implementation (#215) 2017-01-29 11:33:33 -08:00
rules.dep [Mellanox] Modified Platform API to support all firmware updates in single boot (#9608) 2022-01-24 00:56:38 -08:00
rules.mk [Mellanox] Replace iproute2 supplied by SDK to iproute2 downloaded from Debian repository (#14726) 2023-04-30 12:30:09 +03:00
sdk.dep [Mellanox] Replace iproute2 supplied by SDK to iproute2 downloaded from Debian repository (#14726) 2023-04-30 12:30:09 +03:00
sdk.mk [Mellanox] Replace iproute2 supplied by SDK to iproute2 downloaded from Debian repository (#14726) 2023-04-30 12:30:09 +03:00
zero_profiles.j2 [Mellanox] Add NVIDIA copyright header for NVIDIA added files (#12130) 2022-10-02 11:34:24 +03:00