.. _arista.eos.eos_interfaces_module:
*************************
arista.eos.eos_interfaces
*************************
**Interfaces resource module**
Version added: 1.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module manages the interface attributes of Arista EOS interfaces.
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
config
list
/ elements=dictionary
|
|
The provided configuration
|
|
description
string
|
|
Interface description
|
|
duplex
string
|
|
Interface link status. Applicable for Ethernet interfaces only.
Values other than auto must also set speed.
Ignored when speed is set above 1000.
|
|
enabled
boolean
|
|
Administrative state of the interface.
Set the value to true to administratively enable the interface or false to disable it.
|
|
mode
string
|
|
Manage Layer2 or Layer3 state of the interface. Applicable for Ethernet and port channel interfaces only.
|
|
mtu
integer
|
|
MTU for a specific interface. Must be an even number between 576 and 9216. Applicable for Ethernet interfaces only.
|
|
name
string
/ required
|
|
Full name of the interface, e.g. GigabitEthernet1.
|
|
speed
string
|
|
Interface link speed. Applicable for Ethernet interfaces only.
|
|
running_config
string
|
|
This option is used only with state parsed.
The value of this option should be the output received from the EOS 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
- parsed
- rendered
- gathered
|
The state of the configuration after module completion.
|