def get_power_state(self, task):
        irmc_common.update_ipmi_properties(task)
        ipmi_power = ipmitool.IPMIPower()
        return ipmi_power.get_power_state(task)
Return the power state of the task's node.
dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/irmc/power.py/IRMCPower.get_power_state