Skip to content
Draft
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
10 changes: 5 additions & 5 deletions tests/integration/dhcp/01-ipv4-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ plugin: [ no_dhcp_server ]

groups:
dhcp_clients:
members: [ c1, c2 ]
members: [ dut_c1, dut_c2 ]

nodes:
c1:
c2:
dut_c1:
dut_c2:
server:
module: [ dhcp ]
device: dnsmasq
dhcp.server: true
provider: clab

links:
- c1:
- dut_c1:
ipv4: dhcp
c2:
dut_c2:
ipv4: dhcp
dhcp.client.default: False
server:
Expand Down
10 changes: 5 additions & 5 deletions tests/integration/dhcp/02-ipv6-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@ plugin: [ no_dhcp_server ]

groups:
dhcp_clients:
members: [ c1, c2 ]
members: [ dut_c1, dut_c2 ]

addressing.lan:
ipv4: false
ipv6: 2001:db8:cafe::/48

nodes:
c1:
c2:
dut_c1:
dut_c2:
server:
module: [ dhcp ]
device: dnsmasq
dhcp.server: true
provider: clab

links:
- c1:
- dut_c1:
ipv6: dhcp
c2:
dut_c2:
ipv6: dhcp
server:

Expand Down
4 changes: 2 additions & 2 deletions tests/integration/dhcp/03-ipv4-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ groups:
nodes:
c1:
c2:
server:
dut:
module: [ dhcp ]
dhcp.server: true

Expand All @@ -23,7 +23,7 @@ links:
ipv4: dhcp
c2:
ipv4: dhcp
server:
dut:

validate:
get_lease:
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/dhcp/04-ipv6-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ groups:
nodes:
c1:
c2:
server:
dut:
module: [ dhcp ]
dhcp.server: true

Expand All @@ -27,7 +27,7 @@ links:
ipv6: dhcp
c2:
ipv6: dhcp
server:
dut:

validate:
lease:
Expand Down
10 changes: 5 additions & 5 deletions tests/integration/dhcp/11-ipv4-relay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ groups:
provider: clab

nodes:
relay:
dut:
module: [ dhcp ]
role: router

Expand All @@ -30,16 +30,16 @@ links:
ipv4: dhcp
c2:
ipv4: dhcp
relay:
dut:
dhcp.server: s1
- c3:
ipv4: dhcp
c4:
ipv4: dhcp
relay:
dut:
dhcp.server: s2
- relay-s1
- relay-s2
- dut-s1
- dut-s2

validate:
get_lease:
Expand Down
10 changes: 5 additions & 5 deletions tests/integration/dhcp/12-ipv6-relay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,24 @@ groups:
provider: clab

nodes:
relay:
dut:
module: [ dhcp ]

links:
- c1:
ipv6: dhcp
c2:
ipv6: dhcp
relay:
dut:
dhcp.server: s1
- c3:
ipv6: dhcp
c4:
ipv6: dhcp
relay:
dut:
dhcp.server: s2
- relay-s1
- relay-s2
- dut-s1
- dut-s2

validate:
address:
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/dhcp/21-ipv4-relay-vrf-global.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ groups:
role: host

nodes:
relay:
dut:
module: [ dhcp, vrf ]

vrfs:
Expand All @@ -33,12 +33,12 @@ links:
ipv4: dhcp
c2:
ipv4: dhcp
relay:
dut:
dhcp.server: server
dhcp.vrf: global
vrf: c_vrf

- relay-server
- dut-server

validate:
get_lease:
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/dhcp/31-ipv4-client-ospf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module: [ dhcp ]
groups:
_auto_create: true
clients:
members: [ c1, c2 ]
members: [ dut_c1, dut_c2 ]
module: [ ospf, dhcp ]
servers:
members: [ server ]
Expand All @@ -26,9 +26,9 @@ nodes:
module: [ ospf, dhcp ]

links:
- c1:
- dut_c1:
ipv4: dhcp
c2:
dut_c2:
ipv4: dhcp
relay:
dhcp.server: server
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/dhcp/32-ipv6-client-ospf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module: [ dhcp ]
groups:
_auto_create: true
clients:
members: [ c1, c2 ]
members: [ dut_c1, dut_c2 ]
module: [ ospf, dhcp ]
servers:
members: [ server ]
Expand All @@ -30,9 +30,9 @@ nodes:
module: [ ospf, dhcp ]

