use of com.att.cdp.zones.Context in project AJSC by att.
the class ConnectedServer method attachVolume.
/**
* @see com.att.cdp.zones.model.Server#attachVolume(com.att.cdp.zones.model.Volume, java.lang.String)
*/
@Override
public void attachVolume(Volume volume, String device) throws ZoneException {
Context context = getContext();
context.getComputeService().attachVolume(this, volume, device);
}
use of com.att.cdp.zones.Context in project AJSC by att.
the class ConnectedServer method refreshStatus.
/**
* @see com.att.cdp.zones.model.Server#refreshStatus()
*/
@Override
public void refreshStatus() throws ZoneException {
Context context = getContext();
context.getComputeService().refreshServerStatus(this);
}
use of com.att.cdp.zones.Context in project AJSC by att.
the class ConnectedServer method unpause.
/**
* @see com.att.cdp.zones.model.Server#unpause()
*/
@Override
public void unpause() throws ZoneException {
Context context = getContext();
context.getComputeService().unpauseServer(this);
}
use of com.att.cdp.zones.Context in project AJSC by att.
the class ConnectedServer method reboot.
/**
* This method reboot the given server
* @param rebootType
* @throws ZoneException
*/
public void reboot(String rebootType) throws ZoneException {
Context context = getContext();
context.getComputeService().rebootServer(this, rebootType);
}
use of com.att.cdp.zones.Context in project AJSC by att.
the class ConnectedServer method resume.
/**
* @see com.att.cdp.zones.model.Server#resume()
*/
@Override
public void resume() throws ZoneException {
Context context = getContext();
context.getComputeService().resumeServer(this);
}
Aggregations