diff options
author | kubi <jean.gaoliang@huawei.com> | 2016-01-15 19:40:28 +0800 |
---|---|---|
committer | liang gao <jean.gaoliang@huawei.com> | 2016-01-15 13:49:59 +0000 |
commit | b111866af4a311ef965443499bf46505f2c2a22a (patch) | |
tree | 1a2e7df61d75382374255bafa4ac611e46d359df /yardstick/benchmark/scenarios/networking/ping6_find_host.bash | |
parent | 9598fee99c2b2cabd3d0546de8cdfb7a942a9500 (diff) |
fix some bug in ipv6 to make it run in ci
JIRA:YARDSTICK-187
Change-Id: Ia15d17afdef145f7b230a8a4d25a61eed5cdfd76
Signed-off-by: kubi <jean.gaoliang@huawei.com>
Diffstat (limited to 'yardstick/benchmark/scenarios/networking/ping6_find_host.bash')
-rw-r--r-- | yardstick/benchmark/scenarios/networking/ping6_find_host.bash | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/yardstick/benchmark/scenarios/networking/ping6_find_host.bash b/yardstick/benchmark/scenarios/networking/ping6_find_host.bash new file mode 100644 index 000000000..a1d50d418 --- /dev/null +++ b/yardstick/benchmark/scenarios/networking/ping6_find_host.bash @@ -0,0 +1,15 @@ +#!/bin/bash + +############################################################################## +# Copyright (c) 2015 Huawei Technologies Co.,Ltd and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +source /opt/admin-openrc.sh +host_num=$(neutron dhcp-agent-list-hosting-net ipv4-int-network1 | grep True | awk -F [=\ ] '{printf $4}') > /tmp/ipv6.log +scp vRouterKey $host_num:~ +echo $host_num
\ No newline at end of file |