public String generateDeviceSpecificAddVolumeWorkFlow(Workflow workflow,String attachGroupSnapshot,StorageSystem storage,ExportGroup exportGroup,ExportMask mask,Map<URI,Integer> volumesToAdd,List<URI> volumeURIs,List<URI> initiatorURIs) throws Exception {
  List<ExportMask> masks=new ArrayList<ExportMask>();
  masks.add(mask);
  String zoningStep=generateZoningAddVolumesWorkflow(workflow,attachGroupSnapshot,exportGroup,masks,volumeURIs);
  return generateExportMaskAddVolumesWorkflow(workflow,zoningStep,storage,exportGroup,mask,volumesToAdd,initiatorURIs);
}

public String generateDeviceSpecificAddVolumeWorkFlow ( Workflow workflow , String attachGroupSnapshot , StorageSystem storage , ExportGroup exportGroup , ExportMask mask , Map < URI , Integer > volumesToAdd , List < URI > volumeURIs , List < URI > initiatorURIs ) throws Exception { List < ExportMask > masks = new ArrayList < ExportMask > ( ) ; masks . add ( mask ) ; String zoningStep = generateZoningAddVolumesWorkflow ( workflow , attachGroupSnapshot , exportGroup , masks , volumeURIs ) ; return generateExportMaskAddVolumesWorkflow ( workflow , zoningStep , storage , exportGroup , mask , volumesToAdd , initiatorURIs ) ; }
generates device specific sequence of workflow to addvolumes in exportmask .
