summaryrefslogtreecommitdiff
path: root/ubuntu/replay-client-multinode.yaml
blob: a6246b4482f046f56f0e7d548e0b65328b8c74d7 (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
metadata:
    format: Lava-Test Test Definition 1.0
    name: tcpreplay-client-multinode
    description: "Basic MultiNode tcpreplay test on client side"
    maintainer:
        - weilong.chen@linaro.org
    os:
        - ubuntu
    scope:
        - performance
    devices:
        - kvm
        - arndale
params:
    ETH: eth0
    REP: 100
run:
    steps:
        - lava-sync start
        - ifconfig -a
        - route
        - lava-network broadcast $ETH
        - lava-network collect $ETH
        - line=`lava-group | grep server | awk '{print $1}'`
        - STR=`lava-network query $line ipv4`
        - remote_ip=`echo $STR | sed -e 's/.*addr://'`
        - lava-test-case multinode-lava-network --shell ./common/scripts/generator.sh $ETH $remote_ip max $REP
        - lava-sync done
parse:
        "pattern": "^test_case_id:(?P<test_case_id>.+) units:(?P<units>.+) measurement:(?P<measurement>\\d+\\.\\d+) result:(?P<result>\\w+)"