Adding support for creating a volume from a snapshot when the snapshot is on managed storage

This commit is contained in:
Mike Tutkowski 2015-01-21 13:05:21 -07:00
parent 664186f483
commit 2094286c8a

View File

@ -152,11 +152,13 @@ public class StorageSystemDataMotionStrategy implements DataMotionStrategy {
}
if (canHandleSrc) {
// return handleCreateVolumeFromSnapshotOnlySourceOnStorageSystem();
throw new UnsupportedOperationException("This operation is not supported (DataStoreCapabilities.STORAGE_SYSTEM_SNAPSHOT " +
"not supported by destination storage plug-in).");
}
if (canHandleDest) {
// return handleCreateVolumeFromSnapshotOnlyDestinationOnStorageSystem();
throw new UnsupportedOperationException("This operation is not supported (DataStoreCapabilities.STORAGE_SYSTEM_SNAPSHOT " +
"not supported by source storage plug-in).");
}
}
}