use of com.emc.sa.service.vipr.block.tasks.AddHostToExport in project coprhd-controller by CoprHD.
the class BlockStorageUtils method addHostToExport.
public static void addHostToExport(URI exportId, URI host, Integer minPaths, Integer maxPaths, Integer pathsPerInitiator, URI portGroup) {
Task<ExportGroupRestRep> task = execute(new AddHostToExport(exportId, host, minPaths, maxPaths, pathsPerInitiator, portGroup));
addRollback(new DeactivateBlockExport(exportId));
addAffectedResource(task);
}
Aggregations