openstack-ansible-os_swift/tests/host_vars/swift-storage3.yml

43 lines
1.2 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.
# This host is testing the code path where the swift_vars repl_ip and storage_ip are set
swift_vars:
repl_ip: 10.1.3.105
storage_ip: 10.1.2.105
ansible_host: 10.1.1.105
container_name: swift-storage3
container_networks:
management_address:
address: "{{ ansible_host }}"
bridge: "br-mgmt"
interface: "eth1"
netmask: "255.255.255.0"
type: "veth"
storage_address:
address: "{{ swift_vars.storage_ip }}"
bridge: "br-storage"
interface: "eth2"
netmask: "255.255.255.0"
type: "veth"
replication_address:
address: "{{ swift_vars.repl_ip }}"
bridge: "br-repl"
interface: "eth3"
netmask: "255.255.255.0"
type: "veth"