.. _arista.eos.eos_l3_interfaces_module:
****************************
arista.eos.eos_l3_interfaces
****************************
**L3 interfaces resource module**
Version added: 1.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module provides declarative management of Layer 3 interfaces on Arista EOS devices.
Parameters
----------
.. raw:: html
Parameter |
Choices/Defaults |
Comments |
config
list
/ elements=dictionary
|
|
A dictionary of Layer 3 interface options
|
|
ipv4
list
/ elements=dictionary
|
|
List of IPv4 addresses to be set for the Layer 3 interface mentioned in name option.
|
|
|
address
string
|
|
IPv4 address to be set in the format <ipv4 address>/<mask> eg. 192.0.2.1/24, or dhcp to query DHCP for an IP address.
|
|
|
secondary
boolean
|
|
Whether or not this address is a secondary address.
|
|
|
virtual
boolean
|
|
Whether or not this address is a virtual address.
|
|
ipv6
list
/ elements=dictionary
|
|
List of IPv6 addresses to be set for the Layer 3 interface mentioned in name option.
|
|
|
address
string
|
|
IPv6 address to be set in the address format is <ipv6 address>/<mask> eg. 2001:db8:2201:1::1/64 or auto-config to use SLAAC to chose an address.
|
|
name
string
/ required
|
|
Full name of the interface, i.e. Ethernet1.
|
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
- gathered
- rendered
|
The state of the configuration after module completion
|