use of com.woorea.openstack.cinder.model.Snapshot 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);
});
}
Aggregations