Class: Ansible::Ruby::Modules::Cnos_interface
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cnos_interface
- 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
-
#interfaceArg1 ⇒ :"channel-group", ...
This is an overloaded interface first argument.
-
#interfaceArg2 ⇒ :"channel-group number", ...
This is an overloaded interface second argument.
-
#interfaceArg3 ⇒ :"active or on or passive", ...
This is an overloaded interface third argument.
-
#interfaceArg4 ⇒ :"key-chain", ...
This is an overloaded interface fourth argument.
-
#interfaceArg5 ⇒ :"name of key-chain", ...
This is an overloaded interface fifth argument.
-
#interfaceArg6 ⇒ :"Authentication key string", ...
This is an overloaded interface sixth argument.
-
#interfaceArg7 ⇒ :"Authentication key string", ...
This is an overloaded interface seventh argument.
-
#interfaceOption ⇒ :None, ...
This specifies the attribute you specify subsequent to interface command.
-
#interfaceRange ⇒ Object
This specifies the interface range in which the port channel is envisaged.
Methods inherited from Base
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.
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.
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.
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.
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.
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.
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.
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.
16 |
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_interface.rb', line 16 attribute :interfaceOption |
#interfaceRange ⇒ Object
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 |