Class: Ansible::Ruby::Modules::Cnos_vlag

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

Overview

This module allows you to work with virtual Link Aggregation Groups (vLAG) related configurations. The operators used are overloaded to ensure control over switch vLAG configurations. Apart from the regular device connection related attributes, there are four vLAG arguments which are overloaded variables that will perform further configurations. They are vlagArg1, vlagArg2, vlagArg3, and vlagArg4. For more details on how to use these arguments, see [Overloaded Variables]. This module uses SSH to manage network device configuration. The results of the operation will be placed in a directory named ‘results’ that must be created by the user in their local directory to where the playbook is run. For more information about this module from Lenovo and customizing it usage for your use cases, please visit U(systemx.lenovofiles.com/help/index.jsp?topic=%2Fcom.lenovo.switchmgt.ansible.doc%2Fcnos_vlag.html)

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

#vlagArg1:enable, ...

Returns This is an overloaded vlag first argument. Usage of this argument can be found is the User Guide referenced above.

Returns:

  • (:enable, :"auto-recovery", :"config-consistency", :isl, :"mac-address-table", :"peer-gateway", :priority, :"startup-delay", :"tier-id", :vrrp, :instance, :hlthchk)

    This is an overloaded vlag first argument. Usage of this argument can be found is the User Guide referenced above.



12
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_vlag.rb', line 12

attribute :vlagArg1

#vlagArg2:"Interval in seconds", ...

Returns This is an overloaded vlag second argument. Usage of this argument can be found is the User Guide referenced above.

Returns:

  • (:"Interval in seconds", :"disable or strict", :"Port Aggregation Number", :"VLAG priority", :"Delay time in seconds", :"VLAG tier-id value", :"VLAG instance number", :"keepalive-attempts", :"keepalive-interval", :"retry-interval", :"peer-ip", nil)

    This is an overloaded vlag second argument. Usage of this argument can be found is the User Guide referenced above.



16
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_vlag.rb', line 16

attribute :vlagArg2

#vlagArg3:"enable or port-aggregation", ...

Returns This is an overloaded vlag third argument. Usage of this argument can be found is the User Guide referenced above.

Returns:

  • (:"enable or port-aggregation", :"Number of keepalive attempts", :"Interval in seconds", :"Interval in seconds", :"VLAG health check peer IP4 address", nil)

    This is an overloaded vlag third argument. Usage of this argument can be found is the User Guide referenced above.



20
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_vlag.rb', line 20

attribute :vlagArg3

#vlagArg4:"Port Aggregation Number", ...

Returns This is an overloaded vlag fourth argument. Usage of this argument can be found is the User Guide referenced above.

Returns:

  • (:"Port Aggregation Number", :"default or management", nil)

    This is an overloaded vlag fourth argument. Usage of this argument can be found is the User Guide referenced above.



24
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_vlag.rb', line 24

attribute :vlagArg4