Search in sources :

Example 6 with NfsShareRequests

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

the class VNXeApiClient method findSnapNfsShare.

/**
 * Find nfsShare using snapshot Id and snapshot share name
 *
 * @param snapId
 *            file system snapshot Id
 * @param shareName
 *            NFS Export/Share name
 * @return nfsShare
 */
public VNXeNfsShare findSnapNfsShare(String snapId, String shareName) {
    _logger.info("finding nfsShare id for snap id: {}, and shareName: {} ", snapId, shareName);
    NfsShareRequests req = new NfsShareRequests(_khClient);
    VNXeNfsShare share = req.findSnapNfsShare(snapId, shareName, getBasicSystemInfo().getSoftwareVersion());
    return share;
}
Also used : NfsShareRequests(com.emc.storageos.vnxe.requests.NfsShareRequests) VNXeNfsShare(com.emc.storageos.vnxe.models.VNXeNfsShare)

Aggregations

VNXeNfsShare (com.emc.storageos.vnxe.models.VNXeNfsShare)6 NfsShareRequests (com.emc.storageos.vnxe.requests.NfsShareRequests)6 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 VNXeBase (com.emc.storageos.vnxe.models.VNXeBase)1 VNXeCommandJob (com.emc.storageos.vnxe.models.VNXeCommandJob)1 VNXeFileSystemSnap (com.emc.storageos.vnxe.models.VNXeFileSystemSnap)1 FileSystemSnapRequests (com.emc.storageos.vnxe.requests.FileSystemSnapRequests)1 ArrayList (java.util.ArrayList)1