Class: Ansible::Ruby::Modules::Ovirt_mac_pool
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ovirt_mac_pool
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_mac_pool.rb,
lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_mac_pools.rb
Overview
This module manage MAC pools in oVirt/RHV.
Instance Method Summary collapse
-
#allow_duplicates ⇒ Symbol?
If I(true) allow a MAC address to be used multiple times in a pool.,Default value is set by oVirt/RHV engine to I(false).
-
#description ⇒ Object?
Description of the MAC pool.
-
#name ⇒ String
Name of the MAC pool to manage.
-
#ranges ⇒ Array<String>, ...
List of MAC ranges.
-
#state ⇒ :present, ...
Should the mac pool be present or absent.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#allow_duplicates ⇒ Symbol?
Returns If I(true) allow a MAC address to be used multiple times in a pool.,Default value is set by oVirt/RHV engine to I(false).
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_mac_pool.rb', line 23 attribute :allow_duplicates |
#description ⇒ Object?
Returns Description of the MAC pool.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_mac_pool.rb', line 16 attribute :description |
#name ⇒ String
Returns Name of the MAC pool to manage.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_mac_pool.rb', line 12 attribute :name |
#ranges ⇒ Array<String>, ...
Returns List of MAC ranges. The from and to should be split by comma.,For example: 00:1a:4a:16:01:51,00:1a:4a:16:01:61.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_mac_pool.rb', line 27 attribute :ranges |
#state ⇒ :present, ...
Returns Should the mac pool be present or absent.
19 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_mac_pool.rb', line 19 attribute :state |