Lines Matching refs:power_state
54 from nova.compute import power_state
127 # Mapping between zone state and Nova power_state.
129 ZONE_STATE_CONFIGURED: power_state.NOSTATE,
130 ZONE_STATE_INCOMPLETE: power_state.NOSTATE,
131 ZONE_STATE_UNAVAILABLE: power_state.NOSTATE,
132 ZONE_STATE_INSTALLED: power_state.SHUTDOWN,
133 ZONE_STATE_READY: power_state.RUNNING,
134 ZONE_STATE_RUNNING: power_state.RUNNING,
135 ZONE_STATE_SHUTTING_DOWN: power_state.RUNNING,
136 ZONE_STATE_DOWN: power_state.RUNNING,
137 ZONE_STATE_MOUNTED: power_state.NOSTATE
645 """Return the running state, one of the power_state codes."""
1844 running (power_state.RUNNING).
2041 if self._get_state(zone) == power_state.RUNNING:
2043 if self._get_state(zone) == power_state.SHUTDOWN:
2045 if self._get_state(zone) == power_state.NOSTATE:
2102 goes back to power_state.RUNNING. The virtualization
2120 if self._get_state(zone) == power_state.SHUTDOWN:
2988 if self._get_state(zone) != power_state.RUNNING:
3031 if self._get_state(zone) != power_state.SHUTDOWN:
3056 if self._get_state(zone) not in (power_state.CRASHED,
3057 power_state.SHUTDOWN):