public class NetAppCreateQtreeNFSExportConfig
extends java.lang.Object
Create a NFS export rule for the QTree in the storage system using ONTAP.
This task will create a NFS export rule with the access permissions for the QTree i.e., QTree to accesses the host servers. If we choose peristent option in the task, the export rule will be persisted in the file /etc/exportfs which is stored in the storage system, otherwise the rule will be stored in the teporary RAM memory of the storage system. The main advantage for choosing persistent option is the export rule will not delete from the storage system even the system restarts. The non persistent export rule will erase from the temporary memory when the system restarts. This task will work for both ONTAP and OnCommand accounts.
Modifier | Constructor and Description |
---|---|
protected |
NetAppCreateQtreeNFSExportConfig() |
|
NetAppCreateQtreeNFSExportConfig(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
NetAppCreateQtreeNFSExportConfigResponse |
execute() |
java.lang.String |
getActualPath() |
CuicServer |
getCuicServer() |
java.lang.String |
getPath() |
java.lang.String |
getRoot() |
java.lang.String |
getRwHosts() |
java.lang.String |
getSecurity() |
boolean |
isPersistent() |
void |
setActualPath(java.lang.String actualPath)
Enter the actual path mounted when the NFS client mounts the exported
path.
|
void |
setCuicServer(CuicServer api) |
void |
setPath(java.lang.String path)
Enter the path that will be exported to NFS clients.
|
void |
setPersistent(boolean persistent)
Check this option to persist NFS Export rule.
|
void |
setRoot(java.lang.String root)
Enter comma-separated list of hosts that should have root access.
|
void |
setRwHosts(java.lang.String rwHosts)
Enter comma-separated list of hosts that should have read-write access.
|
void |
setSecurity(java.lang.String security)
Select the security flavors that apply for this export.
|
protected NetAppCreateQtreeNFSExportConfig()
public NetAppCreateQtreeNFSExportConfig(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public java.lang.String getPath()
public java.lang.String getActualPath()
public java.lang.String getRwHosts()
public java.lang.String getRoot()
public java.lang.String getSecurity()
public boolean isPersistent()
public void setPath(java.lang.String path)
public void setActualPath(java.lang.String actualPath)
public void setRwHosts(java.lang.String rwHosts)
public void setRoot(java.lang.String root)
public void setSecurity(java.lang.String security)
public void setPersistent(boolean persistent)
public NetAppCreateQtreeNFSExportConfigResponse execute() throws java.lang.Exception
java.lang.Exception