Add NAS Datastore operation
The Add NAS Datastore operation enables you to create a new storage datastore attached to the network.
The following table describes the elements for the adapter request.
Adapter request elements for the Add NAS Datastore operation
Element | Definition | Required |
|---|---|---|
<operation-type> | Defines the type of operation: Host | Yes |
<operation-name> | Defines the name of operation: Add_NAS_Datastore | Yes |
<soap-url> | Specifies the URL for the remote SOAP service running on the VMware VirtualCenter | No |
<transport> | Specifies the transport protocol for the message | No |
<user-name> | Specifies the user name that is used for HTTP basic authentication on the VMware Virtual Center | No |
<password> | Specifies the password corresponding to <user-name> | Conditional; required if <user-name> is specified |
<parameters> | Contains the elements required to execute the operation | Yes |
<host-system> | Specifies the DNS name of the host on which you want to add the datastore | Yes |
<remote-host> | Specifies the host running the Network File System (NFS) server | Yes |
<remote-path> | Specifies the remote path for the NFS mount point | Yes |
<local-path> | Specifies the name for the new datastore | Yes |
<access-node> | Specifies the access node for the mount point | Yes |
The following figure shows a sample adapter request for the Add NAS Datastoree operation.
Sample adapter request for the Add NAS Datastore operation
<operation-type>Host</operation-type>
<operation-name>Add_NAS_Datastore</operation-name>
<soap-url></soap-url>
<transport></transport>
<user-name></user-name>
<password></password>
<parameters>
<host-system>xyz.bmc.com</host-system>
<spec>
<remote-host>10.251.1.69</remote-host>
<remote-path>/vol/test1/bmc1</remote-path>
<local-path>NetAppNASStorage1</local-path>
<access-mode>readWrite</access-mode>
</spec>
</parameters>
</vmware-infrastructure-request>
The following figure shows the response for the sample adapter request.
Sample adapter response for the Add NAS Datastore operation
<metadata>
<status>success</status>
</metadata>
<AddNASDatastoreResponse>
<Datastore>datastore-6114</Datastore>
</AddNASDatastoreResponse>
</vmware-infrastructure-response>
The following table describes the response element for the Add NAS Datastore operation.
Adapter response element for the Add NAS Datastore operation
Element | Definition |
|---|---|
<Datastore> | Specifies the newly created datastore |