Class: Ansible::Ruby::Modules::Netapp_e_host

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_host.rb

Overview

Create, update, remove hosts on NetApp E-series storage arrays

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

#force_portSymbol?

Returns Allow ports that are already assigned to be re-assigned to your current host.

Returns:

  • (Symbol, nil)

    Allow ports that are already assigned to be re-assigned to your current host



28
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_host.rb', line 28

attribute :force_port

#groupObject?

Returns The unique identifier of the host-group you want the host to be a member of; this is used for clustering.

Returns:

  • (Object, nil)

    The unique identifier of the host-group you want the host to be a member of; this is used for clustering.



32
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_host.rb', line 32

attribute :group

#host_type_indexInteger?

Returns The index that maps to host type you wish to create. It is recommended to use the M(netapp_e_facts) module to gather this information. Alternatively you can use the WSP portal to retrieve the information.,Required when C(state=present).

Returns:

  • (Integer, nil)

    The index that maps to host type you wish to create. It is recommended to use the M(netapp_e_facts) module to gather this information. Alternatively you can use the WSP portal to retrieve the information.,Required when C(state=present)



20
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_host.rb', line 20

attribute :host_type_index

#log_pathObject?

Returns A local path to a file to be used for debug logging.

Returns:

  • (Object, nil)

    A local path to a file to be used for debug logging



35
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_host.rb', line 35

attribute :log_path

#nameString

Returns If the host doesn’t yet exist, the label/name to assign at creation time.,If the hosts already exists, this will be used to uniquely identify the host to make any required changes.

Returns:

  • (String)

    If the host doesn’t yet exist, the label/name to assign at creation time.,If the hosts already exists, this will be used to uniquely identify the host to make any required changes



12
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_host.rb', line 12

attribute :name

#portsArray<Hash>, ...

Returns A list of host ports you wish to associate with the host.,Host ports are uniquely identified by their WWN or IQN. Their assignments to a particular host are uniquely identified by a label and these must be unique.

Returns:

  • (Array<Hash>, Hash, nil)

    A list of host ports you wish to associate with the host.,Host ports are uniquely identified by their WWN or IQN. Their assignments to a particular host are uniquely identified by a label and these must be unique.



24
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_host.rb', line 24

attribute :ports

#state:absent, ...

Returns Set to absent to remove an existing host,Set to present to modify or create a new host definition.

Returns:

  • (:absent, :present, nil)

    Set to absent to remove an existing host,Set to present to modify or create a new host definition



16
# File 'lib/ansible/ruby/modules/generated/storage/netapp/netapp_e_host.rb', line 16

attribute :state