Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save antonym/f43a967fac0f1c2bcf00f976295cba0f to your computer and use it in GitHub Desktop.
Save antonym/f43a967fac0f1c2bcf00f976295cba0f to your computer and use it in GitHub Desktop.
openstack_user_config.yml for openstack-ansible blog
---
# container networks, safe to leave these as defaults
cidr_networks:
container: 172.29.236.0/22
tunnel: 172.29.240.0/22
storage: 172.29.244.0/22
# IPs from your tunnel and container networks that you want to reserve for the hosts
used_ips:
- 172.29.236.1
- "172.29.236.10,172.29.236.11,172.29.236.12,172.29.236.13"
- "172.29.240.10,172.29.240.11,172.29.240.12,172.29.240.13"
global_overrides:
internal_lb_vip_address: 172.29.236.100
# your external VIP you want to use for HAPROXY
external_lb_vip_address: 10.127.5.109
management_bridge: "br-mgmt"
tunnel_bridge: "br-vxlan"
provider_networks:
# container network
- network:
group_binds:
- all_containers
- hosts
type: "raw"
container_bridge: "br-mgmt"
container_interface: "eth1"
container_type: "veth"
ip_from_q: "container"
is_container_address: true
is_ssh_address: true
# vxlan network
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vxlan"
container_type: "veth"
container_interface: "eth10"
ip_from_q: "tunnel"
type: "vxlan"
range: "1:1000"
net_name: "vxlan"
# flat network
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth12"
host_bind_override: "bond1"
type: "flat"
net_name: "flat"
# vlan network
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth11"
type: "vlan"
range: "1:1000"
net_name: "vlan"
shared-infra_hosts:
node1:
ip: 10.127.5.111
node2:
ip: 10.127.5.112
node3:
ip: 10.127.5.113
repo-infra_hosts:
node1:
ip: 10.127.5.111
node2:
ip: 10.127.5.112
node3:
ip: 10.127.5.113
os-infra_hosts:
node1:
ip: 10.127.5.111
node2:
ip: 10.127.5.112
node3:
ip: 10.127.5.113
identity_hosts:
node1:
ip: 10.127.5.111
node2:
ip: 10.127.5.112
node3:
ip: 10.127.5.113
network_hosts:
node1:
ip: 10.127.5.111
node2:
ip: 10.127.5.112
node3:
ip: 10.127.5.113
compute_hosts:
node1:
ip: 10.127.5.111
node2:
ip: 10.127.5.112
node3:
ip: 10.127.5.113
storage-infra_hosts:
node1:
ip: 10.127.5.111
node2:
ip: 10.127.5.112
node3:
ip: 10.127.5.113
storage_hosts:
node3:
ip: 10.127.5.113
log_hosts:
node3:
ip: 10.127.5.113
haproxy_hosts:
node1:
ip: 10.127.5.111
node2:
ip: 10.127.5.112
node3:
ip: 10.127.5.113
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment