summaryrefslogtreecommitdiffstats
path: root/test-suites/short-smoke/network-veth.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'test-suites/short-smoke/network-veth.yaml')
-rw-r--r--test-suites/short-smoke/network-veth.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suites/short-smoke/network-veth.yaml b/test-suites/short-smoke/network-veth.yaml
new file mode 100644
index 0000000..4416ff7
--- /dev/null
+++ b/test-suites/short-smoke/network-veth.yaml
@@ -0,0 +1,10 @@
+metadata:
+ format: Lava-Test Test Definition 1.0
+ name: veth
+ description: "Virtual network card installation"
+run:
+ steps:
+ - ip link add veth0 type veth peer name veth1
+ - sleep 2
+ - ip addr add 10.1.0.1/24 dev veth0
+ - ip addr add 10.1.0.2/24 dev veth1