private void validateMaskAndPlaceVolumes(StorageSystem array,URI varrayURI,Map<URI,ExportMask> maskSet,Set<URI> invalidMasks,ExportMask mask,ExportMaskPlacementDescriptor placementDescriptor,Map<URI,Volume> volumeMap,String logMsg){
  if (!isOpenStack(array)) {
    _log.info(logMsg);
    if (VPlexBackEndOrchestratorUtil.validateExportMask(varrayURI,_initiatorPortMap,mask,invalidMasks,_directorToInitiatorIds,_idToInitiatorMap,_dbClient,_coordinator,_portWwnToClusterMap)) {
      maskSet.put(mask.getId(),mask);
      placementDescriptor.placeVolumes(mask.getId(),volumeMap);
    }
    for (    URI invalidMask : invalidMasks) {
      placementDescriptor.invalidateExportMask(invalidMask);
    }
  }
 else {
    maskSet.put(mask.getId(),mask);
    placementDescriptor.placeVolumes(mask.getId(),volumeMap);
  }
}

private void validateMaskAndPlaceVolumes ( StorageSystem array , URI varrayURI , Map < URI , ExportMask > maskSet , Set < URI > invalidMasks , ExportMask mask , ExportMaskPlacementDescriptor placementDescriptor , Map < URI , Volume > volumeMap , String logMsg ) { if ( ! isOpenStack ( array ) ) { _log . info ( logMsg ) ; if ( VPlexBackEndOrchestratorUtil . validateExportMask ( varrayURI , _initiatorPortMap , mask , invalidMasks , _directorToInitiatorIds , _idToInitiatorMap , _dbClient , _coordinator , _portWwnToClusterMap ) ) { maskSet . put ( mask . getId ( ) , mask ) ; placementDescriptor . placeVolumes ( mask . getId ( ) , volumeMap ) ; } for ( URI invalidMask : invalidMasks ) { placementDescriptor . invalidateExportMask ( invalidMask ) ; } } else { maskSet . put ( mask . getId ( ) , mask ) ; placementDescriptor . placeVolumes ( mask . getId ( ) , volumeMap ) ; } }
validate the mask for only non openstack storage systems now . for openstack , export mask will get validated later before the zoning step
