diff options
author | rexlee8776 <limingjiang@huawei.com> | 2016-09-23 03:39:07 +0000 |
---|---|---|
committer | rexlee8776 <limingjiang@huawei.com> | 2016-09-28 05:12:26 +0000 |
commit | 1f389fa4e814bda23fcb650a737ef2bff13aacf8 (patch) | |
tree | d380e1e85863baac8c95b25a10363647bac4a3e4 /yardstick/benchmark/scenarios/networking/ping6_setup_with_odl.bash | |
parent | 090d493c2247ee63c9f9509191b011d2ecfa921f (diff) |
ipv6 test case to de-coupling to fuel/compass
JIRA: YARDSTICK-358
1. plan to support fuel first
2. apex/joid situation will be taken care of
in another patch
Change-Id: Ia9293a2e925d874cc6182e975f563d92fb91a2c7
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
Diffstat (limited to 'yardstick/benchmark/scenarios/networking/ping6_setup_with_odl.bash')
-rw-r--r-- | yardstick/benchmark/scenarios/networking/ping6_setup_with_odl.bash | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/yardstick/benchmark/scenarios/networking/ping6_setup_with_odl.bash b/yardstick/benchmark/scenarios/networking/ping6_setup_with_odl.bash index f9a2c4094..21566d2aa 100644 --- a/yardstick/benchmark/scenarios/networking/ping6_setup_with_odl.bash +++ b/yardstick/benchmark/scenarios/networking/ping6_setup_with_odl.bash @@ -11,7 +11,11 @@ # need to debug # download and create image -source /opt/admin-openrc.sh +openrc=$1 +external_network=$2 +echo "openrc=$openrc" +echo "external_network=$external_network" +source $openrc wget https://download.fedoraproject.org/pub/fedora/linux/releases/22/Cloud/x86_64/Images/Fedora-Cloud-Base-22-20150521.x86_64.qcow2 glance image-create --name 'Fedora22' --disk-format qcow2 \ --container-format bare --file ./Fedora-Cloud-Base-22-20150521.x86_64.qcow2 @@ -21,8 +25,8 @@ neutron router-create ipv4-router neutron router-create ipv6-router # Associate the net04_ext to the Neutron routers -neutron router-gateway-set ipv6-router ext-net -neutron router-gateway-set ipv4-router ext-net +neutron router-gateway-set ipv6-router $external_network +neutron router-gateway-set ipv4-router $external_network # create two ipv4 networks with associated subnets neutron net-create ipv4-int-network1 |