Add NFS Security operation
The Add NFS Security operation enables pathnames for mounting according to the specified rules. New rules for the pathnames take effect immediately, ignoring previous rules for the specified pathames.
The following table describes the elements for this request.
Adapter request elements for the Add NFS Security operation
Element |
Definition |
Required |
---|---|---|
|
Specifies the name of the operation: |
Yes |
|
Specifies a list of arguments that is required for this operation |
Yes |
|
Contains the parent XML element for the |
Conditional; required if the adapter configuration is empty in Grid Manager |
|
Contains the child XML Notes
|
Conditional; required if |
|
Specifies the host name or IP address of the server on which NetApp DataFabric Manager is running |
Conditional; required if |
|
Specifies the user name required to log on to the NetApp DataFabric Manager |
Conditional; required if |
|
Specifies the password that corresponds to the |
Conditional; required if |
|
Specifies the communication protocol used by the adapter |
No |
|
Specifies the port on which NetApp DataFabric Manager is enabled |
No |
|
Specifies the child XML element of the
|
No |
|
Specifies the hostname or IP of the target storage or filer |
Yes |
|
Modifies the etc/exports file to append the rule for a permanent change (The new rule still takes effect immediately) |
No |
|
Returns a list of directories that were appended |
No |
|
Specifies the pathname inside of the filer that is being exported |
No |
|
Specifies the directory name or file to export |
Yes |
|
All hosts with this user-id or user name have root access to this directory |
No |
|
Causes the server file system to silently ignore any attempt to enable the setuid or setgid mode bits. |
No |
|
Specifies an array of hostnames, which only have read privileges for all the security flavors found in the sec-flavor list |
No |
|
Species an array of hostnames, which have read and write privileges for all the security flavors found in the sec-flavor list |
No |
|
Specifies an array of hostnames, which have roots with the read-write or read-only privileges |
No |
|
Specifies the structure containing information pertaining to a host |
No |
|
Provides access rights for this rule to all the hosts |
No |
|
A hostname can be in ONE of the following formats
|
No |
|
Specifies whether to apply the rule to every host apart from the current rule |
No |
|
Contains the list of security flavors |
No |
|
Specifies a list of possible security flavors this rule supports |
No |
|
Represents one security flavor |
No |
A sample adapter request for this operation is given in the following figure.
Sample adapter request for the Add NFS Security operation
<netapp-storage-request>
<operation-name>append-export-rule</operation-name>
<arguments>
<targets>
<target>
<host>server137</host>
<user-name>username</user-name>
<password encryption-type = "Base64">cGFzc3dvcmQ=</password>
<protocol>http</protocol>
<port>8088</port>
</target>
</targets>
<target />
<target-host>devsim1</target-host>
<persistent>true</persistent>
<verbose>true</verbose>
<pathname>/vol/nas_dataset_2/devtest1</pathname>
<anonymous-access-user>username</anonymous-access-user>
<disable-setuid>true</disable-setuid>
<read-only>
<exports-hostname-info>
<all-hosts>false</all-hosts>
<name>172.11.11.111</name>
<negate>true</negate>
</exports-hostname-info>
</read-only>
<read-write>
<exports-hostname-info>
<all-hosts>false</all-hosts>
<name>172.11.11.111</name>
</exports-hostname-info>
</read-write>
<root>
<exports-hostname-info>
<all-hosts>false</all-hosts>
<name>172.11.11.111</name>
<negate>true</negate>
</exports-hostname-info>
</root>
<sec-flavor>
<sec-flavor-info>
<flavor>sys</flavor>
</sec-flavor-info>
<sec-flavor-info>
<flavor>none</flavor>
</sec-flavor-info>
</sec-flavor>
</arguments>
</netapp-storage-request>
A sample adapter response for this operation is given in the following figure.
Sample adapter response for the Add NFS Security operation
<netapp-storage-response>
<metadata>
<status>success</status>
<response-count>1</response-count>
</metadata>
<responses>
<response>
<metadata>
<target>server137</target>
<status>success</status>
<count>2</count>
</metadata>
<output>
<loaded-pathnames>
<pathname-info>
<name>/vol/nas_dataset_2/devtest1</name>
</pathname-info>
</loaded-pathnames>
<exported-pathnames>
<pathname-info>
<name>/vol/nas_dataset_2/devtest1</name>
</pathname-info>
</exported-pathnames>
</output>
</response>
</responses>
</netapp-storage-response>
Comments
Log in or register to comment.