一键导入
inventory-ova
OVA inventory field reference and TSL query examples. Use when querying OVA provider inventory (VMs, disks, networks, storage).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
OVA inventory field reference and TSL query examples. Use when querying OVA provider inventory (VMs, disks, networks, storage).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
VMware vSphere automation with govc. Use when the user wants to list inventory, power VMs, clone, snapshot, import OVA, or inspect datastores/hosts on vCenter/ESXi. Output CLI for the user to run — do not execute govc yourself unless they ask.
Amazon EC2 inventory field reference and TSL query examples. Use when querying EC2 provider inventory (instances, volumes, networks, storage types).
Hyper-V inventory field reference and TSL query examples. Use when querying Hyper-V provider inventory (VMs, disks, networks, storage).
OpenShift (target) inventory field reference and TSL query examples. Use when querying OpenShift/KubeVirt target provider inventory (VMs, NADs, StorageClasses, namespaces, PVCs, DataVolumes).
OpenStack inventory field reference and TSL query examples. Use when querying OpenStack provider inventory (VMs, volumes, networks, subnets, flavors, images, projects).
oVirt (RHV) inventory field reference and TSL query examples. Use when querying oVirt/RHV provider inventory (VMs, disks, networks, storage domains, hosts, clusters).
| name | inventory-ova |
| description | OVA inventory field reference and TSL query examples. Use when querying OVA provider inventory (VMs, disks, networks, storage). |
Field names and query examples for OVA providers. Replace <PROVIDER> and <NS> with actual values.
Key differences: OVA nested model types use PascalCase field names (untagged Go struct fields from OVF parsing), unlike vSphere/oVirt which use camelCase.
| Field | Type | Example |
|---|---|---|
id | string | Forklift internal ID |
name | string | "exported-vm" |
variant | string | "ova" |
path | string | resource path |
ovfPath | string | path to OVF file |
exportSource | string | export origin |
uuid | string | VM UUID |
| Field | Type | Example |
|---|---|---|
cpuCount | number | 4 |
coresPerSocket | number | 2 |
memoryMB | number | 8192 |
memoryUnits | string | "MB" |
cpuUnits | string | "cores" |
| Field | Type | Example |
|---|---|---|
osType | string | "rhel_8x64" |
firmware | string | "efi", "bios" |
secureBoot | bool | false |
| Field | Type | Example |
|---|---|---|
cpuHotAddEnabled | bool | false |
cpuHotRemoveEnabled | bool | false |
memoryHotAddEnabled | bool | false |
faultToleranceEnabled | bool | false |
changeTrackingEnabled | bool | false |
balloonedMemory | number | 0 |
storageUsed | number | bytes |
disks[*])OVA disk fields use PascalCase:
| Field | Type | Example |
|---|---|---|
disks[*].ID | string | disk ID |
disks[*].Name | string | "disk-0" |
disks[*].FilePath | string | "disk1.vmdk" |
disks[*].Capacity | number | bytes |
disks[*].CapacityAllocationUnits | string | "byte * 2^30" |
disks[*].DiskId | string | OVF disk reference |
disks[*].FileRef | string | OVF file reference |
disks[*].Format | string | "http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized" |
disks[*].PopulatedSize | number | bytes |
nics[*])| Field | Type | Example |
|---|---|---|
nics[*].Name | string | "ethernet0" |
nics[*].MAC | string | "00:50:56:be:aa:bb" |
nics[*].Network | string | network name |
nics[*].Config[*].Key | string | config key |
nics[*].Config[*].Value | string | config value |
networks[*])| Field | Type | Example |
|---|---|---|
networks[*].ID | string | network ID |
networks[*].Name | string | "VM Network" |
networks[*].Description | string | network description |
| Field | Type | Example |
|---|---|---|
devices[*].Kind | string | device type |
concerns[*].id | string | concern ID |
concerns[*].label | string | concern label |
concerns[*].category | string | "Warning" |
concerns[*].assessment | string | description |
Query with get inventory disk --provider <PROVIDER>.
| Field | Type | Example |
|---|---|---|
id | string | Forklift internal ID |
name | string | disk name |
variant | string | "ova" |
path | string | resource path |
FilePath | string | "disk1.vmdk" |
Capacity | number | bytes |
CapacityAllocationUnits | string | "byte * 2^30" |
DiskId | string | OVF disk reference |
FileRef | string | OVF file reference |
Format | string | VMDK format URI |
PopulatedSize | number | bytes |
| Field | Type | Example |
|---|---|---|
id | string | Forklift internal ID |
name | string | "VM Network" |
variant | string | "ova" |
Description | string | network description |
| Field | Type | Example |
|---|---|---|
id | string | Forklift internal ID |
name | string | storage name |
variant | string | "ova" |
mtv_read { "command": "get inventory vm", "flags": { "provider": "<PROVIDER>", "namespace": "<NS>", "query": "where cpuCount >= 4", "output": "markdown" } }
mtv_read { "command": "get inventory vm", "flags": { "provider": "<PROVIDER>", "namespace": "<NS>", "query": "where memoryMB > 8192", "output": "markdown" } }
mtv_read { "command": "get inventory vm", "flags": { "provider": "<PROVIDER>", "namespace": "<NS>", "query": "where firmware = 'efi'", "output": "markdown" } }
mtv_read { "command": "get inventory vm", "flags": { "provider": "<PROVIDER>", "namespace": "<NS>", "query": "where name ~= 'prod-.*'", "output": "markdown" } }
mtv_read { "command": "get inventory vm", "flags": { "provider": "<PROVIDER>", "namespace": "<NS>", "query": "where len(disks) > 1", "output": "markdown" } }