blob: 208d516659e58283bb70c72fb5cd4b206021ffb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
metadata:
format: Lava-Test Test Definition 1.0
name: kvm-multinode
description: "Basic MultiNode test commands for KVM"
version: "1.1"
maintainer:
- neil.williams@linaro.org
os:
- ubuntu
scope:
- functional
devices:
- kvm
run:
steps:
- lava-test-case role-output --shell lava-role
- lava-group
- lava-test-case linux-kvm-netstat --shell netstat -an
- lava-test-case linux-kvm-ifconfig-dump --shell ifconfig -a
- lava-test-case linux-kvm-route-dump-a --shell route
- lava-test-case linux-kvm-route-ifconfig-up-lo --shell ifconfig lo up
- lava-test-case linux-kvm-route-dump-b --shell route
- lava-test-case linux-kvm-route-ifconfig-up --shell ifconfig eth0 up
- lava-test-case linux-kvm-route-ifconfig-down --shell ifconfig eth0 down
- lava-test-case linux-kvm-route-ifconfig-up --shell ifconfig eth0 up
- lava-test-case linux-kvm-route-ifconfig-down --shell ifconfig eth0 down
- lava-test-case send --shell lava-send get_source source=$(lava-self) role=$(lava-role)
- lava-test-case linux-kvm-route-dhclient --shell dhclient -v eth0
- lava-test-case send --shell lava-wait-all get_source client
- cat /tmp/lava_multi_node_cache.txt
- wget -O get_ip http://people.linaro.org/~neil.williams/get_ip
- chmod a+x ./get_ip
- lava-test-case multinode-send-network --shell lava-send network hostname=$(hostname) fqdn=$(hostname -f) ip=$(./get_ip)
- lava-test-case multinode-get-network --shell lava-wait-all network
- cat /tmp/lava_multi_node_cache.txt
|