.. _cisco.nxos.nxos_lag_interfaces_module:
******************************
cisco.nxos.nxos_lag_interfaces
******************************
**LAG interfaces resource module**
Version added: 1.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module manages attributes of link aggregation groups of NX-OS Interfaces.
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
config
list
/ elements=dictionary
|
|
A list of link aggregation group configurations.
|
|
members
list
/ elements=dictionary
|
|
The list of interfaces that are part of the group.
|
|
|
force
boolean
|
|
When true it forces link aggregation group members to match what is declared in the members param. This can be used to remove members.
|
|
|
member
string
|
|
The interface name.
|
|
|
mode
string
|
Choices:
- active
- on
- passive
|
Link aggregation group (LAG).
|
|
name
string
/ required
|
|
Name of the link aggregation group (LAG).
|
|
running_config
string
|
|
This option is used only with state parsed.
The value of this option should be the output received from the NX-OS device by executing the command show running-config | section ^interface.
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
- gathered
- rendered
- parsed
|
The state of the configuration after module completion.
|