Class: Ansible::Ruby::Modules::Cnos_interface

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

Overview

This module allows you to work with interface related configurations. The operators used are overloaded to ensure control over switch interface configurations. Apart from the regular device connection related attributes, there are seven interface arguments that will perform further configurations. They are interfaceArg1, interfaceArg2, interfaceArg3, interfaceArg4, interfaceArg5, interfaceArg6, and interfaceArg7. For more details on how to use these arguments, see [Overloaded Variables]. Interface configurations are taken care at six contexts in a regular CLI. They are 1. Interface Name - Configurations 2. Ethernet Interface - Configurations 3. Loopback Interface Configurations 4. Management Interface Configurations 5. Port Aggregation - Configurations 6. VLAN Configurations 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_interface.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

#interfaceArg1:"channel-group", ...



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

attribute :interfaceArg1

#interfaceArg2:"channel-group number", ...



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

attribute :interfaceArg2

#interfaceArg3:"active or on or passive", ...



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

attribute :interfaceArg3

#interfaceArg4:"key-chain", ...



32
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_interface.rb', line 32

attribute :interfaceArg4

#interfaceArg5:"name of key-chain", ...



36
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_interface.rb', line 36

attribute :interfaceArg5

#interfaceArg6:"Authentication key string", ...



40
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_interface.rb', line 40

attribute :interfaceArg6

#interfaceArg7:"Authentication key string", ...



44
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_interface.rb', line 44

attribute :interfaceArg7

#interfaceOption:None, ...



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

attribute :interfaceOption

#interfaceRangeObject



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

attribute :interfaceRange