Search in sources :

Example 1 with ReplicationParam

use of com.emc.storageos.vnxe.models.ReplicationParam 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);
}
Also used : ReplicationParam(com.emc.storageos.vnxe.models.ReplicationParam) ConsistencyGroupRequests(com.emc.storageos.vnxe.requests.ConsistencyGroupRequests) ConsistencyGroupCreateParam(com.emc.storageos.vnxe.models.ConsistencyGroupCreateParam)

Aggregations

ConsistencyGroupCreateParam (com.emc.storageos.vnxe.models.ConsistencyGroupCreateParam)1 ReplicationParam (com.emc.storageos.vnxe.models.ReplicationParam)1 ConsistencyGroupRequests (com.emc.storageos.vnxe.requests.ConsistencyGroupRequests)1