Support to config external network by shell env 77/1077/4
authorQiLiang <liangqi1@huawei.com>
Mon, 27 Jul 2015 10:39:24 +0000 (10:39 +0000)
committerQiLiang <liangqi1@huawei.com>
Sun, 6 Sep 2015 10:22:15 +0000 (18:22 +0800)
commitc00f0f4fdab37db3bf084c879ac6186054726916
tree99f914a9ba70a87c97a25c812e21b1d59ea7b64e
parent3c3917962ec72fb8ee7cb39bbf126be90c1033d3
Support to config external network by shell env

Example invocation:
$ export EXTERNAL_NETWORK=net04_ext
$ yardstick task start samples/ping.yaml

The default external network is "net04_ext"

external_net should not be possible set in yaml anymore.

JIRA: YARDSTICK-54

Change-Id: I8c7b2850801f312c6878e9a363b06cdc8ade09bf
Signed-off-by: QiLiang <liangqi1@huawei.com>
16 files changed:
samples/fio-template.yaml
samples/fio.yaml
samples/iperf3.yaml
samples/lmbench.yaml
samples/perf.yaml
samples/ping-ext-ip.yaml
samples/ping-ext-stimuli.yaml
samples/ping-iteration.yaml
samples/ping-multiple-context.yaml
samples/ping-option-list.yaml
samples/ping-parallel.yaml
samples/ping-serial.yaml
samples/ping-template.yaml
samples/ping.yaml
samples/pktgen.yaml
yardstick/cmd/commands/task.py