use of com.emc.storageos.volumecontroller.impl.block.taskcompleter.SRDFAddPairToGroupCompleter in project coprhd-controller by CoprHD.
the class SRDFDeviceController method addVolumePairsToCgMethodStep.
public boolean addVolumePairsToCgMethodStep(URI systemURI, List<URI> sourceURIs, URI remoteDirectorGroupURI, URI vpoolChangeUri, String opId) {
log.info("START Add VolumePair to CG");
TaskCompleter completer = null;
try {
WorkflowStepCompleter.stepExecuting(opId);
StorageSystem system = getStorageSystem(systemURI);
completer = new SRDFAddPairToGroupCompleter(sourceURIs, vpoolChangeUri, opId);
getRemoteMirrorDevice().doAddVolumePairsToCg(system, sourceURIs, remoteDirectorGroupURI, completer);
} catch (Exception e) {
return completeAsError(completer, DeviceControllerException.errors.jobFailed(e), opId);
}
return true;
}
Aggregations