Search in sources :

Example 1 with ExportPathsAdjustmentParam

use of com.emc.storageos.model.block.export.ExportPathsAdjustmentParam in project coprhd-controller by CoprHD.

the class AdjustExportPaths method doExecute.

@Override
protected Task<ExportGroupRestRep> doExecute() throws Exception {
    ExportPathsAdjustmentParam param = new ExportPathsAdjustmentParam();
    ExportPathParameters exportPathParameters = new ExportPathParameters();
    exportPathParameters.setMinPaths(minPaths);
    exportPathParameters.setMaxPaths(maxPaths);
    exportPathParameters.setPathsPerInitiator(pathsPerInitiator);
    param.setExportPathParameters(exportPathParameters);
    param.setVirtualArray(virtualArray);
    param.setStorageSystem(storageSystemId);
    param.setAdjustedPaths(addedPaths);
    param.setRemovedPaths(removedPaths);
    param.setWaitBeforeRemovePaths(suspendWait);
    return getClient().blockExports().pathAdjustment(exportId, param);
}
Also used : ExportPathsAdjustmentParam(com.emc.storageos.model.block.export.ExportPathsAdjustmentParam) ExportPathParameters(com.emc.storageos.model.block.export.ExportPathParameters)

Aggregations

ExportPathParameters (com.emc.storageos.model.block.export.ExportPathParameters)1 ExportPathsAdjustmentParam (com.emc.storageos.model.block.export.ExportPathsAdjustmentParam)1