Class: Ansible::Ruby::Modules::Cnos_vlan

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

Overview

This module allows you to work with VLAN related configurations. The operators used are overloaded to ensure control over switch VLAN configurations. The first level of VLAN configuration allows to set up the VLAN range, the VLAN tag persistence, a VLAN access map and access map filter. After passing this level, there are five VLAN arguments that will perform further configurations. They are vlanArg1, vlanArg2, vlanArg3, vlanArg4, and vlanArg5. The value of vlanArg1 will determine the way following arguments will be evaluated. 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_vlan.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, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#vlanArg1:"access-map", ...

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

Returns:

  • (:"access-map", :dot1q, :filter, :"<1-3999> VLAN ID 1-3999 or range")

    This is an overloaded vlan 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_vlan.rb', line 12

attribute :vlanArg1

#vlanArg2:"VLAN Access Map name", ...

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

Returns:

  • (:"VLAN Access Map name", :"egress-only", :name, :flood, :state, :ip, nil)

    This is an overloaded vlan 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_vlan.rb', line 16

attribute :vlanArg2

#vlanArg3:action, ...

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

Returns:

  • (:action, :match, :statistics, :"enter VLAN id or range of vlan", :"ascii name for the VLAN", :"ipv4 or ipv6", :"active or suspend", :"fast-leave", :"last-member-query-interval", :mrouter, :querier, :"querier-timeout", :"query-interval", :"query-max-response-time", :"report-suppression", :"robustness-variable", :"startup-query-count", :"startup-query-interval", :"static-group", nil)

    This is an overloaded vlan 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_vlan.rb', line 20

attribute :vlanArg3

#vlanArg4:"drop or forward or redirect", ...

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

Returns:

  • (:"drop or forward or redirect", :"ip or mac", :"Interval in seconds", :ethernet, :"port-aggregation", :"Querier IP address", :"Querier Timeout in seconds", :"Query Interval in seconds", :"Query Max Response Time in seconds", :"Robustness Variable value", :"Number of queries sent at startup", :"Query Interval at startup", nil)

    This is an overloaded vlan 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_vlan.rb', line 24

attribute :vlanArg4

#vlanArg5:"access-list name", ...

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

Returns:

  • (:"access-list name", :"Slot/chassis number", :"Port Aggregation Number", nil)

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



28
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_vlan.rb', line 28

attribute :vlanArg5