.. _cisco.nxos.nxos_ospf_interfaces_module:
*******************************
cisco.nxos.nxos_ospf_interfaces
*******************************
**OSPF Interfaces Resource Module.**
Version added: 1.3.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module manages OSPF(v2/v3) configuration of interfaces on devices running Cisco NX-OS.
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.
|
|
|
authentication
dictionary
|
|
Authentication settings on the interface.
|
|
|
|
enable
boolean
|
|
Enable/disable authentication on the interface.
|
|
|
|
key_chain
string
|
|
Authentication password key-chain.
|
|
|
|
message_digest
boolean
|
|
Use message-digest authentication.
|
|
|
|
null_auth
boolean
|
|
Use null(disable) authentication.
|
|
|
authentication_key
dictionary
|
|
Configure the authentication key for the interface.
|
|
|
|
encryption
integer
|
|
0 Specifies an UNENCRYPTED authentication key will follow.
3 Specifies an 3DES ENCRYPTED authentication key will follow.
7 Specifies a Cisco type 7 ENCRYPTED authentication key will follow.
|
|
|
|
key
string
/ required
|
|
Authentication key.
Valid values are Cisco type 7 ENCRYPTED password, 3DES ENCRYPTED password and UNENCRYPTED (cleartext) password based on the value of encryption key.
|
|
|
cost
integer
|
|
Cost associated with interface.
|
|
|
dead_interval
integer
|
|
Dead interval value (in seconds).
|
|
|
default_passive_interface
boolean
|
|
Set passive-interface attribute on this interface to default.
This option is mutually exclusive with passive_interface.
|
|
|
hello_interval
integer
|
|
Hello interval value (in seconds).
|
|
|
instance
integer
|
|
Instance identifier.
|
|
|
message_digest_key
dictionary
|
|
Message digest authentication password (key) settings.
|
|
|
|
encryption
integer
|
|
0 Specifies an UNENCRYPTED ospf password (key) will follow.
3 Specifies an 3DES ENCRYPTED ospf password (key) will follow.
7 Specifies a Cisco type 7 ENCRYPTED the ospf password (key) will follow.
|
|
|
|
key
string
/ required
|
|
Authentication key.
Valid values are Cisco type 7 ENCRYPTED password, 3DES ENCRYPTED password and UNENCRYPTED (cleartext) password based on the value of encryption key.
|
|
|
|
key_id
integer
/ required
|
|
Key ID.
|
|
|
mtu_ignore
boolean
|
|
Enable/disable OSPF MTU mismatch detection.
|
|
|
multi_areas
list
/ elements=string
|
|
Multi-Areas associated with interface (not tied to OSPF process).
Valid values are Area Ids as an integer or IP address.
|
|
|
network
string
|
Choices:
- broadcast
- point-to-point
|
Network type.
|
|
|
passive_interface
boolean
|
|
Suppress routing updates on the interface.
This option is mutually exclusive with default_passive_interface.
|
|
|
priority
integer
|
|
Router priority.
|
|
|
processes
list
/ elements=dictionary
|
|
Interfaces configuration for an OSPF process.
|
|
|
|
area
dictionary
|
|
Area associated with interface.
|
|
|
|
|
area_id
string
/ required
|
|
Area ID in IP address format.
|
|
|
|
|
secondaries
boolean
|
|
Do not include secondary IPv4/IPv6 addresses.
|
|
|
|
multi_areas
list
/ elements=string
|
|
Multi-Areas associated with interface.
Valid values are Area Ids as an integer or IP address.
|
|
|
|
process_id
string
/ required
|
|
OSPF process tag.
|
|
|
retransmit_interval
integer
|
|
Packet retransmission interval.
|
|
|
shutdown
boolean
|
|
Shutdown OSPF on this interface.
|
|
|
transmit_delay
integer
|
|
Packet transmission delay.
|
|
name
string
/ required
|
|
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 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
- parsed
- rendered
|
The state the configuration should be left in.
|