sonic-buildimage/platform/mellanox/mlnx-platform-api
DavidZagury 45e100b61b [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-27 10:46:31 +00:00
..
sonic_platform [Mellanox][pcied] Ignore bus on pcie.yaml for Mellanox switches (#8063) 2021-07-27 10:46:31 +00:00
tests [Mellanox] clear fan from chassis._fan_list (#7682) 2021-05-31 04:32:40 +00:00
.gitignore Add thermal control support for SONiC (#3949) 2020-03-09 10:41:10 -07:00
pytest.ini Add thermal control support for SONiC (#3949) 2020-03-09 10:41:10 -07:00
setup.cfg Add thermal control support for SONiC (#3949) 2020-03-09 10:41:10 -07:00
setup.py [Mellanox] Add python3 support for Mellanox platform API (#6175) 2020-12-11 10:51:31 -08:00