Class: Ansible::Ruby::Modules::Cl_ports

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/network/cumulus/cl_ports.rb

Overview

Set the initial port attribute defined in the Cumulus Linux ports.conf, file. This module does not do any error checking at the moment. Be careful to not include ports that do not exist on the switch. Carefully read the original ports.conf file for any exceptions or limitations. For more details go the Configure Switch Port Attribute Documentation at docs.cumulusnetworks.com

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#speed_10gObject?

Returns list of ports to run initial run at 10G.

Returns:

  • (Object, nil)

    list of ports to run initial run at 10G



11
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_ports.rb', line 11

attribute :speed_10g

#speed_40gObject?

Returns list of ports to run initial run at 40G.

Returns:

  • (Object, nil)

    list of ports to run initial run at 40G



14
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_ports.rb', line 14

attribute :speed_40g

#speed_40g_div_4Object?

Returns list of 10G ports that will be ganged to form a 40G port.

Returns:

  • (Object, nil)

    list of 10G ports that will be ganged to form a 40G port



20
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_ports.rb', line 20

attribute :speed_40g_div_4

#speed_4_by_10gObject?

Returns list of 40G ports that will be unganged to run as 4 10G ports.

Returns:

  • (Object, nil)

    list of 40G ports that will be unganged to run as 4 10G ports.



17
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_ports.rb', line 17

attribute :speed_4_by_10g