use of com.emc.storageos.vnxe.models.LunSnapCreateParam in project coprhd-controller by CoprHD.
the class VNXeApiClient method createLunGroupSnap.
/**
* Create lun snapshot
*
* @param lunID
* lun id
* @param name
* snapshot name
* @return VNXeCommandJob
*/
public VNXeCommandJob createLunGroupSnap(String lunGroupID, String name) {
_logger.info("creating lun group snap:" + lunGroupID);
LunSnapCreateParam parm = new LunSnapCreateParam();
VNXeBase resource = new VNXeBase(lunGroupID);
parm.setStorageResource(resource);
parm.setName(name);
LunGroupSnapRequests req = new LunGroupSnapRequests(_khClient);
return req.createLunGroupSnap(parm);
}
use of com.emc.storageos.vnxe.models.LunSnapCreateParam in project coprhd-controller by CoprHD.
the class VNXeApiClient method createLunSnap.
/**
* Create lun snapshot
*
* @param lunID
* lun id
* @param name
* snapshot name
* @return VNXeCommandJob
*/
public VNXeCommandJob createLunSnap(String lunID, String name) {
_logger.info("creating lun snap:" + lunID);
LunSnapCreateParam parm = new LunSnapCreateParam();
parm.setStorageResource(new VNXeBase(lunID));
parm.setName(name);
LunSnapRequests req = new LunSnapRequests(_khClient);
return req.createLunSnap(parm);
}
Aggregations