Lines Matching refs:state
115 # returned in the 'state' string of the Solaris Zones' RAD interface by
127 # Mapping between zone state and Nova power_state.
588 state = line.split()[-1]
589 hba['port_state'] = state
645 """Return the running state, one of the power_state codes."""
646 return SOLARISZONES_POWER_STATE[zone.state]
758 return hardware.InstanceInfo(state=self._get_state(zone),
887 hypervisor - all the cleanup of old state is skipped.
1632 out, err = utils.execute('/usr/bin/svcs', '-H', '-o', 'state',
1634 state = out.strip()
1635 if state == 'online':
1637 elif state in ['maintenance', 'offline']:
1639 "'%s' state. Run 'svcs -x %s' for details.")
1640 % (console_fmri, state, console_fmri))
1643 # Wait for service state to transition to (hopefully) online
1644 # state or offline/maintenance states.
1648 LOG.error(_("Error querying state of zone VNC console SMF "
1694 """Returns state of the instance zone VNC console SMF service"""
1697 LOG.warning(_("Console state requested for a non-existent zone "
1704 state, err = utils.execute('/usr/sbin/svcs', '-H', '-o', 'state',
1706 return state.strip()
1709 LOG.error(_("Console state request failed for zone VNC console "
1720 utils.execute('/usr/bin/svcs', '-H', '-o', 'state', console_fmri)
1813 if zone.state == ZONE_STATE_CONFIGURED:
1814 LOG.debug(_("Uninstall not required for zone '%s' in state '%s'")
1815 % (name, zone.state))
1847 cleaned up, and the virtualization platform should be in the state
2062 # If the task state is RESIZE_REVERTING do not process these because
2101 After this is called successfully, the instance's state
2397 if zone.state == ZONE_STATE_RUNNING:
2438 if zone.state == ZONE_STATE_RUNNING:
2799 # is in a state to accept the toggle. Once bugs are fixed
2983 "suspend. Use 'nova reset-state --active %s' "
2984 "to reset instance state back to 'active'.")
3045 """resume guest state when a host is booted.
3636 if zone.state == ZONE_STATE_RUNNING:
3681 :param instances: instances that have been in rebooting state