| Field | Type | Description | Value(s) |
|---|---|---|---|
name | string | Name of the bond link (interface) to be created. | |
hardwareAddr | HardwareAddr | Override the hardware (MAC) address of the link. | |
links | []string | Names of the links (interfaces) on which the bond will be created. Link aliases can be used here as well. | |
bondMode | BondMode | Bond mode. | balance-rractive-backupbalance-xorbroadcast802.3adbalance-tlbbalance-alb |
miimon | uint32 | Link monitoring frequency in milliseconds. | |
updelay | uint32 | The time, in milliseconds, to wait before enabling a slave after a link recovery has been detected. | |
downdelay | uint32 | The time, in milliseconds, to wait before disabling a slave after a link failure has been detected. | |
useCarrier | bool | Specifies whether or not miimon should use MII or ETHTOOL. | |
xmitHashPolicy | BondXmitHashPolicy | Selects the transmit hash policy to use for slave selection. | layer2layer3+4layer2+3encap2+3encap3+4 |
arpInterval | uint32 | ARP link monitoring frequency in milliseconds. | |
arpIpTargets | []Addr | The list of IPv4 addresses to use for ARP link monitoring when arpInterval is set. Maximum of 16 targets are supported. | |
nsIp6Targets | []Addr | The list of IPv6 addresses to use for NS link monitoring when arpInterval is set. Maximum of 16 targets are supported. | |
arpValidate | ARPValidate | Specifies whether or not ARP probes and replies should be validated. | noneactivebackupallfilterfilter-activefilter-backup |
arpAllTargets | ARPAllTargets | Specifies whether ARP probes should be sent to any or all targets. | anyall |
lacpRate | LACPRate | LACPDU frames periodic transmission rate. | slowfast |
failOverMac | FailOverMAC | Specifies whether active-backup mode should set all slaves to the same MAC address at enslavement, when enabled, or perform special handling. | noneactivefollow |
adSelect | ADSelect | Aggregate selection policy for 802.3ad. | stablebandwidthcount |
adActorSysPrio | uint16 | Actor system priority for 802.3ad. | |
adUserPortKey | uint16 | User port key (upper 10 bits) for 802.3ad. | |
adLACPActive | ADLACPActive | Whether to send LACPDU frames periodically. | onoff |
primaryReselect | PrimaryReselect | Policy under which the primary slave should be reselected. | alwaysbetterfailure |
resendIGMP | uint32 | The number of times IGMP packets should be resent. | |
minLinks | uint32 | The minimum number of active links required for the bond to be considered active. | |
lpInterval | uint32 | The number of seconds between instances where the bonding driver sends learning packets to each slave’s peer switch. | |
packetsPerSlave | uint32 | The number of packets to transmit through a slave before moving to the next one. | |
numPeerNotif | uint8 | The number of peer notifications (gratuitous ARPs and unsolicited IPv6 Neighbor Advertisements) to be issued after a failover event. | |
tlbLogicalLb | uint8 | Whether dynamic shuffling of flows is enabled in tlb or alb mode. | |
allSlavesActive | uint8 | Whether duplicate frames (received on inactive ports) should be dropped (0) or delivered (1). | |
peerNotifDelay | uint32 | The delay, in milliseconds, between each peer notification. | |
missedMax | uint8 | The number of arpInterval monitor checks that must fail in order for an interface to be marked down by the ARP monitor. | |
up | bool | Bring the link up or down. If not specified, the link will be brought up. | |
mtu | uint32 | Configure LinkMTU (Maximum Transmission Unit) for the link. If not specified, the system default LinkMTU will be used (usually 1500). | |
addresses | AddressConfig | Configure addresses to be statically assigned to the link. | |
routes | RouteConfig | Configure routes to be statically created via the link. | |
multicast | bool | Set the multicast capability of the link. |
addresses[]
AddressConfig represents a network address configuration.| Field | Type | Description | Value(s) |
|---|---|---|---|
address | Prefix | IP address to be assigned to the link. This field must include the network prefix length (e.g. /24 for IPv4, /64 for IPv6). | |
routePriority | uint32 | Configure the route priority (metric) for routes created for this address. If not specified, the system default route priority will be used. |
routes[]
RouteConfig represents a network route configuration.| Field | Type | Description | Value(s) |
|---|---|---|---|
destination | Prefix | The route’s destination as an address prefix. If not specified, a default route will be created for the address family of the gateway. | |
gateway | Addr | The route’s gateway (if empty, creates link scope route). | |
source | Addr | The route’s source address (optional). | |
metric | uint32 | The optional metric for the route. | |
mtu | uint32 | The optional MTU for the route. | |
table | RoutingTable | The routing table to use for the route. If not specified, the main routing table will be used. |