def get_sensor_reading(self, sensorname): if self.is_fpc: return nextscale.get_sensor_reading(sensorname, self.ipmicmd, self._fpc_variant) elif self.has_imm: return self.immhandler.get_oem_sensor_reading( sensorname, self.ipmicmd) return ()
def get_sensor_data(self): if self.is_fpc: for name in nextscale.get_sensor_names(self._fpc_variant): yield nextscale.get_sensor_reading(name, self.ipmicmd, self._fpc_variant) elif self.has_imm: for name in self.immhandler.get_oem_sensor_names(self.ipmicmd): yield self.immhandler.get_oem_sensor_reading( name, self.ipmicmd)
def get_sensor_reading(self, sensorname): if self.is_fpc: return nextscale.get_sensor_reading(sensorname, self.ipmicmd) return ()
def get_sensor_data(self): if self.is_fpc: for name in nextscale.fpc_sensors: yield nextscale.get_sensor_reading(name, self.ipmicmd)
def get_sensor_data(self): if self.is_fpc: for name in nextscale.get_sensor_names(): yield nextscale.get_sensor_reading(name, self.ipmicmd)
def get_sensor_data(self): if self.is_fpc: for name in nextscale.get_sensor_names(self._fpc_variant): yield nextscale.get_sensor_reading(name, self.ipmicmd, self._fpc_variant)