use of com.cloud.storage.DataStoreRole in project cloudstack by apache.
the class DefaultEndPointSelector method moveBetweenImages.
protected boolean moveBetweenImages(DataStore srcStore, DataStore destStore) {
DataStoreRole srcRole = srcStore.getRole();
DataStoreRole destRole = destStore.getRole();
if (srcRole == DataStoreRole.Image && destRole == DataStoreRole.Image) {
return true;
} else {
return false;
}
}
Aggregations