Export VM As OVF Template operation
The Export VM As OVF Template operation exports the specified virtual machine as an OVF template and downloads the files that are associated with the virtual machine entity.
The following table describes the elements for this request.
Adapter request elements for the Export VM As OVF Template operation
Element | Definition | Required | |
---|---|---|---|
<operation-type> | Defines the type of the operation: Configure_VM | Yes | |
<operation-name> | Defines the name of the operation: Export_VM_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-machine> | Specifies the virtual machine that you want to export as an OVF template | Yes | |
<ovf-download-directory> | Specifies the directory on the TrueSight Orchestration peer under which the virtual machine OVF descriptor and the other entity files are to be exported | Yes | |
<cdp> | Contains the required parameters for generating the OVF descriptor
The <name> element 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 |
The following code sample shows a sample adapter request for the Export VM As OVF Template operation.
Sample adapter request for the Export VM As OVF Template operation
<operation-type>Configure_Vm</operation-type>
<operation-name>Export_VM_As_OVF_Template</operation-name>
<parameters>
<virtual-machine>TestDev3</virtual-machine>
<ovf-download-directory>/home/Rominder</ovf-download-directory>
<cdp>
<name>ExportedVM_OVF</name>
<description>TestDescription</description>
</cdp>
</parameters>
</vmware-infrastructure-request>
The following code sample shows the response for the sample Export VM As OVF Template operation.
Sample adapter response for the Export VM As OVF Template operation
<metadata>
<status>success</status>
</metadata>
<ExportVmResponse>
<ovf-download-directory>/home/test</ovf-download-directory>
</ExportVmResponse>
</vmware-infrastructure-response>