Unsupported content This version of the product has reached end of support. The documentation is available for your convenience. However, you must be logged in to access it. You will not be able to leave comments.

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

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>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*