Class: Ansible::Ruby::Modules::Purefa_host

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

Overview

Create, delete or modify hosts on Pure Storage FlashArrays.

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

#hostString

Returns The name of the host.

Returns:

  • (String)

    The name of the host.



12
# File 'lib/ansible/ruby/modules/generated/storage/purestorage/purefa_host.rb', line 12

attribute :host

#iqnArray<String>, ...

Returns List of IQNs of the host if protocol is iscsi or mixed.

Returns:

  • (Array<String>, String, nil)

    List of IQNs of the host if protocol is iscsi or mixed.



28
# File 'lib/ansible/ruby/modules/generated/storage/purestorage/purefa_host.rb', line 28

attribute :iqn

#personality:hpux, ...

Returns Define which operating systen the host is. Recommend for ActiveCluster integration.

Returns:

  • (:hpux, :vms, :aix, :esxi, :solaris, :"hitachi-vsp", :"oracle-vm-server", :"", nil)

    Define which operating systen the host is. Recommend for ActiveCluster integration



36
# File 'lib/ansible/ruby/modules/generated/storage/purestorage/purefa_host.rb', line 36

attribute :personality

#protocol:fc, ...

Returns Defines the host connection protocol for volumes.

Returns:

  • (:fc, :iscsi, :mixed, nil)

    Defines the host connection protocol for volumes.



20
# File 'lib/ansible/ruby/modules/generated/storage/purestorage/purefa_host.rb', line 20

attribute :protocol

#state:absent, ...

Returns Define whether the host should exist or not.,When removing host all connected volumes will be disconnected.

Returns:

  • (:absent, :present, nil)

    Define whether the host should exist or not.,When removing host all connected volumes will be disconnected.



16
# File 'lib/ansible/ruby/modules/generated/storage/purestorage/purefa_host.rb', line 16

attribute :state

#volumeString?

Returns Volume name to map to the host.

Returns:

  • (String, nil)

    Volume name to map to the host.



32
# File 'lib/ansible/ruby/modules/generated/storage/purestorage/purefa_host.rb', line 32

attribute :volume

#wwnsArray<String>, ...

Returns List of wwns of the host if protocol is fc or mixed.

Returns:

  • (Array<String>, String, nil)

    List of wwns of the host if protocol is fc or mixed.



24
# File 'lib/ansible/ruby/modules/generated/storage/purestorage/purefa_host.rb', line 24

attribute :wwns