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

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

Returns:

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



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

attribute :interfaceArg1

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

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

Returns:

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



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

attribute :interfaceArg2

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

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

Returns:

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



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

attribute :interfaceArg3

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

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

Returns:

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



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

attribute :interfaceArg4

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

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

Returns:

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



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

attribute :interfaceArg5

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

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

Returns:

  • This is an overloaded interface sixth argument. Usage of this argument can be found is the User Guide referenced above.



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

attribute :interfaceArg6

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

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

Returns:

  • This is an overloaded interface seventh argument. Usage of this argument can be found is the User Guide referenced above.



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

attribute :interfaceArg7

#interfaceOption:None, ...

Returns This specifies the attribute you specify subsequent to interface command.

Returns:

  • This specifies the attribute you specify subsequent to interface command



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

attribute :interfaceOption

#interfaceRangeObject

Returns This specifies the interface range in which the port channel is envisaged.

Returns:

  • This specifies the interface range in which the port channel is envisaged



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

attribute :interfaceRange