Files
openstack-ansible-os_tempest/tests/iptables-clear.sh
Michael Gugino e94e30da0a Add additional test coverage
Currenlty, a large chunk of the playbook logic
used to deploy and configure tempest is not covered
in this role's testing.

This patch copies os_nova's testing environment
settings to deploy additional services.

Change-Id: Ide4764609488b157a1540d1f8828d067faeafdb8
2016-08-04 01:39:15 +00:00

27 lines
784 B
Bash
Executable File

#!/bin/bash
#
# Copyright 2015, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT