summaryrefslogtreecommitdiff
path: root/openembedded/replay-client-multinode.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded/replay-client-multinode.yaml')
-rw-r--r--openembedded/replay-client-multinode.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/openembedded/replay-client-multinode.yaml b/openembedded/replay-client-multinode.yaml
new file mode 100644
index 0000000..24e4050
--- /dev/null
+++ b/openembedded/replay-client-multinode.yaml
@@ -0,0 +1,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:
+ - openembedded
+ 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+)"