Skip to content

Instantly share code, notes, and snippets.

@evrardjp
Forked from v1k0d3n/openstack_user_config.yml
Created June 10, 2016 17:15
Show Gist options
  • Save evrardjp/affbb9681760709b2a35529a577f5eaf to your computer and use it in GitHub Desktop.
Save evrardjp/affbb9681760709b2a35529a577f5eaf to your computer and use it in GitHub Desktop.
---
cidr_networks:
container: 10.2.31.0/24 # 172.29.236.0/22
tunnel: 172.22.1.0/24 # 172.29.240.0/22
storage: 172.20.98.0/24 # 172.29.244.0/22
used_ips:
- "172.20.98.1,172.20.98.149"
- "172.20.98.240,172.20.98.254"
- "10.2.31.1,10.2.31.149"
- "10.2.31.240,10.2.31.254"
- "10.2.32.1,10.2.32.149"
- "10.2.32.240,10.2.32.254"
- "172.22.1.1,172.22.1.149"
- "172.22.1.240,172.22.1.254"
- "10.2.1.1,10.2.1.254"
global_overrides:
internal_lb_vip_address: 10.2.31.5
external_lb_vip_address: 10.2.32.5
management_bridge: "br-mgmt"
tunnel_bridge: "br-vxlan"
provider_networks:
- network:
type: "raw"
container_bridge: "br-mgmt"
container_interface: "eth1"
container_type: "veth"
ip_from_q: "container"
is_container_address: true
is_ssh_address: true
group_binds:
- all_containers
- hosts
- network:
group_binds:
- glance_api
- cinder_api
- cinder_volume
- nova_compute
# Uncomment the next line if using swift with a storage network.
- swift_proxy
type: "raw"
container_bridge: "br-storage"
container_type: "veth"
container_interface: "eth2"
container_mtu: "9000"
ip_from_q: "storage"
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vxlan"
container_type: "veth"
container_interface: "eth10"
container_mtu: "9000"
ip_from_q: "tunnel"
type: "vxlan"
range: "50000:59999" # "1:1000"
net_name: "vxlan"
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth11"
type: "vlan"
range: "2200-2202,2204:2299" # "101:200,301:400"
net_name: "vlan"
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth12"
host_bind_override: "vworks-float01" # "bond1.2203" # "eth12"
type: "flat"
net_name: "flat"
shared-infra_hosts:
vwoc02:
ip: 10.2.31.9 # 172.29.236.101
vwoc03:
ip: 10.2.31.10 # 172.29.236.102
vwoc04:
ip: 10.2.31.11 # 172.29.236.103
repo-infra_hosts:
vwoc02:
ip: 10.2.31.9 # 172.29.236.101
vwoc03:
ip: 10.2.31.10 # 172.29.236.102
vwoc04:
ip: 10.2.31.11 # 172.29.236.103
os-infra_hosts:
vwoc02:
ip: 10.2.31.9 # 172.29.236.101
vwoc03:
ip: 10.2.31.10 # 172.29.236.102
vwoc04:
ip: 10.2.31.11 # 172.29.236.103
identity_hosts:
vwoc02:
ip: 10.2.31.9 # 172.29.236.101
vwoc03:
ip: 10.2.31.10 # 172.29.236.102
vwoc04:
ip: 10.2.31.11 # 172.29.236.103
network_hosts:
vwoc02:
ip: 10.2.31.9 # 172.29.236.101
vwoc03:
ip: 10.2.31.10 # 172.29.236.102
vwoc04:
ip: 10.2.31.11 # 172.29.236.103
compute_hosts:
vwcn02:
ip: 10.2.31.33
vwcn03:
ip: 10.2.31.34
vwcn04:
ip: 10.2.31.35
storage-infra_hosts:
vwoc02:
ip: 10.2.31.9 # 172.29.236.101
vwoc03:
ip: 10.2.31.10 # 172.29.236.102
vwoc04:
ip: 10.2.31.11 # 172.29.236.103
storage_hosts:
vwcn02:
ip: 10.2.31.33
container_vars:
cinder_storage_availability_zone: cinderAZ_1
cinder_default_availability_zone: cinderAZ_1
cinder_backends:
lvm:
volume_backend_name: LVM_iSCSI
volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
volume_group: cinder-volumes
iscsi_ip_address: "{{ storage_address }}"
limit_container_types: cinder_volume
vwcn03:
ip: 10.2.31.34
container_vars:
cinder_storage_availability_zone: cinderAZ_1
cinder_default_availability_zone: cinderAZ_1
cinder_backends:
lvm:
volume_backend_name: LVM_iSCSI
volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
volume_group: cinder-volumes
iscsi_ip_address: "{{ storage_address }}"
limit_container_types: cinder_volume
vwcn04:
ip: 10.2.31.35
container_vars:
cinder_storage_availability_zone: cinderAZ_1
cinder_default_availability_zone: cinderAZ_1
cinder_backends:
lvm:
volume_backend_name: LVM_iSCSI
volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
volume_group: cinder-volumes
iscsi_ip_address: "{{ storage_address }}"
limit_container_types: cinder_volume
log_hosts:
vwls01:
ip: 10.2.31.248
haproxy_hosts:
vwoc02:
ip: 10.2.31.9 # 172.29.236.101
vwoc03:
ip: 10.2.31.10 # 172.29.236.102
vwoc04:
ip: 10.2.31.11 # 172.29.236.103
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment