sonic-buildimage/platform/mellanox/mlnx-platform-api/sonic_platform
DavidZagury 67781abb97
[Mellanox][pcied] Ignore bus on pcie.yaml for Mellanox switches (#8063)
Why I did it
BIOS upgrade on rare cases cannot guarantee bus value remain the same on every BIOS release. Ignoring this field in order for pcied not to fail but still verify device id in a different way. The solution is future proof and will not require changes in code when new BIOS version is available

How I did it
Since bus is not a fixed value (it is determined by the bios version) we are ignoring this field, and instead checking if there is a device that match on all other fields that and in addition has a matching device id.

How to verify it
Verify no errors or failures in pcied on different BIOS version with the same code base.
2021-07-26 08:43:42 -07:00
..
__init__.py Add thermal control support for SONiC (#3949) 2020-03-09 10:41:10 -07:00
chassis.py [Mellanox] Add bitmap support for SFP error event (#7605) 2021-06-25 10:56:47 -07:00
component.py [Mellanox] Implement auto_firmware_update platform API for to support fwutil auto-update (#7721) 2021-06-16 14:55:20 -07:00
device_data.py [Mellanox] Adopt single way to get fan direction for all ASIC types (#7386) 2021-05-03 17:10:18 -07:00
eeprom.py [PMON] [Mellanox] fix syseepromd issue on simx (#8131) 2021-07-20 11:56:04 +03:00
fan_drawer.py [Mellanox] Enhance Python3 support for platform API (#7410) 2021-06-15 17:57:48 +03:00
fan.py [Mellanox] Enhance Python3 support for platform API (#7410) 2021-06-15 17:57:48 +03:00
led.py Fix issue: should not initialize led color in __init__ file as platform API will be called by multiple daemons (#7114) 2021-03-25 14:28:33 +02:00
pcie.py [Mellanox][pcied] Ignore bus on pcie.yaml for Mellanox switches (#8063) 2021-07-26 08:43:42 -07:00
platform.py [PMON] [Mellanox] fix syseepromd issue on simx (#8131) 2021-07-20 11:56:04 +03:00
psu.py [Mellanox] Return N/A for PSU's model, serial and revision on platforms with fixed PSU (#7927) 2021-06-23 20:41:28 +03:00
sfp_event.py [Mellanox] Add bitmap support for SFP error event (#7605) 2021-06-25 10:56:47 -07:00
sfp.py [Mellanox] Add bitmap support for SFP error event (#7605) 2021-06-25 10:56:47 -07:00
thermal_actions.py [Mellanox] Never disable kernel thermal algorithm at real-time (#4638) 2020-05-26 10:46:29 -07:00
thermal_conditions.py Fix dynamic minimum fan table issue caused by python3 (#6690) 2021-02-07 11:21:44 +02:00
thermal_infos.py [Mellanox] clear fan from chassis._fan_list (#7682) 2021-05-24 11:36:39 -07:00
thermal_manager.py [mellaonox]: No need enable thermal zones in thermal_manager.deinitialize since they are enabled by default (#7556) 2021-05-08 10:33:37 -07:00
thermal.py [Mellanox] Enhance Python3 support for platform API (#7410) 2021-06-15 17:57:48 +03:00
utils.py [Mellanox] Read EEPROM data from DB if possible (#7808) 2021-06-20 17:58:11 +03:00
watchdog.py [WARM-REBOOT] fix issue of watchdog on simx when executing warm-reboot command (#8132) 2021-07-19 22:08:44 +03:00