Revert "[Mellanox] Align PSU temperature sysfs node name with hw-management change (#16820)" (#16956)
This reverts commit 0846322e9a
.
This commit is contained in:
parent
b2c8ad8b10
commit
c2edc6f9d5
@ -242,8 +242,8 @@ class Psu(FixedPsu):
|
||||
|
||||
self.psu_power_max_capacity = os.path.join(PSU_PATH, "config/psu{}_power_capacity".format(self.index))
|
||||
|
||||
self.psu_temp = os.path.join(PSU_PATH, 'thermal/psu{}_temp1'.format(self.index))
|
||||
self.psu_temp_threshold = os.path.join(PSU_PATH, 'thermal/psu{}_temp1_max'.format(self.index))
|
||||
self.psu_temp = os.path.join(PSU_PATH, 'thermal/psu{}_temp'.format(self.index))
|
||||
self.psu_temp_threshold = os.path.join(PSU_PATH, 'thermal/psu{}_temp_max'.format(self.index))
|
||||
|
||||
self.psu_power_slope = os.path.join(PSU_PATH, self.PSU_POWER_SLOPE.format(self.index))
|
||||
|
||||
|
@ -65,8 +65,8 @@ THERMAL_NAMING_RULE = {
|
||||
"psu thermals":
|
||||
{
|
||||
"name": "PSU-{} Temp",
|
||||
"temperature": "psu{}_temp1",
|
||||
"high_threshold": "psu{}_temp1_max",
|
||||
"temperature": "psu{}_temp",
|
||||
"high_threshold": "psu{}_temp_max",
|
||||
"type": "indexable"
|
||||
},
|
||||
"chassis thermals": [
|
||||
|
Loading…
Reference in New Issue
Block a user