private void prepareVolumes(StorageSystem storage,Map<String,String> volumeUriToHluMap,List<StorageVolume> driverVolumes,Map<String,String> driverVolumeToHLUMap,Map<String,String> volumeNativeIdToUriMap){
  for (  Map.Entry<String,String> volumeUriToHlu : volumeUriToHluMap.entrySet()) {
    String volumeURI=volumeUriToHlu.getKey();
    BlockObject volume=(BlockObject)dbClient.queryObject(URIUtil.uri(volumeURI));
    StorageVolume driverVolume=createDriverVolume(storage,volume);
    driverVolumes.add(driverVolume);
    driverVolumeToHLUMap.put(driverVolume.getNativeId(),volumeUriToHlu.getValue());
    volumeNativeIdToUriMap.put(driverVolume.getNativeId(),volumeURI);
  }
  log.info("prepareVolumes: volume-HLU pairs for driver: {}",driverVolumeToHLUMap);
}

private void prepareVolumes ( StorageSystem storage , Map < String , String > volumeUriToHluMap , List < StorageVolume > driverVolumes , Map < String , String > driverVolumeToHLUMap , Map < String , String > volumeNativeIdToUriMap ) { for ( Map . Entry < String , String > volumeUriToHlu : volumeUriToHluMap . entrySet ( ) ) { String volumeURI = volumeUriToHlu . getKey ( ) ; BlockObject volume = ( BlockObject ) dbClient . queryObject ( URIUtil . uri ( volumeURI ) ) ; StorageVolume driverVolume = createDriverVolume ( storage , volume ) ; driverVolumes . add ( driverVolume ) ; driverVolumeToHLUMap . put ( driverVolume . getNativeId ( ) , volumeUriToHlu . getValue ( ) ) ; volumeNativeIdToUriMap . put ( driverVolume . getNativeId ( ) , volumeURI ) ; } log . info ( "prepareVolumes: volume-HLU pairs for driver: {}" , driverVolumeToHLUMap ) ; }
prepare existing export mask volumes to driver export request ( ex . in context of add / remove initiators for export masks . )
