use of com.emc.storageos.volumecontroller.impl.hds.prov.job.HDSExportMaskDeleteCompleter in project coprhd-controller by CoprHD.
the class HDSMaskingOrchestrator method generateDeviceSpecificDeleteWorkflow.
@Override
public String generateDeviceSpecificDeleteWorkflow(Workflow workflow, String previousStep, ExportGroup exportGroup, ExportMask mask, List<URI> volumes, List<URI> initiators, StorageSystem storage) throws Exception {
List<ExportMask> masks = new ArrayList<ExportMask>();
masks.add(mask);
ExportTaskCompleter hdsExportMaskDeleteCompleter = new HDSExportMaskDeleteCompleter(exportGroup.getId(), mask.getId(), previousStep);
String exportMaskDeleteStepId = generateExportMaskDeleteWorkflow(workflow, null, storage, exportGroup, mask, volumes, initiators, hdsExportMaskDeleteCompleter);
String zoningStepId = generateZoningDeleteWorkflow(workflow, exportMaskDeleteStepId, exportGroup, masks);
generateWorkflowStepToMarkExportMaskInActive(workflow, zoningStepId, exportGroup, mask, null);
return exportMaskDeleteStepId;
}
Aggregations