Class: Ansible::Ruby::Modules::Ucs_mac_pool
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ucs_mac_pool
- 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
-
#descrption ⇒ Object?
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).
-
#first_addr ⇒ String?
The first MAC address in the block of addresses.,This is the From field in the UCS Manager MAC Blocks menu.
-
#last_addr ⇒ String?
The last MAC address in the block of addresses.,This is the To field in the UCS Manager Add MAC Blocks menu.
-
#name ⇒ 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 .
-
#order ⇒ :default, ...
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.
-
#org_dn ⇒ String?
The distinguished name (dn) of the organization where the resource is assigned.
-
#state ⇒ :present, ...
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.
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
#descrption ⇒ Object?
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).
21 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_mac_pool.rb', line 21 attribute :descrption |
#first_addr ⇒ String?
Returns 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_addr ⇒ String?
Returns 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 |
#name ⇒ String
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.
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.
24 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_mac_pool.rb', line 24 attribute :order |
#org_dn ⇒ String?
Returns 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.
13 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_mac_pool.rb', line 13 attribute :state |