summaryrefslogtreecommitdiff
path: root/openembedded/replay-client-multinode.yaml
diff options
context:
space:
mode:
authorWeilong Chen <weilong.chen@linaro.org>2014-04-17 19:52:29 +0800
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2014-05-07 14:23:51 +0000
commit183d092e5529867cd9eb49c55a0c6bad132ab8f3 (patch)
treea9942a7fa369dedae377c4980e6f90ba72c4e2cc /openembedded/replay-client-multinode.yaml
parent97cd698f46250318184f064e0c9b16dbe593bfe2 (diff)
BP: TCP Replay to pump pcap traffic for tests
Establish basic sanity and regression tests, this is a special case test since it actually generates traffic for other test cases Change-Id: I711c5a4683b116ad54cc8c69e020dcf041fa7317 Signed-off-by: Weilong Chen <weilong.chen@linaro.org>
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+)"