Skip to content

Commit 7daac91

Browse files
committed
tc integration tests
1 parent 7603d1c commit 7daac91

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
message: |
3+
Test TC functionality on containerlab links
4+
5+
provider: clab
6+
7+
groups:
8+
_auto_create: True
9+
hosts:
10+
members: [ h1, h2 ]
11+
device: linux
12+
13+
links:
14+
- interfaces: [ h1, h2 ]
15+
tc.delay: 200
16+
17+
validate:
18+
ping:
19+
nodes: [ h1 ]
20+
devices: [ linux ]
21+
exec: ping h2 -c 3
22+
valid: >-
23+
"40" in stdout
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
message: |
3+
Test TC functionality on libvirt links
4+
5+
provider: libvirt
6+
7+
groups:
8+
_auto_create: True
9+
hosts:
10+
members: [ h1, h2 ]
11+
device: linux
12+
13+
links:
14+
- interfaces: [ h1, h2 ]
15+
tc.delay: 200
16+
17+
validate:
18+
ping:
19+
nodes: [ h1 ]
20+
devices: [ linux ]
21+
exec: ping h2 -c 3
22+
valid: >-
23+
"40" in stdout

0 commit comments

Comments
 (0)