use of com.emc.storageos.vnxe.models.ConsistencyGroupCreateParam in project coprhd-controller by CoprHD.
the class VNXeApiClient method createConsistencyGroup.
/**
* Create consistency group for VNX Unity
*
* @param name
* consistency group name
* @return VNXeCommmandResult, with the consistency group id.
*/
public VNXeCommandResult createConsistencyGroup(String name) {
ConsistencyGroupCreateParam param = new ConsistencyGroupCreateParam();
param.setName(name);
ReplicationParam replicaparm = new ReplicationParam();
replicaparm.setIsReplicationDestination(false);
param.setReplicationParameters(replicaparm);
ConsistencyGroupRequests req = new ConsistencyGroupRequests(_khClient);
return req.createConsistencyGroup(param);
}
Aggregations