deploy_vm_from_ova
Deploy a new virtual machine from a local OVA file by uploading its VMDK to a vCenter or ESXi datastore.
Instructions
[WRITE] Create a new VM by importing a local .ova file (OVF parse + VMDK upload).
Use for local OVA files; for vSphere templates use deploy_vm_from_template, to copy an existing VM vm_clone. Returns a status string naming the new VM. Upload time scales with OVA size; fails before creating anything if the datastore is not found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | vCenter/ESXi target from config.yaml; omit for the default. | |
| vm_name | Yes | Name for the new VM; must not already exist. | |
| ova_path | Yes | Local path to the .ova file (must be readable by this server). | |
| power_on | No | Power the VM on after import (default False). | |
| folder_path | No | vCenter folder path; omit for the datacenter root. | |
| network_name | No | Port group for the NICs (default "VM Network"). | VM Network |
| snapshot_name | No | If set, snapshots the new VM with this name. | |
| datastore_name | Yes | Target datastore (see browse_datastore). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |