Class: Ansible::Ruby::Modules::Ucs_wwn_pool
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ucs_wwn_pool
- Defined in:
- lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_wwn_pool.rb
Overview
Configures WWNNs or WWPN pools on Cisco UCS Manager. Examples can be used with the UCS Platform Emulator U(communities.cisco.com/ucspe).
Instance Method Summary collapse
-
#description ⇒ Object?
A description of the WWNN or WWPN 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 initiator in the World Wide Name (WWN) block.,This is the From field in the UCS Manager Add WWN Blocks menu.
-
#last_addr ⇒ String?
The last initiator in the Worlde Wide Name (WWN) block.,This is the To field in the UCS Manager Add WWN Blocks menu.,For WWxN pools, the pool size must be a multiple of ports-per-node + 1.,For example, if there are 7 ports per node, the pool size must be a multiple of 8.,If there are 63 ports per node, the pool size must be a multiple of 64.
-
#name ⇒ String
The name of the World Wide Node Name (WWNN) or World Wide Port Name (WWPN) 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?
Org dn (distinguished name).
-
#purpose ⇒ :node, :port
Specify whether this is a node (WWNN) or port (WWPN) pool.,Optional if state is absent.
-
#state ⇒ :present, ...
If C(present), will verify WWNNs/WWPNs are present and will create if needed.,If C(absent), will verify WWNNs/WWPNs are absent and will delete if needed.
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
#description ⇒ Object?
Returns A description of the WWNN or WWPN 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).
25 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_wwn_pool.rb', line 25 attribute :description |
#first_addr ⇒ String?
Returns The first initiator in the World Wide Name (WWN) block.,This is the From field in the UCS Manager Add WWN Blocks menu.
32 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_wwn_pool.rb', line 32 attribute :first_addr |
#last_addr ⇒ String?
Returns The last initiator in the Worlde Wide Name (WWN) block.,This is the To field in the UCS Manager Add WWN Blocks menu.,For WWxN pools, the pool size must be a multiple of ports-per-node + 1.,For example, if there are 7 ports per node, the pool size must be a multiple of 8.,If there are 63 ports per node, the pool size must be a multiple of 64.
36 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_wwn_pool.rb', line 36 attribute :last_addr |
#name ⇒ String
Returns The name of the World Wide Node Name (WWNN) or World Wide Port Name (WWPN) 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 WWNN or WWPN pool is created.
17 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_wwn_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.
28 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_wwn_pool.rb', line 28 attribute :order |
#org_dn ⇒ String?
Returns Org dn (distinguished name).
40 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_wwn_pool.rb', line 40 attribute :org_dn |
#purpose ⇒ :node, :port
Returns Specify whether this is a node (WWNN) or port (WWPN) pool.,Optional if state is absent.
21 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_wwn_pool.rb', line 21 attribute :purpose |
#state ⇒ :present, ...
Returns If C(present), will verify WWNNs/WWPNs are present and will create if needed.,If C(absent), will verify WWNNs/WWPNs are absent and will delete if needed.
13 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_wwn_pool.rb', line 13 attribute :state |