Search in sources :

Example 1 with MountFSExport

use of com.emc.sa.service.vipr.file.tasks.MountFSExport in project coprhd-controller by CoprHD.

the class FileStorageUtils method mountNFSExport.

public static Task<FileShareRestRep> mountNFSExport(URI hostId, URI fileSystemId, String subDirectory, String mountPath, String security, String fsType) {
    FileSystemMountParam param = new FileSystemMountParam(hostId, subDirectory, security, mountPath, fsType);
    Task<FileShareRestRep> task = execute(new MountFSExport(fileSystemId, param));
    addAffectedResource(task);
    return task;
}
Also used : MountFSExport(com.emc.sa.service.vipr.file.tasks.MountFSExport) FileSystemMountParam(com.emc.storageos.model.file.FileSystemMountParam) FileShareRestRep(com.emc.storageos.model.file.FileShareRestRep)

Aggregations

MountFSExport (com.emc.sa.service.vipr.file.tasks.MountFSExport)1 FileShareRestRep (com.emc.storageos.model.file.FileShareRestRep)1 FileSystemMountParam (com.emc.storageos.model.file.FileSystemMountParam)1