.. _cisco.iosxr.iosxr_lag_interfaces_module:
********************************
cisco.iosxr.iosxr_lag_interfaces
********************************
**Resource module to configure LAG interfaces.**
Version added: 1.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module manages the attributes of LAG/Ether-Bundle interfaces on IOS-XR devices.
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
config
list
/ elements=dictionary
|
|
A provided Link Aggregation Group (LAG) configuration.
|
|
links
dictionary
|
|
This dict contains configurable options related to LAG/Ether-Bundle links.
|
|
|
max_active
integer
|
|
Specifies the limit on the number of links that can be active in the LAG/Ether-Bundle.
Refer to vendor documentation for valid values.
|
|
|
min_active
integer
|
|
Specifies the minimum number of active links needed to bring up the LAG/Ether-Bundle.
Refer to vendor documentation for valid values.
|
|
load_balancing_hash
string
|
|
Specifies the hash function used for traffic forwarded over the LAG/Ether-Bundle.
Option 'dst-ip' uses the destination IP as the hash function.
Option 'src-ip' uses the source IP as the hash function.
|
|
members
list
/ elements=dictionary
|
|
List of member interfaces for the LAG/Ether-Bundle.
|
|
|
member
string
|
|
Name of the member interface.
|
|
|
mode
string
|
Choices:
- on
- active
- passive
- inherit
|
Specifies the mode of the operation for the member interface.
Mode 'active' runs LACP in active mode.
Mode 'on' does not run LACP over the port.
Mode 'passive' runs LACP in passive mode over the port.
Mode 'inherit' runs LACP as configured in the bundle.
|
|
mode
string
|
Choices:
- on
- active
- passive
|
LAG mode.
Mode 'active' runs LACP in active mode over the port.
Mode 'on' does not run LACP over the port.
Mode 'passive' runs LACP in passive mode over the port.
|
|
name
string
/ required
|
|
Name/Identifier of the LAG/Ether-Bundle to configure.
|
|
running_config
string
|
|
This option is used only with state parsed.
The value of this option should be the output received from the IOS-XR device by executing the command show running-config int.
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
- rendered
- gathered
|
The state of the configuration after module completion.
|