Class: Ansible::Ruby::Modules::Ovirt_mac_pool

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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_duplicatesSymbol?

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).

Returns:

  • (Symbol, nil)

    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

#descriptionObject?

Returns Description of the MAC pool.

Returns:

  • (Object, nil)

    Description of the MAC pool.



16
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_mac_pool.rb', line 16

attribute :description

#nameString

Returns Name of the MAC pool to manage.

Returns:

  • (String)

    Name of the MAC pool to manage.



12
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_mac_pool.rb', line 12

attribute :name

#rangesArray<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.

Returns:

  • (Array<String>, String, nil)

    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.

Returns:

  • (:present, :absent, nil)

    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