aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/scenarios/networking/ping6_teardown.bash
diff options
context:
space:
mode:
authorkubi <jean.gaoliang@huawei.com>2016-01-15 19:40:28 +0800
committerkubi <jean.gaoliang@huawei.com>2016-01-15 21:44:45 +0800
commit2ed0a4e85f710c24aae778634e9d48920d004f09 (patch)
tree1a2e7df61d75382374255bafa4ac611e46d359df /yardstick/benchmark/scenarios/networking/ping6_teardown.bash
parentbb82fb8c9198d6e792b8558bf6eaf4f53710c7fe (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_teardown.bash')
-rw-r--r--yardstick/benchmark/scenarios/networking/ping6_teardown.bash11
1 files changed, 4 insertions, 7 deletions
diff --git a/yardstick/benchmark/scenarios/networking/ping6_teardown.bash b/yardstick/benchmark/scenarios/networking/ping6_teardown.bash
index 7ab145523..33eff5ca7 100644
--- a/yardstick/benchmark/scenarios/networking/ping6_teardown.bash
+++ b/yardstick/benchmark/scenarios/networking/ping6_teardown.bash
@@ -8,6 +8,7 @@
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
+source /opt/admin-openrc.sh
# delete VM
nova delete VM1
nova delete VM2
@@ -35,8 +36,8 @@ neutron subnet-delete --name ipv6-int-subnet2
neutron subnet-delete --name ipv4-int-subnet2
#clear gateway
-neutron router-gateway-clear ipv4-router net04_ext
-neutron router-gateway-clear ipv6-router net04_ext
+neutron router-gateway-clear ipv4-router ext-net
+neutron router-gateway-clear ipv6-router ext-net
#delete ipv4 router interface
neutron router-interface-delete ipv4-router ipv4-int-subnet1
@@ -50,9 +51,5 @@ neutron net-delete ipv4-int-network1
neutron router-delete ipv4-router
neutron router-delete ipv6-router
-# delete ext net
-neutron subnet-delete net04_ext__subnet
-neutron net-delete net04_ext
-
# delete glance image
-glance --os-image-api-version 1 image-delete Fedora22 \ No newline at end of file
+glance --os-image-api-version 1 image-delete Fedora22