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

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

Instance Method Summary collapse

Methods inherited from Base

#to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, #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.



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

attribute :addr_method

#alias_nameObject?

Returns add a port description.

Returns:

  • (Object, nil)

    add a port description



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

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



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

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



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

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



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

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



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

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.



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

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



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

attribute :ipv6

#locationString?

Returns interface directory location.

Returns:

  • (String, nil)

    interface directory location



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

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



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

attribute :mstpctl_bpduguard

#mstpctl_portadminedgeObject?

Returns Enables admin edge port.

Returns:

  • (Object, nil)

    Enables admin edge port



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

attribute :mstpctl_portadminedge

#mstpctl_portnetworkObject?

Returns Enables bridge assurance in vlan-aware mode.

Returns:

  • (Object, nil)

    Enables bridge assurance in vlan-aware mode



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

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.



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

attribute :mtu

#nameObject

Returns name of the interface.

Returns:

  • (Object)

    name of the interface



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

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



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

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



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

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



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

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



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

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



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

attribute :virtual_mac