summaryrefslogtreecommitdiff
path: root/openembedded/replay-client-multinode.yaml
blob: ee98b1551ed3627469c7731792c2aa145fe91c5c (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
metadata:
    format: Lava-Test Test Definition 1.0
    name: tcpreplay-client-multinode
    description: "Basic MultiNode tcpreplay test on client side for Linaro OpenEmbedded builds.
                  The test replays packages to IP address at a given rate (packet/sec) and loops
                  through the capture file 'REP' times. 'REP' is set to 100 by default which can be
                  changed via JSON file."
    maintainer:
        - weilong.chen@linaro.org
    os:
        - openembedded
    scope:
        - performance
    devices:
        - kvm
        - arndale
        - juno
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+)"