
This commit updates os_nova to use tempest for functional testing of nova. For this to work on openstack-infra instances we have to drop all existing iptables rules using iptables-clear.sh. This commit also updates the netmask used across containers as we currently have a mix of /22 and /24. Note that I couldn't get the vxlan traffic to work over 10.100.100.0/22, so I created br-vxlan and wired separate container interfaces into that. Change-Id: I33378e6275b70152d45357ac1ceb200ea4d5daf0
27 lines
784 B
Bash
Executable File
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
|