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.+) units:(?P.+) measurement:(?P\\d+\\.\\d+) result:(?P\\w+)"