.. _arista.eos.eos_ospf_interfaces_module:
******************************
arista.eos.eos_ospf_interfaces
******************************
**OSPF Interfaces Resource Module.**
Version added: 1.1.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module manages OSPF configuration of interfaces on devices running Arista EOS.
Parameters
----------
.. raw:: html
Parameter |
Choices/Defaults |
Comments |
config
list
/ elements=dictionary
|
|
A list of OSPF configuration for interfaces.
|
|
address_family
list
/ elements=dictionary
|
|
OSPF settings on the interfaces in address-family context.
|
|
|
afi
string
/ required
|
|
Address Family Identifier (AFI) for OSPF settings on the interfaces.
|
|
|
area
dictionary
|
|
Area associated with interface.
Valid only when afi = ipv4.
|
|
|
|
area_id
string
/ required
|
|
Area ID as a decimal or IP address format.
|
|
|
authentication_key
dictionary
|
|
Configure the authentication key for the interface.
Valid only when afi = ipv4.
|
|
|
|
encryption
string
|
|
0 Specifies an UNENCRYPTED authentication key will follow.
7 Specifies a proprietry encryption type.`
|
|
|
|
key
string
|
|
password (up to 8 chars).
|
|
|
authentication_v2
dictionary
|
|
Authentication settings on the interface.
Valid only when afi = ipv4.
|
|
|
|
message_digest
boolean
|
|
Use message-digest authentication.
|
|
|
|
set
boolean
|
|
Enable authentication on the interface.
|
|
|
authentication_v3
dictionary
|
|
Authentication settings on the interface.
Valid only when afi = ipv6.
|
|
|
|
algorithm
string
|
|
Encryption alsgorithm.
|
|
|
|
key
string
|
|
128 bit MD5 key or 140 bit SHA1 key.
|
|
|
|
keytype
string
|
|
Specifies if an unencrypted/hidden follows.
0 denotes unencrypted key.
7 denotes hidden key.
|
|
|
|
passphrase
string
|
|
Passphrase String for deriving keys for authentication and encryption.
|
|
|
|
spi
integer
|
|
IPsec Security Parameter Index.
|
|
|
bfd
boolean
|
|
Enable BFD.
|
|
|
cost
integer
|
|
metric associated with interface.
|
|
|
dead_interval
integer
|
|
Time interval to detect a dead router.
|
|
|
encryption_v3
dictionary
|
|
Authentication settings on the interface.
Valid only when afi = ipv6.
|
|
|
|
algorithm
string
|
|
algorithm.
|
|
|
|
encryption
string
|
Choices:
- 3des-cbc
- aes-128-cbc
- aes-192-cbc
- aes-256-cbc
- null
|
encryption type.
|
|
|
|
key
string
|
|
key
|
|
|
|
keytype
string
|
|
Specifies if an unencrypted/hidden follows.
0 denotes unencrypted key.
7 denotes hidden key.
|
|
|
|
passphrase
string
|
|
Passphrase String for deriving keys for authentication and encryption.
|
|
|
|
spi
integer
|
|
IPsec Security Parameter Index.
|
|
|
hello_interval
integer
|
|
Timer interval between transmission of hello packets.
|
|
|
ip_params
list
/ elements=dictionary
|
|
Specify parameters for IPv4/IPv6.
Valid only when afi = ipv6.
|
|
|
|
afi
string
/ required
|
|
Address Family Identifier (AFI) for OSPF settings on the interfaces.
|
|
|
|
area
dictionary
|
|
Area associated with interface.
Valid only when afi = ipv4.
|
|
|
|
|
area_id
string
/ required
|
|
Area ID as a decimal or IP address format.
|
|
|
|
bfd
boolean
|
|
Enable BFD.
|
|
|
|
cost
integer
|
|
metric associated with interface.
|
|
|
|
dead_interval
integer
|
|
Time interval to detect a dead router.
|
|
|
|
hello_interval
integer
|
|
Timer interval between transmission of hello packets.
|
|
|
|
mtu_ignore
boolean
|
|
if True, Disable MTU check for Database Description packets.
|
|
|
|
network
string
|
|
Interface type.
|
|
|
|
passive_interface
boolean
|
|
Suppress routing updates in an interface.
|
|
|
|
priority
integer
|
|
Interface priority.
|
|
|
|
retransmit_interval
integer
|
|
LSA retransmission interval.
|
|
|
|
transmit_delay
integer
|
|
LSA transmission delay.
|
|
|
message_digest_key
dictionary
|
|
Message digest authentication password (key) settings.
|
|
|
|
encryption
string
|
|
0 Specifies an UNENCRYPTED ospf password (key) will follow.
7 Specifies a proprietry encryption type.
|
|
|
|
key
string
|
|
Authentication key (upto 16 chars).
|
|
|
|
key_id
integer
|
|
Key ID.
|
|
|
mtu_ignore
boolean
|
|
if True, Disable MTU check for Database Description packets.
|
|
|
network
string
|
|
Interface type.
|
|
|
passive_interface
boolean
|
|
Suppress routing updates in an interface.
Valid only when afi = ipv6.
|
|
|
priority
integer
|
|
Interface priority.
|
|
|
retransmit_interval
integer
|
|
LSA retransmission interval.
|
|
|
shutdown
boolean
|
|
Shutdown OSPF on this interface.
|
|
|
transmit_delay
integer
|
|
LSA transmission delay.
|
|
name
string
|
|
Name/Identifier of the interface.
|
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
- gathered
- parsed
- rendered
|
The state the configuration should be left in.
|