.. _arista.eos.eos_route_maps_module:
*************************
arista.eos.eos_route_maps
*************************
**Manages Route Maps resource module**
Version added: 2.1.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module configures and manages the attributes of Route Mapd on Arista EOS platforms.
Parameters
----------
.. raw:: html
Parameter |
Choices/Defaults |
Comments |
config
list
/ elements=dictionary
|
|
A list of route-map options
|
|
entries
list
/ elements=dictionary
|
|
Route Map entries.
|
|
|
action
string
|
|
Action for matching routes
|
|
|
continue_sequence
integer
|
|
Route map entry sequence number.
|
|
|
description
string
|
|
Description for the route map.
|
|
|
match
dictionary
|
|
Route map match rules.
|
|
|
|
aggregate_role
dictionary
|
|
Role in BGP contributor-aggregate relation.
|
|
|
|
|
contributor
boolean
|
|
BGP aggregate's contributor.
|
|
|
|
|
route_map
string
|
|
Route map to apply against the aggregate route.
|
|
|
|
as
integer
|
|
BGP AS number.
|
|
|
|
as_path
dictionary
|
|
Set as-path.
|
|
|
|
|
length
string
|
|
Specify as-path length ( with comparison operators like <= 60 and >= 40 ).
|
|
|
|
|
path_list
string
|
|
AS path list name.
|
|
|
|
community
dictionary
|
|
BGP community attribute.
|
|
|
|
|
community_list
string
|
|
list of community names (in csv format).
|
|
|
|
|
exact_match
boolean
|
|
Do exact matching of communities.
|
|
|
|
|
instances
string
|
|
Match number of community instances ( with comparison operators like <= 60 and >= 40 ).
|
|
|
|
extcommunity
dictionary
|
|
extended community list name.
|
|
|
|
|
community_list
string
|
|
list of community names (in csv format).
|
|
|
|
|
exact_match
boolean
|
|
Do exact matching of communities.
|
|
|
|
interface
string
|
|
interface name.
|
|
|
|
invert_result
dictionary
|
|
Invert match result.
|
|
|
|
|
aggregate_role
dictionary
|
|
Role in BGP contributor-aggregate relation.
|
|
|
|
|
|
contributor
boolean
|
|
BGP aggregate's contributor.
|
|
|
|
|
|
route_map
string
|
|
Route map to apply against the aggregate route.
|
|
|
|
|
as_path
dictionary
|
|
Set as-path.
|
|
|
|
|
|
length
string
|
|
Specify as-path length ( with comparison operators like <= 60 and >= 40 ).
|
|
|
|
|
|
path_list
string
|
|
AS path list name.
|
|
|
|
|
community
dictionary
|
|
BGP community attribute.
|
|
|
|
|
|
community_list
string
|
|
list of community names (in csv format).
|
|
|
|
|
|
exact_match
boolean
|
|
Do exact matching of communities.
|
|
|
|
|
|
instances
string
|
|
Match number of community instances ( with comparison operators like <= 60 and >= 40 ).
|
|
|
|
|
extcommunity
dictionary
|
|
extended community list name.
|
|
|
|
|
|
community_list
string
|
|
list of community names (in csv format).
|
|
|
|
|
|
exact_match
boolean
|
|
Do exact matching of communities.
|
|
|
|
|
large_community
dictionary
|
|
extended community list name.
|
|
|
|
|
|
community_list
string
|
|
list of community names (in csv format).
|
|
|
|
|
|
exact_match
boolean
|
|
Do exact matching of communities.
|
|
|
|
ip
dictionary
|
|
Set IP specific information.
|
|
|
|
|
address
dictionary
|
|
next hop destination.
|
|
|
|
|
|
access_list
string
|
|
ip access-list.
|
|
|
|
|
|
dynamic
boolean
|
|
Configure dynamic prefix-list.
|
|
|
|
|
|
prefix_list
string
|
|
Prefix list.
|
|
|
|
|
next_hop
string
|
|
next hop prefix list.
|
|
|
|
|
resolved_next_hop
string
|
|
Route resolved prefix list.
|
|
|
|
ipv6
dictionary
|
|
Set IPv6 specific information.
|
|
|
|
|
address
dictionary
|
|
next hop destination.
|
|
|
|
|
|
access_list
string
|
|
ip access-list.
|
|
|
|
|
|
dynamic
boolean
|
|
Configure dynamic prefix-list.
|
|
|
|
|
|
prefix_list
string
|
|
Prefix list.
|
|
|
|
|
next_hop
string
|
|
next hop prefix list.
|
|
|
|
|
resolved_next_hop
string
|
|
Route resolved prefix list.
|
|
|
|
isis_level
string
|
|
IS-IS level.
|
|
|
|
large_community
dictionary
|
|
extended community list name.
|
|
|
|
|
community_list
string
|
|
list of community names (in csv format).
|
|
|
|
|
exact_match
boolean
|
|
Do exact matching of communities.
|
|
|
|
local_preference
integer
|
|
BGP local preference.
|
|
|
|
metric
integer
|
|
Route metric.
|
|
|
|
metric_type
string
|
|
Route metric type.
|
|
|
|
route_type
string
|
|
Route type
|
|
|
|
router_id
string
|
|
Router ID.
|
|
|
|
source_protocol
string
|
|
Source routing protocol,
|
|
|
|
tag
integer
|
|
Route tag
|
|
|
sequence
integer
|
|
Index in the sequence.
|
|
|
set
dictionary
|
|
set route attributes.
|
|
|
|
as_path
dictionary
|
|
Set as-path.
|
|
|
|
|
match
dictionary
|
|
Match the entire as-path.
|
|
|
|
|
|
as_number
string
|
|
as number to use (includes auto;in csv format)
|
|
|
|
|
|
none
boolean
|
|
Remove matching AS numbers
|
|
|
|
|
prepend
dictionary
|
|
Prepend to the as-path.
|
|
|
|
|
|
as_number
string
|
|
as number to prepend (includes auto;in csv format)
|
|
|
|
|
|
last_as
integer
|
|
The number of times to prepend the last AS number.
|
|
|
|
bgp
integer
|
|
BGP AS path multipath weight.
|
|
|
|
community_attributes
dictionary
|
|
BGP community attribute.
|
|
|
|
|
community
dictionary
|
|
community attributes.
|
|
|
|
|
|
additive
boolean
|
|
Add to existing community.
|
|
|
|
|
|
delete
boolean
|
|
Delete matching communities.
|
|
|
|
|
|
graceful_shutdown
boolean
|
|
Gracefully shutdown.
|
|
|
|
|
|
internet
boolean
|
|
Internet community
|
|
|
|
|
|
list
string
|
|
community list name.
|
|
|
|
|
|
local_as
boolean
|
|
Do not send outside local AS.
|
|
|
|
|
|
no_advertise
boolean
|
|
Do not advertise to any peer.
|
|
|
|
|
|
no_export
boolean
|
|
Do not export to next AS.
|
|
|
|
|
|
number
string
|
|
community number (in csv format).
|
|
|
|
|
graceful_shutdown
boolean
|
|
Graceful shutdown
|
|
|
|
|
none
boolean
|
|
No community attribute.
|
|
|
|
distance
integer
|
|
Set protocol independent distance.
|
|
|
|
evpn
boolean
|
|
Keep the next hop when advertising to eBGP peers.
|
|
|
|
extcommunity
dictionary
|
|
BGP extended community attribute.
|
|
|
|
|
lbw
dictionary
|
|
Link bandwith values.
|
|
|
|
|
|
aggregate
boolean
|
|
Aggregate Link Bandwidth.
|
|
|
|
|
|
divide
string
|
|
Divide Link Bandwidth.
|
|
|
|
|
|
value
string
|
|
Link Bandwidth extended community value.
|
|
|
|
|
none
boolean
|
|
No attribute.
|
|
|
|
|
rt
dictionary
|
|
Route target extended community
|
|
|
|
|
|
additive
boolean
|
|
Add to the existing community.
|
|
|
|
|
|
delete
boolean
|
|
Delete matching communities.
|
|
|
|
|
|
vpn
string
|
|
VPN extended community.
|
|
|
|
|
soo
dictionary
|
|
Site-of-Origin extended community.
|
|
|
|
|
|
additive
boolean
|
|
Add to the existing community.
|
|
|
|
|
|
delete
boolean
|
|
Delete matching communities.
|
|
|
|
|
|
vpn
string
|
|
VPN extended community.
|
|
|
|
ip
dictionary
|
|
Set IP specific information.
|
|
|
|
|
address
string
|
|
next hop address.
|
|
|
|
|
peer_address
boolean
|
|
Use BGP peering addr as next-hop.
|
|
|
|
|
unchanged
boolean
|
|
Keep the next hop when advertising to eBGP peer
|
|
|
|
ipv6
dictionary
|
|
Set IPv6 specific information.
|
|
|
|
|
address
string
|
|
next hop address.
|
|
|
|
|
peer_address
boolean
|
|
Use BGP peering addr as next-hop.
|
|
|
|
|
unchanged
boolean
|
|
Keep the next hop when advertising to eBGP peer
|
|
|
|
isis_level
string
|
|
IS-IS level.
|
|
|
|
local_preference
integer
|
|
BGP local preference.
|
|
|
|
metric
dictionary
|
|
Route metric.
|
|
|
|
|
add
string
|
Choices:
- igp-metric
- igp-nexthop-cost
|
Add igp-metric / igp-nexthop-cost
|
|
|
|
|
igp_param
string
|
Choices:
- igp-metric
- igp-nexthop-cost
|
IGP parameter
|
|
|
|
|
value
string
|
|
metric value to add or subtract(with +/- sign).
|
|
|
|
metric_type
string
|
|
Route metric type.
|
|
|
|
nexthop
dictionary
|
|
Route next hop.
|
|
|
|
|
max_metric
boolean
|
|
Set IGP max metric value.
|
|
|
|
|
value
integer
|
|
IGP metric value.
|
|
|
|
origin
string
|
Choices:
- egp
- igp
- incomplete
|
Set bgp origin.
|
|
|
|
segment_index
integer
|
|
MPLS Segment-routing Segment Index.
|
|
|
|
tag
integer
|
|
Route tag
|
|
|
|
weight
integer
|
|
BGP weight.
|
|
|
source
dictionary
|
|
Rename/Copy configuration
|
|
|
|
action
string
|
|
rename or copy configuration
|
|
|
|
overwrite
boolean
|
|
if true, overwrite existing config.
|
|
|
|
source_map_name
string
|
|
Source route map name.
|
|
|
statement
string
|
|
statement name
|
|
|
sub_route_map
dictionary
|
|
Sub route map
|
|
|
|
invert_result
boolean
|
|
Invert sub route map result
|
|
|
|
name
string
|
|
sub route map name
|
|
route_map
string
|
|
Route map name.
|
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 route-map.
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:
- deleted
merged ←
- overridden
- replaced
- gathered
- rendered
- parsed
|
The state the configuration should be left in.
|