Lines Matching refs:power_state
57 from nova.compute import power_state
131 # Mapping between zone state and Nova power_state.
133 ZONE_STATE_CONFIGURED: power_state.NOSTATE,
134 ZONE_STATE_INCOMPLETE: power_state.NOSTATE,
135 ZONE_STATE_UNAVAILABLE: power_state.NOSTATE,
136 ZONE_STATE_INSTALLED: power_state.SHUTDOWN,
137 ZONE_STATE_READY: power_state.RUNNING,
138 ZONE_STATE_RUNNING: power_state.RUNNING,
139 ZONE_STATE_SHUTTING_DOWN: power_state.RUNNING,
140 ZONE_STATE_DOWN: power_state.RUNNING,
141 ZONE_STATE_MOUNTED: power_state.NOSTATE
681 """Return the running state, one of the power_state codes."""
2177 running (power_state.RUNNING).
2320 if self._get_state(zone) == power_state.SHUTDOWN:
2406 if self._get_state(zone) == power_state.RUNNING:
2408 if self._get_state(zone) == power_state.SHUTDOWN:
2410 if self._get_state(zone) == power_state.NOSTATE:
2467 goes back to power_state.RUNNING. The virtualization
2485 if self._get_state(zone) == power_state.SHUTDOWN:
3565 if self._get_state(zone) != power_state.RUNNING:
3620 if self._get_state(zone) != power_state.SHUTDOWN:
3646 if self._get_state(zone) not in (power_state.CRASHED,
3647 power_state.SHUTDOWN):