diff options
Diffstat (limited to 'yardstick/benchmark/scenarios/networking/ping6_post_teardown.bash')
-rw-r--r-- | yardstick/benchmark/scenarios/networking/ping6_post_teardown.bash | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/yardstick/benchmark/scenarios/networking/ping6_post_teardown.bash b/yardstick/benchmark/scenarios/networking/ping6_post_teardown.bash new file mode 100644 index 000000000..f40d47d64 --- /dev/null +++ b/yardstick/benchmark/scenarios/networking/ping6_post_teardown.bash @@ -0,0 +1,26 @@ +#!/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= False/enable_security_group = True/g' /etc/neutron/plugins/ml2/ml2_conf.ini +sed -i 3d /etc/neutron/plugins/ml2/ml2_conf.ini +sed -i 's/firewall_driver= neutron.agent.firewall.NoopFirewallDriver/firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver/g' /etc/neutron/plugins/ml2/ml2_conf.ini +sed -i 's/security_group_api= nova/security_group_api = neutron/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
\ No newline at end of file |