public void resetHostIOLimits(WBEMClient client,StorageSystem storage,CIMObjectPath storageGroupPath) throws Exception {
  CIMInstance storageGroupInstance=checkExists(storage,storageGroupPath,false,false);
  String hostIOLimitBandwidth=CIMPropertyFactory.getPropertyValue(storageGroupInstance,EMC_MAX_BANDWIDTH);
  String hostIOLimitIOPs=CIMPropertyFactory.getPropertyValue(storageGroupInstance,EMC_MAX_IO);
  boolean resetBandwidth=!StringUtils.isEmpty(hostIOLimitBandwidth) && Integer.parseInt(hostIOLimitBandwidth) > 0;
  if (resetBandwidth) {
    updateHostIOLimitBandwidth(client,storageGroupPath,0);
  }
  boolean resetIOPs=!StringUtils.isEmpty(hostIOLimitIOPs) && Integer.parseInt(hostIOLimitIOPs) > 0;
  if (resetIOPs) {
    updateHostIOLimitIOPs(client,storageGroupPath,0);
  }
}

public void resetHostIOLimits ( WBEMClient client , StorageSystem storage , CIMObjectPath storageGroupPath ) throws Exception { CIMInstance storageGroupInstance = checkExists ( storage , storageGroupPath , false , false ) ; String hostIOLimitBandwidth = CIMPropertyFactory . getPropertyValue ( storageGroupInstance , EMC_MAX_BANDWIDTH ) ; String hostIOLimitIOPs = CIMPropertyFactory . getPropertyValue ( storageGroupInstance , EMC_MAX_IO ) ; boolean resetBandwidth = ! StringUtils . isEmpty ( hostIOLimitBandwidth ) && Integer . parseInt ( hostIOLimitBandwidth ) > 0 ; if ( resetBandwidth ) { updateHostIOLimitBandwidth ( client , storageGroupPath , 0 ) ; } boolean resetIOPs = ! StringUtils . isEmpty ( hostIOLimitIOPs ) && Integer . parseInt ( hostIOLimitIOPs ) > 0 ; if ( resetIOPs ) { updateHostIOLimitIOPs ( client , storageGroupPath , 0 ) ; } }
reset storage group host io limits to 0
