Class: Ansible::Ruby::Modules::Open_iscsi

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/system/open_iscsi.rb

Overview

Discover targets on given portal, (dis)connect targets, mark targets to manually or auto start, return device nodes of connected targets.

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

#auto_node_startupSymbol?

Returns whether the target node should be automatically connected at startup.

Returns:

  • (Symbol, nil)

    whether the target node should be automatically connected at startup



38
# File 'lib/ansible/ruby/modules/generated/system/open_iscsi.rb', line 38

attribute :auto_node_startup

#discoverSymbol?

Returns whether the list of target nodes on the portal should be (re)discovered and added to the persistent iscsi database. Keep in mind that iscsiadm discovery resets configurtion, like node.startup to manual, hence combined with auto_node_startup=yes will always return a changed state.

Returns:

  • (Symbol, nil)

    whether the list of target nodes on the portal should be (re)discovered and added to the persistent iscsi database. Keep in mind that iscsiadm discovery resets configurtion, like node.startup to manual, hence combined with auto_node_startup=yes will always return a changed state.



42
# File 'lib/ansible/ruby/modules/generated/system/open_iscsi.rb', line 42

attribute :discover

#loginSymbol?

Returns whether the target node should be connected.

Returns:

  • (Symbol, nil)

    whether the target node should be connected



24
# File 'lib/ansible/ruby/modules/generated/system/open_iscsi.rb', line 24

attribute :login

#node_authString?

Returns discovery.sendtargets.auth.authmethod.

Returns:

  • (String, nil)

    discovery.sendtargets.auth.authmethod



28
# File 'lib/ansible/ruby/modules/generated/system/open_iscsi.rb', line 28

attribute :node_auth

#node_passObject?

Returns discovery.sendtargets.auth.password.

Returns:

  • (Object, nil)

    discovery.sendtargets.auth.password



35
# File 'lib/ansible/ruby/modules/generated/system/open_iscsi.rb', line 35

attribute :node_pass

#node_userObject?

Returns discovery.sendtargets.auth.username.

Returns:

  • (Object, nil)

    discovery.sendtargets.auth.username



32
# File 'lib/ansible/ruby/modules/generated/system/open_iscsi.rb', line 32

attribute :node_user

#portInteger?

Returns the port on which the iscsi target process listens.

Returns:

  • (Integer, nil)

    the port on which the iscsi target process listens



16
# File 'lib/ansible/ruby/modules/generated/system/open_iscsi.rb', line 16

attribute :port

#portalString?

Returns the ip address of the iscsi target.

Returns:

  • (String, nil)

    the ip address of the iscsi target



12
# File 'lib/ansible/ruby/modules/generated/system/open_iscsi.rb', line 12

attribute :portal

#show_nodesSymbol?

Returns whether the list of nodes in the persistent iscsi database should be returned by the module.

Returns:

  • (Symbol, nil)

    whether the list of nodes in the persistent iscsi database should be returned by the module



46
# File 'lib/ansible/ruby/modules/generated/system/open_iscsi.rb', line 46

attribute :show_nodes

#targetString?

Returns the iscsi target name.

Returns:

  • (String, nil)

    the iscsi target name



20
# File 'lib/ansible/ruby/modules/generated/system/open_iscsi.rb', line 20

attribute :target