Class: Ansible::Ruby::Modules::Ovirt_affinity_group
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ovirt_affinity_group
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_affinity_group.rb,
lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_affinity_groups.rb
Overview
This module manage affinity groups in oVirt/RHV. It can also manage assignments of those groups to VMs.
Instance Method Summary collapse
-
#cluster ⇒ String?
Name of the cluster of the affinity group.
-
#description ⇒ Object?
Description of the affinity group.
-
#host_enforcing ⇒ Symbol?
If I(yes) VM cannot start on host if it does not satisfy the C(host_rule).,This parameter is support since oVirt/RHV 4.1 version.
-
#host_rule ⇒ :negative, ...
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.,This parameter is support since oVirt/RHV 4.1 version.
-
#hosts ⇒ Array<String>, ...
List of the hosts names, which should have assigned this affinity group.,This parameter is support since oVirt/RHV 4.1 version.
-
#name ⇒ String
Name of the affinity group to manage.
-
#state ⇒ :absent, ...
Should the affinity group be present or absent.
-
#vm_enforcing ⇒ Symbol?
If I(yes) VM cannot start if it does not satisfy the C(vm_rule).
-
#vm_rule ⇒ :disabled, ...
If I(positive) I(all) VMs in this group should run on the host defined by C(host_rule).,If I(negative) I(no) VMs in this group should run on the host defined by C(host_rule).,If I(disabled) this affinity group doesn’t take effect.
-
#vms ⇒ Array<String>, ...
List of the VMs names, which should have assigned this affinity group.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#cluster ⇒ String?
Returns Name of the cluster of the affinity group.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_affinity_group.rb', line 20 attribute :cluster |
#description ⇒ Object?
Returns Description of the affinity group.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_affinity_group.rb', line 24 attribute :description |
#host_enforcing ⇒ Symbol?
Returns If I(yes) VM cannot start on host if it does not satisfy the C(host_rule).,This parameter is support since oVirt/RHV 4.1 version.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_affinity_group.rb', line 27 attribute :host_enforcing |
#host_rule ⇒ :negative, ...
Returns 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.,This parameter is support since oVirt/RHV 4.1 version.
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_affinity_group.rb', line 31 attribute :host_rule |
#hosts ⇒ Array<String>, ...
Returns List of the hosts names, which should have assigned this affinity group.,This parameter is support since oVirt/RHV 4.1 version.
47 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_affinity_group.rb', line 47 attribute :hosts |
#name ⇒ String
Returns Name of the affinity group to manage.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_affinity_group.rb', line 12 attribute :name |
#state ⇒ :absent, ...
Returns Should the affinity group be present or absent.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_affinity_group.rb', line 16 attribute :state |
#vm_enforcing ⇒ Symbol?
Returns If I(yes) VM cannot start if it does not satisfy the C(vm_rule).
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_affinity_group.rb', line 35 attribute :vm_enforcing |
#vm_rule ⇒ :disabled, ...
Returns If I(positive) I(all) VMs in this group should run on the host defined by C(host_rule).,If I(negative) I(no) VMs in this group should run on the host defined by C(host_rule).,If I(disabled) this affinity group doesn’t take effect.
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_affinity_group.rb', line 39 attribute :vm_rule |
#vms ⇒ Array<String>, ...
Returns List of the VMs names, which should have assigned this affinity group.
43 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_affinity_group.rb', line 43 attribute :vms |