Skip to content

VXLAN test: Test DUT against reference implementation (FRR) instead of against itself #2257

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
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
25 changes: 19 additions & 6 deletions tests/integration/vxlan/01-vxlan-bridging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,38 +11,51 @@ message: |
Please note it might take a while for the lab to work due to
STP learning phase

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

groups:
_auto_create: True
hosts:
members: [ h1, h2, h3, h4 ]
device: linux
provider: clab
switches:
members: [ s1, s2 ]
members: [ dut, s2 ]
module: [ vlan, vxlan, ospf ]
probes:
device: frr
provider: clab
members: [ s2 ]

vlans:
red:
mode: bridge
prefix:
ipv4: 172.31.1.0/24
links: [ s1-h1, s2-h2 ]
links: [ dut-h1, s2-h2 ]
blue:
mode: bridge
prefix:
ipv4: 172.31.1.0/24
links: [ s1-h3, s2-h4 ]
links: [ dut-h3, s2-h4 ]

links:
- s1:
- dut:
s2:
mtu: 1600

validate:
adj:
description: Check OSPF adjacencies
wait_msg: Waiting for OSPF adjacency process to complete
wait: ospfv2_adj_lan
nodes: [ s2 ]
plugin: ospf_neighbor(nodes.dut.ospf.router_id)

ping_red:
description: Ping-based reachability test in VLAN red
wait_msg: Waiting for OSFP and STP to wake up
wait: 50
wait_msg: Waiting for STP to start forwarding
wait: stp_forwarding
nodes: [ h1 ]
plugin: ping('h2')
ping_blue:
Expand Down
2 changes: 2 additions & 0 deletions tests/integration/wait_times.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ const.validate:
ospf_import: 20

ebgp_session: 30

stp_forwarding: 35