Resource Type: cumulus_bond

Defined in:
lib/puppet/type/cumulus_bond.rb
Providers:
cumulus

Overview

Configure bond interfaces on Cumulus Linux

Properties

  • ensure

    The basic property that the resource should be in.

    Supported values:
    • outofsync
    • insync

Parameters

  • access

    For bridging, a type of port that is non-trunking. For dot1x, an IP source address or network that will be serviced. (An integer from 1 to 4094)

  • addr_method

    address assignment method

    Supported values:
    • dhcp
  • alias_name

    interface description

  • allow_untagged

    A bridge port interface may allow untagged packets

  • clag_id

    Define which bond is in clag. the ID must the same for the corresponding bond on the adjacent switch

  • gateway

    default gateway

  • ipv4

    list of ipv4 addresses ip address must be in CIDR format and subnet mask included Example: [“10.1.1.1/30”]

  • ipv6

    list of ipv6 addresses ip address must be in CIDR format and subnet mask included Example: [“10:1:1::1/127”]

  • lacp_bypass_all_active

    enable all-active mode for lacp bypass

    Supported values:
    • 0
    • 1
  • lacp_bypass_allow

    allow bypass of lacp (unbond the interface)

    Supported values:
    • 0
    • 1
  • lacp_bypass_period

    period in seconds to allow bypass 0-900

    Supported values:
    • /^([0-8]?[0-9]?[0-9]?|900)$/
  • lacp_bypass_priority

    list of interfaces with their priority

  • lacp_rate (defaults to: 1)

    lacp timeout rate

    Supported values:
    • 0
    • 1
  • location (defaults to: /etc/network/interfaces.d)

    location of interface files

  • miimon (defaults to: 100)

    mii link monitoring interval

  • min_links (defaults to: 1)

    minimum links in the bond

  • mode (defaults to: 802.3ad)

    bond mode

  • mstpctl_bpduguard

    configures bpdu guard. Ensure that the port is in vlan aware mode

    Supported values:
    • true
    • false
    • yes
    • no
  • mstpctl_portadminedge

    configures port adminedge.

    Supported values:
    • true
    • false
    • yes
    • no
  • mstpctl_portnetwork

    configures bridge assurance. Ensure that port is in vlan aware mode

    Supported values:
    • true
    • false
    • yes
    • no
  • mtu

    link mtu. Can be 1500 to 9000 KBs

  • name (namevar)

    interface name

  • provider

    The specific backend to use for this ‘cumulus_bond` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • pvid

    vlan transmitted untagged across the link (native vlan)

  • slaves

    list of bond members

  • use_carrier

    Specifies whether or not miimon should use MII or ETHTOOL ioctls vs. netif_carrier_ok() to determine the link

    status. If not mentioned default is 1
    
    Supported values:
    • 0
    • 1
  • vids

    list of vlans. Only configured on vlan aware ports

  • virtual_ip

    virtual IP component of Cumulus Linux VRR config

  • virtual_mac

    virtual MAC component of Cumulus Linux VRR config

  • vlan_id

    vlan id

  • vlan_raw_device

    vlan raw device

  • xmit_hash_policy (defaults to: layer3+4)

    bond mode