Search in sources :

Example 1 with ExpandVolume

use of com.emc.sa.service.vipr.block.tasks.ExpandVolume in project coprhd-controller by CoprHD.

the class BlockStorageUtils method expandVolume.

public static void expandVolume(URI volumeId, double newSizeInGB) {
    String newSize = gbToVolumeSize(newSizeInGB);
    Task<VolumeRestRep> task = execute(new ExpandVolume(volumeId, newSize));
    addAffectedResource(task);
}
Also used : ExpandVolume(com.emc.sa.service.vipr.block.tasks.ExpandVolume) VolumeRestRep(com.emc.storageos.model.block.VolumeRestRep)

Aggregations

ExpandVolume (com.emc.sa.service.vipr.block.tasks.ExpandVolume)1 VolumeRestRep (com.emc.storageos.model.block.VolumeRestRep)1