@task_manager.require_exclusive_lock
    def set_power_state(self, task, power_state):
        _set_power_state(task, power_state)
Set the power state of the task's node.
dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/irmc/power.py/IRMCPower.set_power_state