diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2020-10-14 09:18:58 +0200 |
---|---|---|
committer | Corentin LABBE <clabbe@baylibre.com> | 2020-10-14 09:43:52 +0200 |
commit | 372171903a7c594f3623f80063f7c986150e17f3 (patch) | |
tree | 02a2939c6a79b46da820adaf9c3fa4650ac4bf2d /test-suites | |
parent | ddc64f85cd18ea942d602e761305c0f7f7e1c4c1 (diff) |
SPEC-3631: Add veth test
Add veth test which adds an extra virtual network card for testing.
Change-Id: I4e6fef99009830cd016b2124b45b6815192b5ced
Bug-AGL: SPEC-3631
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
Diffstat (limited to 'test-suites')
-rw-r--r-- | test-suites/short-smoke/network-veth.yaml | 10 |
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 |