c73091967d
This patch adds a test scenario which deploys a squid proxy on the AIO host and uses deployment_environment_variables to direct all http and https traffic through that proxy. In order to make the test reasonably realistic eth0 is removed from all containers which means they have no default route and must retrieve all external dependencies via the proxy. As eth0 is removed we can no longer use it to NAT the traffic to the neutron public ip address range during tempest tests. Instead we add static routes to those address ranges to eth1 in the containers and expect the host to forward via br-mgmt. Depends-On: https://review.openstack.org/625312 Depends-On: https://review.openstack.org/625670 Change-Id: I554cfd149374f0863ac058f26862b5439c5d53d8
20 lines
644 B
YAML
20 lines
644 B
YAML
---
|
|
# Copyright 2018, BBC.
|
|
#
|
|
# 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.
|
|
|
|
- name: Restart squid
|
|
service:
|
|
name: squid
|
|
state: restarted
|