Skip to content

Instantly share code, notes, and snippets.

@mancdaz
Last active September 21, 2015 14:27
Show Gist options
  • Save mancdaz/411fb3ce5dff74c34486 to your computer and use it in GitHub Desktop.
Save mancdaz/411fb3ce5dff74c34486 to your computer and use it in GitHub Desktop.
---
# Copyright 2014, 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 is the md5 of the environment file
# this will ensure consistency when deploying.
environment_version: 3511a43b8e4cc39af4beaaa852b5f917
# User defined CIDR used for containers
# Global cidr/s used for everything.
cidr_networks:
# Cidr used in the Management network
container: 10.241.0.0/24
# Cidr used in the Service network
#snet: 172.29.248.0/22
# Cidr used in the VM network
tunnel: 10.239.0.0/24
# Cidr used in the Storage network
storage: 172.16.0.10/24
# User defined list of consumed IP addresses that may intersect
# with the provided CIDR.
used_ips:
- 10.241.0.7,10.241.0.8,10.241.0.9,10.241.0.10,10.241.0.11
- 10.239.0.7,10.239.0.8,10.239.0.9,10.239.0.10,10.239.0.11
- 172.16.0.7,172.16.0.8,172.16.0.9,172.16.0.10,172.16.0.11
# As a user you can define anything that you may wish to "globally"
# override from within the rpc_deploy configuration file. Anything
# specified here will take precedence over anything else any where.
global_overrides:
# Internal Management vip address
internal_lb_vip_address: 192.168.100.7
# External DMZ VIP address
external_lb_vip_address: 192.168.100.7
# Bridged interface to use with tunnel type networks
tunnel_bridge: "br-vxlan"
# Bridged interface to build containers with
management_bridge: "br-mgmt"
# Define your Add on container networks.
# group_binds: bind a provided network to a particular group
# container_bridge: instructs inventory where a bridge is plugged
# into on the host side of a veth pair
# container_interface: interface name within a container
# ip_from_q: name of a cidr to pull an IP address from
# type: Networks must have a type. types are: ["raw", "vxlan", "flat", "vlan"]
# range: Optional value used in "vxlan" and "vlan" type networks
# net_name: Optional value used in mapping network names used in neutron ml2
# You must have a management network.
provider_networks:
- network:
group_binds:
- all_containers
- hosts
type: "raw"
container_bridge: "br-mgmt"
container_interface: "eth1"
ip_from_q: "container"
- network:
group_binds:
- glance_api
- cinder_api
- cinder_volume
- nova_compute
- swift_proxy
type: "raw"
container_bridge: "br-storage"
container_interface: "eth2"
ip_from_q: "storage"
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vxlan"
container_interface: "eth10"
ip_from_q: "tunnel"
type: "vxlan"
range: "1:1000"
net_name: "vxlan"
# Name of load balancer
lb_name: 533812-node16.ukospoc.com
# User defined Storage Hosts, this should be a required group
storage_hosts:
533816-node20:
ip: 192.168.100.10
# "container_vars" can be set outside of all other options as
# host specific optional variables.
container_vars:
# In this example we are defining what cinder volumes are
# on a given host.
cinder_backends:
# if the "limit_container_types" argument is set, within
# the top level key of the provided option the inventory
# process will perform a string match on the container name with
# the value found within the "limit_container_types" argument.
# If any part of the string found within the container
# name the options are appended as host_vars inside of inventory.
limit_container_types: cinder_volume
lvm:
volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
volume_group: cinder-volumes
volume_backend_name: LVM_iSCSI
shared-infra_hosts:
533812-node16:
ip: 192.168.100.7
533813-node17:
ip: 192.168.100.8
533814-node18:
ip: 192.168.100.11
repo-infra_hosts:
533812-node16:
ip: 192.168.100.7
533813-node17:
ip: 192.168.100.8
533814-node18:
ip: 192.168.100.11
os-infra_hosts:
533812-node16:
ip: 192.168.100.7
533813-node17:
ip: 192.168.100.8
533814-node18:
ip: 192.168.100.11
identity_hosts:
533812-node16:
ip: 192.168.100.7
533813-node17:
ip: 192.168.100.8
533814-node18:
ip: 192.168.100.11
network_hosts:
533812-node16:
ip: 192.168.100.7
533813-node17:
ip: 192.168.100.8
533814-node18:
ip: 192.168.100.11
storage_infra_hosts:
533812-node16:
ip: 192.168.100.7
533813-node17:
ip: 192.168.100.8
533814-node18:
ip: 192.168.100.11
compute_hosts:
533815-node19:
ip: 192.168.100.9
haproxy_hosts:
533812-node16:
ip: 192.168.100.7
log_hosts:
533812-node16:
ip: 192.168.100.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment