summaryrefslogtreecommitdiff
path: root/openembedded/netperf-client-multinode.yaml
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2014-02-21 14:03:46 +0100
committerAnders Roxell <anders.roxell@linaro.org>2014-02-25 11:44:50 +0100
commit11c67f0014e064399488bac2cd552a7fb57b8f6c (patch)
tree0ba99ed2082391908268f2a76321a7edef900016 /openembedded/netperf-client-multinode.yaml
parenta65a7a4ee8003ed03e5a2bfe5abacf0bcc0805f0 (diff)
OE/netperf: adding mac mapping table for the LNG-lab
Change-Id: Ib066d8be065925ac9eff9b6e106d89e0c084a52b Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'openembedded/netperf-client-multinode.yaml')
-rw-r--r--openembedded/netperf-client-multinode.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/openembedded/netperf-client-multinode.yaml b/openembedded/netperf-client-multinode.yaml
index e479d54..e3cd6ef 100644
--- a/openembedded/netperf-client-multinode.yaml
+++ b/openembedded/netperf-client-multinode.yaml
@@ -19,10 +19,12 @@ metadata:
- beagle-xm
- mx53loco
params:
- ETH: eth0
+ CONNECTION: lngswitch
run:
steps:
+ - 'ETH=$(./common/scripts/lookup-eth $CONNECTION | egrep "(rename|eth)")'
+ - 'if [ -n $ETH ]; then ETH=eth0; fi'
- ifconfig -a
- route
- lava-network broadcast $ETH