Skip to content

Commit

Permalink
[mlnx_platform_api.thermal]align thermal sensor names with hw-managem…
Browse files Browse the repository at this point in the history
…ent v2.0.0191 (sonic-net#3371)

temp_xxxx_module{} => module{}_temp_xxxx
  • Loading branch information
stephenxs authored and wangshengjun committed Apr 28, 2020
1 parent d63d306 commit ba4566f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/mellanox/mlnx-platform-api/sonic_platform/thermal.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
THERMAL_API_GET_HIGH_THRESHOLD:"cpu_pack_max"
}
thermal_api_handler_module = {
THERMAL_API_GET_TEMPERATURE:"temp_input_module{}",
THERMAL_API_GET_HIGH_THRESHOLD:"temp_crit_module{}"
THERMAL_API_GET_TEMPERATURE:"module{}_temp_input",
THERMAL_API_GET_HIGH_THRESHOLD:"module{}_temp_crit"
}
thermal_api_handler_psu = {
THERMAL_API_GET_TEMPERATURE:"psu{}_temp",
Expand Down

0 comments on commit ba4566f

Please sign in to comment.