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, fix_inclusion, #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", ...



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

attribute :vlanArg1

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



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

attribute :vlanArg2

#vlanArg3:action, ...



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

attribute :vlanArg3

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



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

attribute :vlanArg4

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



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

attribute :vlanArg5