Class: Ansible::Ruby::Modules::Ucs_mac_pool

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_mac_pool.rb

Overview

Configures MAC address pools and MAC address blocks on Cisco UCS Manager. Examples can be used with the UCS Platform Emulator U(communities.cisco.com/ucspe).

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

#descrptionObject?

Returns A description of the MAC pool.,Enter up to 256 characters.,You can use any characters or spaces except the following:,‘ (accent mark), (backslash), ^ (carat), “ (double quote), = (equal sign), > (greater than), < (less than), or ’ (single quote).

Returns:

  • (Object, nil)

    A description of the MAC pool.,Enter up to 256 characters.,You can use any characters or spaces except the following:,‘ (accent mark), (backslash), ^ (carat), “ (double quote), = (equal sign), > (greater than), < (less than), or ’ (single quote).



21
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_mac_pool.rb', line 21

attribute :descrption

#first_addrString?

Returns The first MAC address in the block of addresses.,This is the From field in the UCS Manager MAC Blocks menu.

Returns:

  • (String, nil)

    The first MAC address in the block of addresses.,This is the From field in the UCS Manager MAC Blocks menu.



28
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_mac_pool.rb', line 28

attribute :first_addr

#last_addrString?

Returns The last MAC address in the block of addresses.,This is the To field in the UCS Manager Add MAC Blocks menu.

Returns:

  • (String, nil)

    The last MAC address in the block of addresses.,This is the To field in the UCS Manager Add MAC Blocks menu.



32
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_mac_pool.rb', line 32

attribute :last_addr

#nameString

Returns The name of the MAC pool.,This name can be between 1 and 32 alphanumeric characters.,You cannot use spaces or any special characters other than - (hyphen), “_” (underscore), : (colon), and . (period).,You cannot change this name after the MAC pool is created.

Returns:

  • (String)

    The name of the MAC pool.,This name can be between 1 and 32 alphanumeric characters.,You cannot use spaces or any special characters other than - (hyphen), “_” (underscore), : (colon), and . (period).,You cannot change this name after the MAC pool is created.



17
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_mac_pool.rb', line 17

attribute :name

#order:default, ...

Returns The Assignment Order field.,This can be one of the following:,default - Cisco UCS Manager selects a random identity from the pool.,sequential - Cisco UCS Manager selects the lowest available identity from the pool.

Returns:

  • (:default, :sequential, nil)

    The Assignment Order field.,This can be one of the following:,default - Cisco UCS Manager selects a random identity from the pool.,sequential - Cisco UCS Manager selects the lowest available identity from the pool.



24
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_mac_pool.rb', line 24

attribute :order

#org_dnString?

Returns The distinguished name (dn) of the organization where the resource is assigned.

Returns:

  • (String, nil)

    The distinguished name (dn) of the organization where the resource is assigned.



36
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_mac_pool.rb', line 36

attribute :org_dn

#state:present, ...

Returns If C(present), will verify MAC pool is present and will create if needed.,If C(absent), will verify MAC pool is absent and will delete if needed.

Returns:

  • (:present, :absent, nil)

    If C(present), will verify MAC pool is present and will create if needed.,If C(absent), will verify MAC pool is absent and will delete if needed.



13
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_mac_pool.rb', line 13

attribute :state