Class: Ansible::Ruby::Modules::Cnos_vlan
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cnos_vlan
- 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
-
#vlanArg1 ⇒ :"access-map", ...
This is an overloaded vlan first argument.
-
#vlanArg2 ⇒ :"VLAN Access Map name", ...
This is an overloaded vlan second argument.
-
#vlanArg3 ⇒ :action, ...
This is an overloaded vlan third argument.
-
#vlanArg4 ⇒ :"drop or forward or redirect", ...
This is an overloaded vlan fourth argument.
-
#vlanArg5 ⇒ :"access-list name", ...
This is an overloaded vlan fifth argument.
Methods inherited from Base
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.
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.
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.
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.
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.
28 |
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_vlan.rb', line 28 attribute :vlanArg5 |