Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 12 additions & 16 deletions tests/integration/vrf/16-vrf-bgp-community.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ message: |

defaults.sources.extra: [ ../wait_times.yml, ../warnings.yml ]

plugin: [ files ]

groups:
probes:
members: [ x1, x2 ]
Expand All @@ -31,20 +29,18 @@ nodes:
x1:
id: 10
bgp.as: 65010
bgp.originate: 172.0.42.0/24
config.inline: |
route-map setcomm permit 10
set community 65000:1 additive
set extcommunity bandwidth 100
set large-community 65000:0:1 additive
exit
!
router bgp {{ bgp.as }}
!
address-family ipv4 unicast
{% for n in bgp.neighbors %}
neighbor {{ n.ipv4 }} route-map setcomm out
{% endfor %}
module: [ bgp, routing ]
bgp.import.static.policy: setcomm
routing:
static:
- ipv4: 172.0.42.0/24
nexthop.discard: True
policy:
setcomm:
set.community:
standard: [ '65000:1' ]
extended: [ 'bandwidth 100' ]
large: [ '65000:0:1' ]

x2:
id: 11
Expand Down