Export VApp As OVF Template operation
The Export VApp As OVF Template operation exports the specified vApp as an Open Virtualization Format (OVF) template and also downloads the files associated with the vApp entity.
The following table describes the elements for this request.
Adapter request elements for the Export VApp As OVF Template operation
Element | Definition | Required | |
|---|---|---|---|
<operation-type> | Defines the type of the operation: Configure_VApp | Yes | |
<operation-name> | Defines the name of the operation: Export_VApp_As_OVF_Template | 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 | |
<virtual-app> | Specifies the name of the vApp that you want to export as an OVF template | Yes | |
<ovf-download-directory> | Specifies the directory on the local TrueSight Orchestration peer where the virtual appliance OVF descriptor and other entity files are exported to | Yes | |
<cdp> | Contains the list of parameters required for generating the OVF descriptor
| No | |
<name> | Specifies the OVF ID to use for the top-level OVF entity. If the OVF ID is not set, the entity's product name is used. If the product name is not available, the VMware Infrastructure entity name is used. | No | |
<description> | Specifies the contents of the annotation section of the top-level OVF Entity. If the description is not set, any existing annotation on the entity is left unchanged. | No |
The following code sample shows a sample adapter request for the Export VApp As OVF Template operation.
Sample adapter request for the Export VApp As OVF Template operation
<operation-type>Configure_VApp</operation-type>
<operation-name>Export_VApp_As_OVF_Template</operation-name>
<parameters>
<virtual-app>vApptest</virtual-app>
<ovf-download-directory>/home/test</ovf-download-directory>
<cdp>
<name>vApptest_OVF</name>
<description>OVF Format of vApptest</description>
</cdp>
</parameters>
</vmware-infrastructure-request>
The following code sample shows the response for the sample Export VApp As OVF Template operation.
Sample adapter response for the Export VApp As OVF Template operation
<metadata>
<status>success</status>
</metadata>
<ExportVAppResponse>
<ovf-download-directory>/home/test</ovf-download-directory>
</ExportVAppResponse>
</vmware-infrastructure-response>