Skip to content

Instantly share code, notes, and snippets.

@odyssey4me
Last active June 30, 2016 19:03
Show Gist options
  • Save odyssey4me/09d963776f8872f2562e477c5158a3e0 to your computer and use it in GitHub Desktop.
Save odyssey4me/09d963776f8872f2562e477c5158a3e0 to your computer and use it in GitHub Desktop.
AZ-based deployment with OSA (just a sketch for now)
---
cidr_networks:
az1_container: 172.29.236.0/23
az1_tunnel: 172.29.238.0/23
az1_storage: 172.29.240.0/23
az2_container: 172.29.242.0/23
az2_tunnel: 172.29.244.0/23
az2_storage: 172.29.246.0/23
used_ips:
- "172.29.236.1,172.29.236.50"
- "172.29.238.1,172.29.238.50"
- "172.29.240.1,172.29.240.50"
- "172.29.242.1,172.29.242.50"
- "172.29.244.1,172.29.244.50"
- "172.29.244.1,172.29.244.50"
global_overrides:
internal_lb_vip_address: 172.29.236.30
# The external IP is quoted simply to ensure that the .aio file can be used as input
# dynamic inventory testing.
external_lb_vip_address: "{{ bootstrap_host_public_address | default(ansible_default_ipv4.address) }}"
tunnel_bridge: "br-vxlan"
management_bridge: "br-mgmt"
az1:
provider_networks:
- network:
container_bridge: "br-mgmt"
container_type: "veth"
container_interface: "eth1"
ip_from_q: "az1_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: "az1_tunnel"
type: "vxlan"
range: "1:1000"
net_name: "vxlan"
group_binds:
- neutron_linuxbridge_agent
- network:
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth12"
host_bind_override: "eth12"
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: "az1_storage"
type: "raw"
group_binds:
- glance_api
- cinder_api
- cinder_volume
- nova_compute
az2:
provider_networks:
- network:
container_bridge: "br-mgmt"
container_type: "veth"
container_interface: "eth1"
ip_from_q: "az2_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: "az2_tunnel"
type: "vxlan"
range: "1:1000"
net_name: "vxlan"
group_binds:
- neutron_linuxbridge_agent
- network:
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth12"
host_bind_override: "eth12"
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: "az2_storage"
type: "raw"
group_binds:
- glance_api
- cinder_api
- cinder_volume
- nova_compute
shared-infra_hosts:
ctl1-1:
ip: 172.29.236.40
ctl2-1:
ip: 172.29.242.40
os-infra_hosts:
ctl1-1:
ip: 172.29.236.40
ctl2-1:
ip: 172.29.242.40
storage-infra_hosts:
ctl1-1:
ip: 172.29.236.40
ctl2-1:
ip: 172.29.242.40
repo-infra_hosts:
ctl1-1:
ip: 172.29.236.40
ctl2-1:
ip: 172.29.242.40
identity_hosts:
ctl1-1:
ip: 172.29.236.40
ctl2-1:
ip: 172.29.242.40
compute_hosts:
cmp1-1:
ip: 172.29.236.45
cmp2-1:
ip: 172.29.242.45
storage_hosts:
ctl1-1:
ip: 172.29.236.40
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.29.236.40"
ctl2-1:
ip: 172.29.242.40
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.29.242.40"
network_hosts:
ctl1-1:
ip: 172.29.236.40
ctl2-1:
ip: 172.29.242.40
log_hosts:
log1:
ip: 172.29.236.30
haproxy_hosts:
haproxy1:
ip: 172.29.236.31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment