sonic-buildimage/platform/mellanox/mlnx-platform-api
Stephen Sun 1d15022df7 [Mellanox] support new platform api, thermal and psu part (#3175)
* support new platform api, thermal and psu part
for psu, all APIs are supported.
for thermal, we support
  get_temperature,
  get_high_threshold
for the thermal sensors of cpu core, cpu pack, psu and sfp module
and get_temperature for the ambient thermal sensors around the asic, port, fan, comex and board.

* 1. address review comments
2. improve the handling of PSU inserting/removal
3. tolerance diverse psu thermal sensor file name conventions

* 1. adjust thermal code according to the latest version of hw-management
2. check power_good_status rather than whether file existing ahead of reading voltage, current and power of PSU
2019-07-22 07:59:48 -07:00
..
sonic_platform [Mellanox] support new platform api, thermal and psu part (#3175) 2019-07-22 07:59:48 -07:00
setup.py [Mellanox] Implement new fan platform API (#2747) 2019-04-21 14:34:28 -07:00