Class: Ansible::Ruby::Modules::Ucs_wwn_pool

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

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

#descriptionObject?

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

Returns:

  • (Object, nil)

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

Returns The first initiator in the World Wide Name (WWN) block.,This is the From field in the UCS Manager Add WWN Blocks menu.

Returns:

  • (String, nil)

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

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.

Returns:

  • (String, nil)

    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

#nameString

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.

Returns:

  • (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 . (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.

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.



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

attribute :order

#org_dnString?

Returns Org dn (distinguished name).

Returns:

  • (String, nil)

    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.

Returns:

  • (:node, :port)

    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.

Returns:

  • (:present, :absent, nil)

    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