diff options
author | Weilong Chen <weilong.chen@linaro.org> | 2013-11-22 16:45:08 +0800 |
---|---|---|
committer | Weilong Chen <weilong.chen@linaro.org> | 2013-11-22 16:45:08 +0800 |
commit | 17c4067012d1bce5186bedfa6ba09e00cd5e42f3 (patch) | |
tree | 79704ed3bf2eee57b32d0e3bc1b32696dd67ee3f /openembedded/netperf-client-multinode.yaml | |
parent | 751be8e82a104ad60e7fa67227cff2bc6e10a01a (diff) |
fix: qa/testing netperf is hard coded to use eth0
Add a param 'ETH' to the .yaml.Its default value is "eth0",
In the .json,it can be used like this:
"testdef_repos": [
{
"git-repo": "git://....",
"testdef": "openembedded/netperf-server-multinode.yaml",
"parameters": {"ETH": "eth1"}
}
(test on "eth1")
or
"testdef_repos": [
{
"git-repo": "git://....",
"testdef": "openembedded/netperf-server-multinode.yaml",
}
(test on "eth0")
Change-Id: I7bfea8a1cc37419ca166064de750a03900ebc467
Signed-off-by: Weilong Chen <weilong.chen@linaro.org>
Diffstat (limited to 'openembedded/netperf-client-multinode.yaml')
-rw-r--r-- | openembedded/netperf-client-multinode.yaml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openembedded/netperf-client-multinode.yaml b/openembedded/netperf-client-multinode.yaml index 4609e44..88e3142 100644 --- a/openembedded/netperf-client-multinode.yaml +++ b/openembedded/netperf-client-multinode.yaml @@ -18,13 +18,15 @@ metadata: - beaglebone-black - beagle-xm - mx53loco +params: + - "ETH=eth0" run: steps: - ifconfig -a - route - - lava-network broadcast eth0 - - lava-network collect eth0 + - lava-network broadcast $ETH + - lava-network collect $ETH - lava-sync ready - lava-test-case multinode-lava-network --shell ./common/scripts/netperf-client.sh - lava-sync done |