Search in sources :

Example 1 with CreateFileSystemExport

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

the class FileStorageUtils method createFileSystemExportWithoutRollBack.

public static Task<FileShareRestRep> createFileSystemExportWithoutRollBack(URI fileSystemId, String comment, String security, String permissions, String rootUser, List<String> exportHosts, String subDirectory, boolean bypassDnsCheck) {
    Task<FileShareRestRep> task = execute(new CreateFileSystemExport(fileSystemId, comment, NFS_PROTOCOL, security, permissions, rootUser, exportHosts, subDirectory, bypassDnsCheck));
    addAffectedResource(task);
    return task;
}
Also used : FileShareRestRep(com.emc.storageos.model.file.FileShareRestRep) CreateFileSystemExport(com.emc.sa.service.vipr.file.tasks.CreateFileSystemExport)

Aggregations

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