.. _vyos.vyos.vyos_lag_interfaces_module:
*****************************
vyos.vyos.vyos_lag_interfaces
*****************************
**LAG interfaces resource module**
Version added: 1.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module manages attributes of link aggregation groups on VyOS network devices.
Parameters
----------
.. raw:: html
Parameter |
Choices/Defaults |
Comments |
config
list
/ elements=dictionary
|
|
A list of link aggregation group configurations.
|
|
arp_monitor
dictionary
|
|
ARP Link monitoring parameters.
|
|
|
interval
integer
|
|
ARP link monitoring frequency in milliseconds.
|
|
|
target
list
/ elements=string
|
|
IP address to use for ARP monitoring.
|
|
hash_policy
string
|
Choices:
- layer2
- layer2+3
- layer3+4
|
LAG or bonding transmit hash policy.
|
|
members
list
/ elements=dictionary
|
|
List of member interfaces for the LAG (bond).
|
|
|
member
string
|
|
Name of the member interface.
|
|
mode
string
|
Choices:
- 802.3ad
- active-backup
- broadcast
- round-robin
- transmit-load-balance
- adaptive-load-balance
- xor-hash
|
LAG or bond mode.
|
|
name
string
/ required
|
|
Name of the link aggregation group (LAG) or bond.
|
|
primary
string
|
|
Primary device interfaces for the LAG (bond).
|
running_config
string
|
|
This option is used only with state parsed.
The value of this option should be the output received from the VyOS device by executing the command show configuration commands | grep bond.
The state parsed reads the configuration from running_config option and transforms it into Ansible structured data as per the resource module's argspec and the value is then returned in the parsed key within the result.
|
state
string
|
Choices:
merged ←
- replaced
- overridden
- deleted
- parsed
- gathered
- rendered
|
The state of the configuration after module completion.
|