public void createVVset(String displayName) throws Exception {
  _log.info("createVVset enter");
  ClientResponse clientResp=null;
  String payload="{\"name\": \"" + displayName + "\" }";
  _log.info(" 3PARDriver: createVVset uri = {} payload {} ",URI_CREATE_CG.toString(),payload);
  try {
    clientResp=post(URI_CREATE_CG,payload);
    if (clientResp == null) {
      _log.error("3PARDriver: createVVset There is no response from 3PAR");
      throw new HP3PARException("There is no response from 3PAR");
    }
 else     if (clientResp.getStatus() != 201) {
      String errResp=getResponseDetails(clientResp);
      _log.error("3PARDriver: createVVset There is error response from 3PAR = {}",errResp);
      throw new HP3PARException(errResp);
    }
 else {
      _log.info("3PARDriver: createVVset success");
    }
  }
 catch (  Exception e) {
    throw e;
  }
 finally {
    if (clientResp != null) {
      clientResp.close();
    }
    _log.info("3PARDriver: createVVset leave");
  }
}

public void createVVset ( String displayName ) throws Exception { _log . info ( "createVVset enter" ) ; ClientResponse clientResp = null ; String payload = "{\"name\": \"" + displayName + "\" }" ; _log . info ( " 3PARDriver: createVVset uri = {} payload {} " , URI_CREATE_CG . toString ( ) , payload ) ; try { clientResp = post ( URI_CREATE_CG , payload ) ; if ( clientResp == null ) { _log . error ( "3PARDriver: createVVset There is no response from 3PAR" ) ; throw new HP3PARException ( "There is no response from 3PAR" ) ; } else if ( clientResp . getStatus ( ) != 201 ) { String errResp = getResponseDetails ( clientResp ) ; _log . error ( "3PARDriver: createVVset There is error response from 3PAR = {}" , errResp ) ; throw new HP3PARException ( errResp ) ; } else { _log . info ( "3PARDriver: createVVset success" ) ; } } catch ( Exception e ) { throw e ; } finally { if ( clientResp != null ) { clientResp . close ( ) ; } _log . info ( "3PARDriver: createVVset leave" ) ; } }
vv set is a hp3par term for consistency group . this deals with creation of cg , volumes will be added to the cg in create volume
