Search in sources :

Example 6 with FileSystemSnapRequests

use of com.emc.storageos.vnxe.requests.FileSystemSnapRequests in project coprhd-controller by CoprHD.

the class VNXeApiClient method getFileSystemSnaps.

/**
 * get file system's snapshot list
 *
 * @param fsId
 *            file system id
 * @return list of snapshots
 */
public List<VNXeFileSystemSnap> getFileSystemSnaps(String fsId) {
    String resourceId = getStorageResourceId(fsId);
    FileSystemSnapRequests req = new FileSystemSnapRequests(_khClient, getBasicSystemInfo().getSoftwareVersion());
    return req.getFileSystemSnaps(resourceId);
}
Also used : FileSystemSnapRequests(com.emc.storageos.vnxe.requests.FileSystemSnapRequests)

Example 7 with FileSystemSnapRequests

use of com.emc.storageos.vnxe.requests.FileSystemSnapRequests in project coprhd-controller by CoprHD.

the class VNXeApiClient method getSnapshotByName.

/**
 * Get snapshot by its name
 *
 * @param name
 *            snapshot name
 * @return VNXeFileSystemSnap
 */
public VNXeFileSystemSnap getSnapshotByName(String name) {
    _logger.info("Getting the snapshot {}: ", name);
    FileSystemSnapRequests req = new FileSystemSnapRequests(_khClient, getBasicSystemInfo().getSoftwareVersion());
    return req.getByName(name);
}
Also used : FileSystemSnapRequests(com.emc.storageos.vnxe.requests.FileSystemSnapRequests)

Aggregations

FileSystemSnapRequests (com.emc.storageos.vnxe.requests.FileSystemSnapRequests)7 VNXeBase (com.emc.storageos.vnxe.models.VNXeBase)2 FileSystemSnapCreateParam (com.emc.storageos.vnxe.models.FileSystemSnapCreateParam)1 NfsShareCreateForSnapParam (com.emc.storageos.vnxe.models.NfsShareCreateForSnapParam)1 NfsShareModifyForShareParam (com.emc.storageos.vnxe.models.NfsShareModifyForShareParam)1 NFSShareDefaultAccessEnum (com.emc.storageos.vnxe.models.NfsShareParam.NFSShareDefaultAccessEnum)1 VNXeCommandJob (com.emc.storageos.vnxe.models.VNXeCommandJob)1 VNXeFileSystemSnap (com.emc.storageos.vnxe.models.VNXeFileSystemSnap)1 VNXeNfsShare (com.emc.storageos.vnxe.models.VNXeNfsShare)1 NfsShareRequests (com.emc.storageos.vnxe.requests.NfsShareRequests)1 ArrayList (java.util.ArrayList)1