fix(global_defaults): type id, vlan, disk size and disk bus as the contract does
This commit is contained in:
@@ -43,7 +43,7 @@ argument_specs:
|
|||||||
filesystem: {type: str, choices: [btrfs, ext4, xfs]}
|
filesystem: {type: str, choices: [btrfs, ext4, xfs]}
|
||||||
name: {type: str}
|
name: {type: str}
|
||||||
source: {type: str}
|
source: {type: str}
|
||||||
id: {type: str}
|
id: {type: int}
|
||||||
cpus: {type: int}
|
cpus: {type: int}
|
||||||
memory: {type: int}
|
memory: {type: int}
|
||||||
balloon: {type: int}
|
balloon: {type: int}
|
||||||
@@ -61,7 +61,7 @@ argument_specs:
|
|||||||
type: dict
|
type: dict
|
||||||
options:
|
options:
|
||||||
bridge: {type: str}
|
bridge: {type: str}
|
||||||
vlan: {type: str}
|
vlan: {type: int}
|
||||||
ip: {type: str}
|
ip: {type: str}
|
||||||
prefix: {type: int}
|
prefix: {type: int}
|
||||||
gateway: {type: str}
|
gateway: {type: str}
|
||||||
@@ -93,11 +93,11 @@ argument_specs:
|
|||||||
type: list
|
type: list
|
||||||
elements: dict
|
elements: dict
|
||||||
options:
|
options:
|
||||||
size: {type: float}
|
size: {type: int}
|
||||||
device: {type: str}
|
device: {type: str}
|
||||||
storage: {type: str}
|
storage: {type: str}
|
||||||
format: {type: str}
|
format: {type: str}
|
||||||
bus: {type: str}
|
bus: {type: str, choices: ["", scsi, virtio, sata, ide]}
|
||||||
slot: {type: int}
|
slot: {type: int}
|
||||||
path: {type: str}
|
path: {type: str}
|
||||||
target: {type: str}
|
target: {type: str}
|
||||||
|
|||||||
Reference in New Issue
Block a user