Class: Ansible::Ruby::Modules::Pn_cluster
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Pn_cluster
- 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
-
#pn_clipassword ⇒ Object?
Provide login password if user is not root.
-
#pn_cliswitch ⇒ Object?
Target switch to run the cli on.
-
#pn_cliusername ⇒ Object?
Provide login username if user is not root.
-
#pn_cluster_node1 ⇒ String?
Specify the name of the first switch in the cluster.,Required for ‘cluster-create’.
-
#pn_cluster_node2 ⇒ String?
Specify the name of the second switch in the cluster.,Required for ‘cluster-create’.
-
#pn_name ⇒ String
Specify the name of the cluster.
-
#pn_validate ⇒ :validate, ...
Validate the inter-switch links and state of switches in the cluster.
-
#state ⇒ :present, :absent
Specify action to perform.
Methods inherited from Base
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_clipassword ⇒ Object?
Returns 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_cliswitch ⇒ Object?
Returns 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_cliusername ⇒ Object?
Returns 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_node1 ⇒ String?
Returns 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_node2 ⇒ String?
Returns 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_name ⇒ String
Returns 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.
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.
22 |
# File 'lib/ansible/ruby/modules/generated/network/netvisor/pn_cluster.rb', line 22 attribute :state |