fix(global_defaults): type id, vlan, disk size and disk bus as the contract does

This commit is contained in:
2026-10-05 18:17:09 +02:00
parent 27d0edf3f7
commit fec3fbfa8e
@@ -43,7 +43,7 @@ argument_specs:
filesystem: {type: str, choices: [btrfs, ext4, xfs]}
name: {type: str}
source: {type: str}
id: {type: str}
id: {type: int}
cpus: {type: int}
memory: {type: int}
balloon: {type: int}
@@ -61,7 +61,7 @@ argument_specs:
type: dict
options:
bridge: {type: str}
vlan: {type: str}
vlan: {type: int}
ip: {type: str}
prefix: {type: int}
gateway: {type: str}
@@ -93,11 +93,11 @@ argument_specs:
type: list
elements: dict
options:
size: {type: float}
size: {type: int}
device: {type: str}
storage: {type: str}
format: {type: str}
bus: {type: str}
bus: {type: str, choices: ["", scsi, virtio, sata, ide]}
slot: {type: int}
path: {type: str}
target: {type: str}