Skip to content

Commit

Permalink
Cleanup test case
Browse files Browse the repository at this point in the history
  • Loading branch information
jbemmel committed Dec 15, 2024
1 parent c185d42 commit 2228959
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions tests/integration/lag/10-mlag-m-to-m-different-vlans.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
message: |
The device under test are two pairs of switches, interconnected through
dual-sided MLAG links each carrying a different set of vlans The hosts should
be able to ping each other and their gateway
dual-sided MLAG links each carrying a different set of vlans.
This illustrates the need for 'split_dual_mlag_link' in the lag module.

Check failure on line 5 in tests/integration/lag/10-mlag-m-to-m-different-vlans.yml

View workflow job for this annotation

GitHub Actions / tests (3.9)

5:1 [trailing-spaces] trailing spaces

Check failure on line 5 in tests/integration/lag/10-mlag-m-to-m-different-vlans.yml

View workflow job for this annotation

GitHub Actions / tests (3.10)

5:1 [trailing-spaces] trailing spaces

Check failure on line 5 in tests/integration/lag/10-mlag-m-to-m-different-vlans.yml

View workflow job for this annotation

GitHub Actions / tests (3.11)

5:1 [trailing-spaces] trailing spaces

Check failure on line 5 in tests/integration/lag/10-mlag-m-to-m-different-vlans.yml

View workflow job for this annotation

GitHub Actions / tests (3.12)

5:1 [trailing-spaces] trailing spaces

Check failure on line 5 in tests/integration/lag/10-mlag-m-to-m-different-vlans.yml

View workflow job for this annotation

GitHub Actions / tests (3.13)

5:1 [trailing-spaces] trailing spaces
The devices are only pairwise adjacent in OSPF, a1-a2 and b1-b2
The hosts should be able to ping each other and various gateways
defaults.device: eos

prefix:
p2p1:
pool: p2p
allocation: p2p # Oddly needed
p2p2:
pool: p2p
allocation: p2p # Oddly needed
allocation: p2p

vlans:
ospf-pair1:
Expand All @@ -32,15 +38,13 @@ groups:
switches-a:
members: [a1, a2]
module: [lag, vlan, ospf]
device: eos

vlans:
ospf-pair1:

switches-b:
members: [b1, b2]
module: [lag, vlan, ospf]
device: eos

vlans:
ospf-pair2:
Expand All @@ -60,15 +64,13 @@ links:
mlag.peergroup: 2
vlan.trunk: [ospf-pair2]
- lag:
# mlag: True
members:
- a1:
b1:
vlan.trunk: [red]
vlan.trunk: [red] # Only 'red'
- a2:
b2:
vlan.trunk: [red, blue]
# vlan.trunk: [red]
vlan.trunk: [red, blue] # Both red and blue

validate:
ping:
Expand All @@ -77,7 +79,11 @@ validate:
wait_msg: Waiting for STP to enable the ports
wait: 45
plugin: ping('h2')
ping_gw:
description: Pinging gateway from H1
ping_gw_red:
description: Pinging red gateway on B1 from H1
nodes: [h1]
plugin: ping(nodes.b1.interfaces[4].ipv4,af='ipv4')
plugin: ping(nodes.b1.interfaces[-1].ipv4,af='ipv4')
ping_gw_blue:
description: Pinging blue gateway on A2 from H2
nodes: [h2]
plugin: ping(nodes.a2.interfaces[-2].ipv4,af='ipv4')

0 comments on commit 2228959

Please sign in to comment.