links:
- c1:
- dut_c1:
ipv6: dhcp
c2:
dut_c2:
ipv6: dhcp
relay:
dhcp.server: server
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/eigrp/01-eigrp-ipv4.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
message: |
Use this topology to test basic EIGRP IPv4 implementation and route
propagation. Two routers (r1, r2) run EIGRP AS 2 and should establish
propagation. Two routers (dut, r2) run EIGRP AS 2 and should establish
adjacency and exchange routes, enabling end-to-end connectivity between
two Linux hosts connected to the routers.

Expand All @@ -14,15 +14,15 @@ groups:
device: linux
provider: clab
routers:
members: [ r1, r2 ]
members: [ dut, r2 ]
module: [ eigrp ]
eigrp.as: 2
probes:
members: [ r2 ]
device: iol
provider: clab

links: [ h1-r1, r1-r2, r2-h2 ]
links: [ h1-dut, dut-r2, r2-h2 ]

validate:
ping_h1_h2:
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/eigrp/02-eigrp-ipv6.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
message: |
Use this topology to test EIGRP IPv6 implementation and route propagation
in an IPv6-only network. Two routers (r1, r2) run EIGRP AS 2 and should
in an IPv6-only network. Two routers (dut, r2) run EIGRP AS 2 and should
establish adjacency and exchange routes. Linux hosts should receive IPv6
default routes via router advertisements, enabling end-to-end IPv6
connectivity.
Expand All @@ -26,15 +26,15 @@ groups:
device: linux
provider: clab
routers:
members: [ r1, r2 ]
members: [ dut, r2 ]
module: [ eigrp ]
eigrp.as: 2
probes:
members: [ r2 ]
device: iol
provider: clab

links: [ h1-r1, r1-r2, r2-h2 ]
links: [ h1-dut, dut-r2, r2-h2 ]

validate:
ra:
Expand Down
12 changes: 6 additions & 6 deletions tests/integration/evpn.multihoming/01-esi-lag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ evpn.ethernet_segments:
groups:
_auto_create: true
switches:
members: [ s1, s2 ]
members: [ dut_s1, dut_s2 ]
module: [ vlan, vxlan, ospf, bgp, evpn, lag ]
evpn._junos_default_macvrf: true # let's keep it simple for now
probes:
Expand All @@ -30,21 +30,21 @@ groups:
vlans:
red:
mode: bridge
links: [ h1-x1, h2-s1, h3-s2 ]
links: [ h1-x1, h2-dut_s1, h3-dut_s2 ]

links:
# EVPN/VXLAN Link
- s1:
s2:
- dut_s1:
dut_s2:
mtu: 1600
# ESI-LAG
- lag:
members:
- s1:
- dut_s1:
lag.lacp_system_id: 1
evpn.es: seg_1
x1:
- s2:
- dut_s2:
lag.lacp_system_id: 1
evpn.es: seg_1
x1:
Expand Down
12 changes: 6 additions & 6 deletions tests/integration/evpn.multihoming/02-esi-lag-auto-id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ bgp.as: 65000
groups:
_auto_create: true
switches:
members: [ s1, s2 ]
members: [ dut_s1, dut_s2 ]
module: [ vlan, vxlan, ospf, bgp, evpn, lag ]
evpn._junos_default_macvrf: true # let's keep it simple for now
probes:
Expand All @@ -28,20 +28,20 @@ groups:
vlans:
red:
mode: bridge
links: [ h1-x1, h2-s1, h3-s2 ]
links: [ h1-x1, h2-dut_s1, h3-dut_s2 ]

links:
# EVPN/VXLAN Link
- s1:
s2:
- dut_s1:
dut_s2:
mtu: 1600
# ESI-LAG
- lag:
members:
- s1:
- dut_s1:
evpn.es: seg_auto_1
x1:
- s2:
- dut_s2:
evpn.es: seg_auto_1
x1:
vlan.access: red
Expand Down
Loading