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;
}
Aggregations