use of org.ovirt.engine.core.common.businessentities.storage.CinderVolumeStatus in project ovirt-engine by oVirt.
the class CinderBroker method getSnapshotStatus.
public ImageStatus getSnapshotStatus(final Guid id) {
return execute(() -> {
Snapshot snapshot = proxy.getSnapshotById(id.toString());
CinderVolumeStatus cinderVolumeStatus = CinderVolumeStatus.forValue(snapshot.getStatus());
return mapCinderVolumeStatusToImageStatus(cinderVolumeStatus);
});
}
use of org.ovirt.engine.core.common.businessentities.storage.CinderVolumeStatus in project ovirt-engine by oVirt.
the class CinderBroker method getDiskStatus.
public ImageStatus getDiskStatus(final Guid id) {
return execute(() -> {
Volume volume = proxy.getVolumeById(id.toString());
CinderVolumeStatus cinderVolumeStatus = CinderVolumeStatus.forValue(volume.getStatus());
return mapCinderVolumeStatusToImageStatus(cinderVolumeStatus);
});
}
Aggregations