esxi_ovf_import
Deploy an OVF package to a vSphere ESXi host by validating the descriptor, network and datastore mappings, then running a background NFC upload that finalizes the lease. Aborts on failure without deleting existing VMs.
Instructions
完整OVF导入:验证描述符/网络/数据存储/文件映射,后台NFC上传、完成租约;失败Abort,不删除已有VM。disks按OVF文件path映射source_job_id或HTTPS source_url。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"datastore": "<datastore>",
"ovf_descriptor": "<ovf_descriptor>",
"network_mappings": "<network_mappings>",
"disks": "<disks>"
},
"name": "esxi_ovf_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| disks | Yes | ||
| dry_run | No | ||
| power_on | No | ||
| datastore | Yes | ||
| properties | No | ||
| request_id | No | ||
| expected_host | No | ||
| ovf_descriptor | Yes | ||
| accept_warnings | No | ||
| network_mappings | Yes | ||
| deployment_option | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |