Skip to content

eos_bgp_global cannot specify "in" and "out" route-maps for neighbor #538

@yheffen

Description

@yheffen
SUMMARY

It is not unusual to specify both incoming and outgoing route-maps to a BGP neighbor,

router bgp 65000
local-as 65000
router-id 192.0.2.1
neighbor 192.0.2.2 route-map MAP_INCOMING in
neighbor 192.0.2.2 route-map MAP_OUTGOING out

In the YAML for eos_bgp_global, there is only a single "route_map" dict per neighbor. It means you can have one or the other, but not both.

The cisco.ios.ios_bgp_global module handles this by instead having "route_maps" which is a list of dicts. Looks like they had "route_map" too, but have deprecated it.

ISSUE TYPE
  • Bug Report
COMPONENT NAME
ANSIBLE VERSION

COLLECTION VERSION

CONFIGURATION

OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS

Metadata

Metadata

Labels

needs_infoThis issue requires further information. Please answer any outstanding questions.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions