def get_power_state(self, task):
        client, blade_id = msftocs_common.get_client_info(
            task.node.driver_info)
        return POWER_STATES_MAP[client.get_blade_state(blade_id)]
Get the power state from the node.
dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/msftocs/power.py/MSFTOCSPower.get_power_state