private void updateVMAX3AutoTieringPolicy(StorageSystem storage,List<URI> volumeURIs,VirtualPool newVirtualPool,boolean rollback,TaskCompleter taskCompleter) throws Exception {
  _log.info("Changing parking storage group for the VMAX3 non-exported volumes based on newPolicyName.");
  String newPolicyName=ControllerUtils.getFastPolicyNameFromVirtualPool(_dbClient,storage,newVirtualPool);
  if (null == newPolicyName) {
    newPolicyName=Constants.NONE;
  }
  Set<String> volumeDeviceIds=new HashSet<String>();
  String fastSetting=null;
  for (  URI volURI : volumeURIs) {
    Volume volume=_dbClient.queryObject(Volume.class,volURI);
    volumeDeviceIds.add(volume.getNativeId());
    if (null == fastSetting) {
      fastSetting=_helper.getVMAX3FastSettingForVolume(volURI,newPolicyName);
    }
    boolean forceFlag=ExportUtils.useEMCForceFlag(_dbClient,volURI);
    _helper.removeVolumeFromParkingSLOStorageGroup(storage,volume.getNativeId(),forceFlag);
  }
  addVolumesToParkingStorageGroup(storage,fastSetting,volumeDeviceIds);
}

private void updateVMAX3AutoTieringPolicy ( StorageSystem storage , List < URI > volumeURIs , VirtualPool newVirtualPool , boolean rollback , TaskCompleter taskCompleter ) throws Exception { _log . info ( "Changing parking storage group for the VMAX3 non-exported volumes based on newPolicyName." ) ; String newPolicyName = ControllerUtils . getFastPolicyNameFromVirtualPool ( _dbClient , storage , newVirtualPool ) ; if ( null == newPolicyName ) { newPolicyName = Constants . NONE ; } Set < String > volumeDeviceIds = new HashSet < String > ( ) ; String fastSetting = null ; for ( URI volURI : volumeURIs ) { Volume volume = _dbClient . queryObject ( Volume . class , volURI ) ; volumeDeviceIds . add ( volume . getNativeId ( ) ) ; if ( null == fastSetting ) { fastSetting = _helper . getVMAX3FastSettingForVolume ( volURI , newPolicyName ) ; } boolean forceFlag = ExportUtils . useEMCForceFlag ( _dbClient , volURI ) ; _helper . removeVolumeFromParkingSLOStorageGroup ( storage , volume . getNativeId ( ) , forceFlag ) ; } addVolumesToParkingStorageGroup ( storage , fastSetting , volumeDeviceIds ) ; }
this method is used to change parking storage group for the vmax3 non exported volumes based on newpolicyname .
