From b111866af4a311ef965443499bf46505f2c2a22a Mon Sep 17 00:00:00 2001 From: kubi Date: Fri, 15 Jan 2016 19:40:28 +0800 Subject: fix some bug in ipv6 to make it run in ci JIRA:YARDSTICK-187 Change-Id: Ia15d17afdef145f7b230a8a4d25a61eed5cdfd76 Signed-off-by: kubi --- .../scenarios/networking/ping6_pre_setup.bash | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 yardstick/benchmark/scenarios/networking/ping6_pre_setup.bash (limited to 'yardstick/benchmark/scenarios/networking/ping6_pre_setup.bash') diff --git a/yardstick/benchmark/scenarios/networking/ping6_pre_setup.bash b/yardstick/benchmark/scenarios/networking/ping6_pre_setup.bash new file mode 100644 index 000000000..4a781d21e --- /dev/null +++ b/yardstick/benchmark/scenarios/networking/ping6_pre_setup.bash @@ -0,0 +1,28 @@ +#!/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 +############################################################################## + +sed -i 's/enable_security_group = True/enable_security_group= False/g' /etc/neutron/plugins/ml2/ml2_conf.ini +sed -i '2a extension_drivers = port_security' /etc/neutron/plugins/ml2/ml2_conf.ini +sed -i 's/firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver/firewall_driver= neutron.agent.firewall.NoopFirewallDriver/g' /etc/neutron/plugins/ml2/ml2_conf.ini +sed -i 's/security_group_api = neutron/security_group_api= nova/g' /etc/nova/nova.conf + + +service neutron-l3-agent restart +service neutron-dhcp-agent restart +service neutron-metadata-agent restart +service neutron-server restart +service nova-api restart +service nova-cert restart +service nova-conductor restart +service nova-consoleauth restart +service nova-novncproxy restart +service nova-scheduler restart +service nova-compute restart -- cgit 1.2.3-korg