Class: Ansible::Ruby::Modules::Pn_cluster

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/netvisor/pn_cluster.rb

Overview

Execute cluster-create or cluster-delete command. A cluster allows two switches to cooperate in high-availability (HA) deployments. The nodes that form the cluster must be members of the same fabric. Clusters are typically used in conjunction with a virtual link aggregation group (VLAG) that allows links physically connected to two separate switches appear as a single trunk to a third device. The third device can be a switch,server, or any Ethernet device.

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

#pn_clipasswordObject?

Returns Provide login password if user is not root.

Returns:

  • (Object, nil)

    Provide login password if user is not root.



16
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_cluster.rb', line 16

attribute :pn_clipassword

#pn_cliswitchObject?

Returns Target switch to run the cli on.

Returns:

  • (Object, nil)

    Target switch to run the cli on.



19
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_cluster.rb', line 19

attribute :pn_cliswitch

#pn_cliusernameObject?

Returns Provide login username if user is not root.

Returns:

  • (Object, nil)

    Provide login username if user is not root.



13
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_cluster.rb', line 13

attribute :pn_cliusername

#pn_cluster_node1String?

Returns Specify the name of the first switch in the cluster.,Required for ‘cluster-create’.

Returns:

  • (String, nil)

    Specify the name of the first switch in the cluster.,Required for ‘cluster-create’.



30
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_cluster.rb', line 30

attribute :pn_cluster_node1

#pn_cluster_node2String?

Returns Specify the name of the second switch in the cluster.,Required for ‘cluster-create’.

Returns:

  • (String, nil)

    Specify the name of the second switch in the cluster.,Required for ‘cluster-create’.



34
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_cluster.rb', line 34

attribute :pn_cluster_node2

#pn_nameString

Returns Specify the name of the cluster.

Returns:

  • (String)

    Specify the name of the cluster.



26
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_cluster.rb', line 26

attribute :pn_name

#pn_validate:validate, ...

Returns Validate the inter-switch links and state of switches in the cluster.

Returns:

  • (:validate, :"no-validate", nil)

    Validate the inter-switch links and state of switches in the cluster.



38
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_cluster.rb', line 38

attribute :pn_validate

#state:present, :absent

Returns Specify action to perform. Use ‘present’ to create cluster and ‘absent’ to delete cluster.

Returns:

  • (:present, :absent)

    Specify action to perform. Use ‘present’ to create cluster and ‘absent’ to delete cluster.



22
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_cluster.rb', line 22

attribute :state