DellEMC Z9332f: Platform API - Update maximum fan speed (#8766)

This commit is contained in:
Arun Saravanan Balachandran 2021-09-17 06:25:50 +05:30 committed by GitHub
parent 508b6497a1
commit f6ec932b3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,6 +48,10 @@ class Fan(FanBase):
is_discrete=True)
self.speed_sensor = IpmiSensor(self.FAN_SENSOR_MAPPING[self.index]["Speed"])
self.fan_dir_raw_cmd = "0x3a 0x0a {}".format(fantray_index)
if self.fanindex == 1:
self.max_speed = 24700
else:
self.max_speed = 29700
else:
self.dependency = dependency
self.fanindex = fan_index
@ -55,7 +59,7 @@ class Fan(FanBase):
is_discrete=True)
self.speed_sensor = IpmiSensor(self.PSU_FAN_SENSOR_MAPPING[self.fanindex]["Speed"])
self.fan_dir_raw_cmd = "0x3a 0x0a {}".format(7+(fan_index-1))
self.max_speed = 23500
self.max_speed = 26500
def get_name(self):
"""