Class: Ansible::Ruby::Modules::Cl_interface

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

Overview

Configures a front panel, sub-interface, SVI, management or loopback port on a Cumulus Linux switch. For bridge ports use the cl_bridge module. For bond ports use the cl_bond module. When configuring bridge related features like the “vid” option, please follow the guidelines for configuring “vlan aware” bridging. For more details review the Layer2 Interface Guide 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

#addr_methodObject?

Returns can be loopback for loopback interfaces or dhcp for dhcp interfaces.

Returns:

  • (Object, nil)

    can be loopback for loopback interfaces or dhcp for dhcp interfaces.



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

attribute :addr_method

#alias_nameObject?

Returns add a port description.

Returns:

  • (Object, nil)

    add a port description



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

attribute :alias_name

#clagd_enableObject?

Returns Enables the clagd daemon. This command should only be applied to the clag peerlink interface.

Returns:

  • (Object, nil)

    Enables the clagd daemon. This command should only be applied to the clag peerlink interface



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

attribute :clagd_enable

#clagd_peer_ipObject?

Returns IP address of the directly connected peer switch interface.

Returns:

  • (Object, nil)

    IP address of the directly connected peer switch interface



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

attribute :clagd_peer_ip

#clagd_priorityObject?

Returns Integer that changes the role the switch has in the clag domain. The lower priority switch will assume the primary role. The number can be between 0 and 65535.

Returns:

  • (Object, nil)

    Integer that changes the role the switch has in the clag domain. The lower priority switch will assume the primary role. The number can be between 0 and 65535



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

attribute :clagd_priority

#clagd_sys_macObject?

Returns Clagd system mac address. Recommended to use the range starting with 44:38:39:ff. Needs to be the same between 2 Clag switches.

Returns:

  • (Object, nil)

    Clagd system mac address. Recommended to use the range starting with 44:38:39:ff. Needs to be the same between 2 Clag switches



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

attribute :clagd_sys_mac

#ipv4Object?

Returns list of IPv4 addresses to configure on the interface. use X.X.X.X/YY syntax.

Returns:

  • (Object, nil)

    list of IPv4 addresses to configure on the interface. use X.X.X.X/YY syntax.



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

attribute :ipv4

#ipv6Object?

Returns list of IPv6 addresses to configure on the interface. use X:X:X::X/YYY syntax.

Returns:

  • (Object, nil)

    list of IPv6 addresses to configure on the interface. use X:X:X::X/YYY syntax



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

attribute :ipv6

#locationString?

Returns interface directory location.

Returns:

  • (String, nil)

    interface directory location



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

attribute :location

#mstpctl_bpduguardObject?

Returns Enables BPDU Guard on a port in vlan-aware mode.

Returns:

  • (Object, nil)

    Enables BPDU Guard on a port in vlan-aware mode



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

attribute :mstpctl_bpduguard

#mstpctl_portadminedgeObject?

Returns Enables admin edge port.

Returns:

  • (Object, nil)

    Enables admin edge port



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

attribute :mstpctl_portadminedge

#mstpctl_portnetworkObject?

Returns Enables bridge assurance in vlan-aware mode.

Returns:

  • (Object, nil)

    Enables bridge assurance in vlan-aware mode



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

attribute :mstpctl_portnetwork

#mtuObject?

Returns set MTU. Configure Jumbo Frame by setting MTU to 9000.

Returns:

  • (Object, nil)

    set MTU. Configure Jumbo Frame by setting MTU to 9000.



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

attribute :mtu

#nameObject

Returns name of the interface.

Returns:

  • (Object)

    name of the interface



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

attribute :name

#pvidObject?

Returns in vlan aware mode, defines vlan that is the untagged vlan.

Returns:

  • (Object, nil)

    in vlan aware mode, defines vlan that is the untagged vlan



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

attribute :pvid

#speedObject?

Returns set speed of the swp(front panel) or management(eth0) interface. speed is in MB.

Returns:

  • (Object, nil)

    set speed of the swp(front panel) or management(eth0) interface. speed is in MB



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

attribute :speed

#vidsObject?

Returns in vlan aware mode, lists vlans defined under the interface.

Returns:

  • (Object, nil)

    in vlan aware mode, lists vlans defined under the interface



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

attribute :vids

#virtual_ipObject?

Returns define IPv4 virtual IP used by the Cumulus VRR feature.

Returns:

  • (Object, nil)

    define IPv4 virtual IP used by the Cumulus VRR feature



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

attribute :virtual_ip

#virtual_macObject?

Returns define Ethernet mac associated with Cumulus VRR feature.

Returns:

  • (Object, nil)

    define Ethernet mac associated with Cumulus VRR feature



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

attribute :virtual_mac