openstack-ansible-os_swift/tests/host_vars/swift-storageA2.yml
Andy McCrae df4d7ec575 Simplify networking for MR swift
We're already testing dedicated replication networks in the base swift
build, lets reduce build time and simplify the networking for the Multi
Region swift build.

Additionally, the infra host needs to be able to route back to the other
hosts in the Multi-Region solution, as it is now the single Infra Host.

Change-Id: If6fd211cd95c4f068293cceda1768b8dba08ab97
2016-09-24 11:36:39 +01:00

38 lines
1.1 KiB
YAML

---
# Copyright 2016, 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.
ansible_host: 10.1.1.104
storage_address: 10.1.2.104
replication_address: 10.1.2.104
container_networks:
management_address:
address: "{{ ansible_host }}"
bridge: "br-mgmtA"
interface: "eth1"
netmask: "255.255.255.0"
type: "veth"
static_routes:
- cidr: "10.1.11.0/24"
gateway: "10.1.1.1"
storage_address:
address: "{{ storage_address }}"
bridge: "br-storageA"
interface: "eth2"
netmask: "255.255.255.0"
type: "veth"
static_routes:
- cidr: "10.1.12.0/24"
gateway: "10.1.2.1"