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);
}
Aggregations