Class: Ansible::Ruby::Modules::Cnos_portchannel

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

Overview

This module allows you to work with port channel related configurations. The operators used are overloaded to ensure control over switch port channel configurations. Apart from the regular device connection related attributes, there are five LAG arguments which are overloaded variables that will perform further configurations. They are interfaceArg1, interfaceArg2, interfaceArg3, interfaceArg4, and interfaceArg5. For more details on how to use these arguments, see[Overloaded Variables]. 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 U(systemx.lenovofiles.com/help/index.jsp?topic=%2Fcom.lenovo.switchmgt.ansible.doc%2Fcnos_portchannel.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 Port Channel first argument. Usage of this argument can be found is the User Guide referenced above.

Returns:

  • (:"channel-group", :bfd, :bridgeport, :description, :duplex, :flowcontrol, :ip, :ipv6, :lacp, :lldp, :"load-interval", :mac, :"mac-address", :"mac-learn", :"microburst-detection", :mtu, :service, :"service-policy", :shutdown, :snmp, :"spanning-tree", :speed, :"storm-control", :vlan, :vrrp, :"port-channel")

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



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

attribute :interfaceArg1

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

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

Returns:

  • (:"channel-group number", :"access or mode or trunk", :description, :"auto or full or half", :"receive or send", :"port-priority", :"suspend-individual", :timeout, :"receive or transmit or trap-notification", :"tlv-select", :"Load interval delay in seconds", :counter, :"Name for the MAC Access List", :"mac-address in HHHH.HHHH.HHHH format", :"THRESHOLD Value in unit of buffer cell", :"<64-9216> MTU in bytes-<64-9216> for L2 packet", :"<576-9216> for L3 IPv4 packet", :"<1280-9216> L3 IPv6 packet", :"enter the instance id", :"input or output", :"copp-system-policy", :type, :"1000 or 10000 or 40000 or auto", :"broadcast or multicast or unicast", :"disable or enable or egress-only", :"Virtual router identifier", :"destination-ip or destination-mac or destination-port or source-dest-ip or source-dest-mac or source-dest-port or source-interface or source-ip or source-mac or source-port", nil)

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



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

attribute :interfaceArg2

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

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

Returns:

  • (:"active or on or passive", :"on or off", :"LACP port priority", :"long or short", :"link-aggregation or mac-phy-status or management-address or max-frame-size or port-description or port-protocol-vlan or port-vlan or power-mdi or protocol-identity or system-capabilities or system-description or system-name or vid-management or vlan-name", :"counter for load interval", :"policy input name", :"all or Copp class name to attach", :qos, :queueing, :"Enter the allowed traffic level", :ipv6, nil)

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



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

attribute :interfaceArg3

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

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

Returns:

  • (:"key-chain", :"key-id", :"keyed-md5 or keyed-sha1 or meticulous-keyed-md5 or meticulous-keyed-sha1 or simple", :"Interval value in milliseconds", :"Destination IP (Both IPV4 and IPV6)", :"in or out", :"MAC address", :"Time-out value in seconds", :"class-id", :request, :"Specify the IPv4 address", :"OSPF area ID as a decimal value", :"OSPF area ID in IP address format", :"anycast or secondary", :ethernet, :vlan, :"MAC (hardware) address in HHHH.HHHH.HHHH format", :"Load interval delay in seconds", :"Specify policy input name", :"input or output", :cost, :"port-priority", :"BFD minimum receive interval", :"source-interface", nil)

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



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

attribute :interfaceArg4

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

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

Returns:

  • (:"name of key-chain", :"key-Id Value", :"key-chain", :"key-id", :"BFD minimum receive interval", :"Value of Hello Multiplier", :"admin-down or multihop or non-persistent", :"Vendor class-identifier name", :"bootfile-name or host-name or log-server or ntp-server or tftp-server-name", :"Slot/chassis number", :"Vlan interface", :"Specify policy input name", :"Port path cost or auto", :"Port priority increments of 32", nil)

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



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

attribute :interfaceArg5

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

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

Returns:

  • (:"Authentication key string", :"name of key-chain", :"key-Id Value", :"Value of Hello Multiplier", :"admin-down or non-persistent", nil)

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



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

attribute :interfaceArg6

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

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

Returns:

  • (:"Authentication key string", :"admin-down", nil)

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



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

attribute :interfaceArg7

#interfaceRangeObject

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

Returns:

  • (Object)

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



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

attribute :interfaceRange