ovirt_affinity_group: add host rule option disabled (#65704)
This commit is contained in:
parent
6a880b78a2
commit
31eb1a1412
1 changed files with 3 additions and 2 deletions
|
@ -43,8 +43,9 @@ options:
|
||||||
description:
|
description:
|
||||||
- If I(positive) I(all) VMs in this group should run on the this host.
|
- If I(positive) I(all) VMs in this group should run on the this host.
|
||||||
- If I(negative) I(no) VMs in this group should run on the this host.
|
- If I(negative) I(no) VMs in this group should run on the this host.
|
||||||
|
- If I(disabled) this affinity group doesn't take effect.
|
||||||
- This parameter is support since oVirt/RHV 4.1 version.
|
- This parameter is support since oVirt/RHV 4.1 version.
|
||||||
choices: [ negative, positive ]
|
choices: [ disabled, negative, positive ]
|
||||||
vm_enforcing:
|
vm_enforcing:
|
||||||
description:
|
description:
|
||||||
- If I(yes) VM cannot start if it does not satisfy the C(vm_rule).
|
- If I(yes) VM cannot start if it does not satisfy the C(vm_rule).
|
||||||
|
@ -256,7 +257,7 @@ def main():
|
||||||
vm_enforcing=dict(type='bool'),
|
vm_enforcing=dict(type='bool'),
|
||||||
vm_rule=dict(type='str', choices=['disabled', 'negative', 'positive']),
|
vm_rule=dict(type='str', choices=['disabled', 'negative', 'positive']),
|
||||||
host_enforcing=dict(type='bool'),
|
host_enforcing=dict(type='bool'),
|
||||||
host_rule=dict(type='str', choices=['negative', 'positive']),
|
host_rule=dict(type='str', choices=['disabled', 'negative', 'positive']),
|
||||||
vms=dict(type='list'),
|
vms=dict(type='list'),
|
||||||
hosts=dict(type='list'),
|
hosts=dict(type='list'),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue