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