Skip to content

Instantly share code, notes, and snippets.

@a1git
Created February 17, 2017 11:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a1git/45ce18f0cfcca4e20d25c97e1a9f5097 to your computer and use it in GitHub Desktop.
Save a1git/45ce18f0cfcca4e20d25c97e1a9f5097 to your computer and use it in GitHub Desktop.
---
cidr_networks:
container: 172.20.236.0/22
tunnel: 172.20.240.0/22
storage: 172.20.244.0/22
used_ips:
- "172.20.236.1,172.20.236.50"
- "172.20.240.1,172.20.240.50"
- "172.20.244.1,172.20.244.50"
- "172.20.248.1,172.20.248.50"
global_overrides:
internal_lb_vip_address: 172.20.236.9
external_lb_vip_address: dev.cloudvpsnl.com
tunnel_bridge: "br-vxlan"
management_bridge: "br-mgmt"
provider_networks:
- network:
container_bridge: "br-mgmt"
container_type: "veth"
container_interface: "eth1"
ip_from_q: "container"
type: "raw"
group_binds:
- all_containers
- hosts
is_container_address: true
is_ssh_address: true
- network:
container_bridge: "br-vxlan"
container_type: "veth"
container_interface: "eth10"
ip_from_q: "tunnel"
type: "vxlan"
range: "1:4000"
net_name: "vxlan"
group_binds:
- neutron_linuxbridge_agent
- network:
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth12"
host_bind_override: "ens5"
type: "flat"
net_name: "flat"
group_binds:
- neutron_linuxbridge_agent
- network:
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth11"
type: "vlan"
range: "1:1"
net_name: "vlan"
group_binds:
- neutron_linuxbridge_agent
- network:
container_bridge: "br-storage"
container_type: "veth"
container_interface: "eth2"
ip_from_q: "storage"
type: "raw"
group_binds:
- glance_api
- cinder_api
- cinder_volume
- nova_compute
###
### Infrastructure
###
# galera, memcache, rabbitmq, utility
shared-infra_hosts:
api:
ip: 172.20.236.11
# repository (apt cache, python packages, etc)
repo-infra_hosts:
api:
ip: 172.20.236.11
# load balancer
haproxy_hosts:
api:
ip: 172.20.236.11
# rsyslog server
log_hosts:
log:
ip: 172.20.236.12
###
### OpenStack
###
# keystone
identity_hosts:
api:
ip: 172.20.236.11
# cinder api services
storage-infra_hosts:
api:
ip: 172.20.236.11
# glance
image_hosts:
api:
ip: 172.20.236.11
# nova api, conductor, etc services
compute-infra_hosts:
api:
ip: 172.20.236.11
# heat
orchestration_hosts:
api:
ip: 172.20.236.11
# horizon
dashboard_hosts:
api:
ip: 172.20.236.11
# neutron server, agents (L3, etc)
network_hosts:
api:
ip: 172.20.236.11
# nova hypervisors
compute_hosts:
compute:
ip: 172.20.236.14
# cinder storage host (LVM-backed)
storage_hosts:
storage:
ip: 172.20.236.13
container_vars:
cinder_backends:
limit_container_types: cinder_volume
lvm:
volume_group: cinder-volumes
volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
volume_backend_name: LVM_iSCSI
iscsi_ip_address: "172.20.244.13"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment