summaryrefslogtreecommitdiff
path: root/kvm-send-keyvalue.yaml
blob: 3d345930d4fb80c973d1cc40289a747df85e1351 (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
metadata:
    format: Lava-Test Test Definition 1.0
    name: kvm-multinode
    description: "Basic MultiNode test commands for KVM"
    version: "1.1"

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