ironic.common.nova module¶
-
ironic.common.nova.
power_update
(context, server_uuid, target_power_state)[source]¶ Creates and sends power state change for the provided server_uuid.
- Parameters
context – request context, instance of ironic.common.context.RequestContext
server_uuid – The uuid of the node whose power state changed.
target_power_state – Targeted power state change i.e “POWER_ON” or “POWER_OFF”
- Returns
A boolean which indicates if the power update was executed successfully (mainly for testing purposes).