Create vFiler operation
The Create vFiler operation creates a new vFiler on a storage system. A vFiler can be created by:
- Specifying the filer on which to create it
- Specifying a resource pool: In this case, a filer is selected from the resource pool based on the required licenses and in-built resource selection algorithm to evenly balance space and load in the resource pool, then a vFiler is created on the selected filer.
The following table describes the elements for this request.
Adapter request elements for the Create vFiler operation
A sample adapter request for this operation is given in the following figure.
Sample adapter request for the Create vFiler operation
<netapp-storage-request>
<operation-name>create-vfiler</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 />
<name>testfiler-1</name>
<resource-name-or-id>172.11.11.111</resource-name-or-id>
<ip-address>172.11.11.112</ip-address>
<dry-run>false</dry-run>
<allowed-protocols>
<protocol>nfs</protocol>
</allowed-protocols>
<ipspace>test-ipspace</ipspace>
</arguments>
</netapp-storage-request>
<operation-name>create-vfiler</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 />
<name>testfiler-1</name>
<resource-name-or-id>172.11.11.111</resource-name-or-id>
<ip-address>172.11.11.112</ip-address>
<dry-run>false</dry-run>
<allowed-protocols>
<protocol>nfs</protocol>
</allowed-protocols>
<ipspace>test-ipspace</ipspace>
</arguments>
</netapp-storage-request>
A sample adapter response for this operation is given in the following figure.
Sample adapter response for the Create vFiler operation
<netapp-storage-response>
<metadata>
<status>success</status>
<response-count>1</response-count>
</metadata>
<responses>
<response>
<metadata>
<target>server137</target>
<status>success</status>
<count>5</count>
</metadata>
<output>
<vfiler-id>2878</vfiler-id>
<root-volume-id>2875</root-volume-id>
<root-volume-name>testfiler-1:/testfiler_1_root_1</root-volume-name>
<filer-id>2065</filer-id>
<filer-name>filer1.xyz.com</filer-name>
</output>
</response>
</responses>
</netapp-storage-response>
<metadata>
<status>success</status>
<response-count>1</response-count>
</metadata>
<responses>
<response>
<metadata>
<target>server137</target>
<status>success</status>
<count>5</count>
</metadata>
<output>
<vfiler-id>2878</vfiler-id>
<root-volume-id>2875</root-volume-id>
<root-volume-name>testfiler-1:/testfiler_1_root_1</root-volume-name>
<filer-id>2065</filer-id>
<filer-name>filer1.xyz.com</filer-name>
</output>
</response>
</responses>
</netapp-storage-response>
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*