diff options
author | Weilong Chen <weilong.chen@linaro.org> | 2014-04-17 19:52:29 +0800 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2014-05-07 14:23:51 +0000 |
commit | 183d092e5529867cd9eb49c55a0c6bad132ab8f3 (patch) | |
tree | a9942a7fa369dedae377c4980e6f90ba72c4e2cc /ubuntu/replay-client-multinode.yaml | |
parent | 97cd698f46250318184f064e0c9b16dbe593bfe2 (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 'ubuntu/replay-client-multinode.yaml')
-rw-r--r-- | ubuntu/replay-client-multinode.yaml | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/ubuntu/replay-client-multinode.yaml b/ubuntu/replay-client-multinode.yaml index 9c1b692..a6246b4 100644 --- a/ubuntu/replay-client-multinode.yaml +++ b/ubuntu/replay-client-multinode.yaml @@ -3,37 +3,28 @@ metadata: name: tcpreplay-client-multinode description: "Basic MultiNode tcpreplay test on client side" maintainer: - - guoqing.zhu@linaro.org + - weilong.chen@linaro.org os: - ubuntu scope: - - functional - performance - - latency - - cpu utilization devices: - kvm - arndale - - panda - - beaglebone-black - - beagle-xm - - mx53loco - -install: - deps: - - wget - - tcpreplay - - python-minimal - +params: + ETH: eth0 + REP: 100 run: steps: - - wget -O telnet.cap http://packetlife.net/captures/telnet.cap + - lava-sync start - ifconfig -a - route - - lava-network broadcast eth0 - - lava-network collect eth0 - - lava-test-case multinode-lava-network --shell ./common/scripts/replay.sh - - lava-sync done - + - 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+)" |