use of com.emc.storageos.vnxe.requests.LunSnapRequests in project coprhd-controller by CoprHD.
the class VNXeApiClient method deleteLunSnap.
/**
* Delete lun snapshot
*
* @param snapId
* snapshot VNXe Id
* @return VNXeCommandJob
*/
public VNXeCommandJob deleteLunSnap(String snapId) {
_logger.info("deleting lun snap:" + snapId);
LunSnapRequests req = new LunSnapRequests(_khClient);
return req.deleteLunSnap(snapId);
}
use of com.emc.storageos.vnxe.requests.LunSnapRequests 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