Advertisement
Guest User

Untitled

a guest
Apr 7th, 2019
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.42 KB | None | 0 0
  1. ---
  2. cidr_networks: &cidr_networks
  3.   container: 172.29.236.0/22
  4.   tunnel: 172.29.240.0/22
  5.   storage: 172.29.244.0/22
  6.  
  7. used_ips:
  8.  - "172.29.236.1,172.29.236.50"
  9.   - "172.29.240.1,172.29.240.50"
  10.   - "172.29.244.1,172.29.244.50"
  11.   - "172.29.248.1,172.29.248.50"
  12.  
  13. global_overrides:
  14.   cidr_networks: *cidr_networks
  15.   internal_lb_vip_address: 172.29.236.10
  16.   #
  17.   # The below domain name must resolve to an IP address
  18.   # in the CIDR specified in haproxy_keepalived_external_vip_cidr.
  19.   # If using different protocols (https/http) for the public/internal
  20.   # endpoints the two addresses must be different.
  21.   #
  22.   external_lb_vip_address: 192.168.122.10
  23.   management_bridge: "br-mgmt"
  24.   provider_networks:
  25.     - network:
  26.         container_bridge: "br-mgmt"
  27.         container_type: "veth"
  28.         container_interface: "eth1"
  29.         ip_from_q: "container"
  30.         type: "raw"
  31.         group_binds:
  32.          - all_containers
  33.           - hosts
  34.         is_container_address: true
  35.     - network:
  36.         container_bridge: "br-vxlan"
  37.         container_type: "veth"
  38.         container_interface: "eth10"
  39.         ip_from_q: "tunnel"
  40.         type: "vxlan"
  41.         range: "1:1000"
  42.         net_name: "vxlan"
  43.         group_binds:
  44.          - neutron_linuxbridge_agent
  45.     - network:
  46.         container_bridge: "br-vlan"
  47.         container_type: "veth"
  48.         container_interface: "eth12"
  49.         host_bind_override: "eth12"
  50.         type: "flat"
  51.         net_name: "flat"
  52.         group_binds:
  53.          - neutron_linuxbridge_agent
  54.     - network:
  55.         container_bridge: "br-vlan"
  56.         container_type: "veth"
  57.         container_interface: "eth11"
  58.         type: "vlan"
  59.         range: "101:200,301:400"
  60.         net_name: "vlan"
  61.         group_binds:
  62.          - neutron_linuxbridge_agent
  63.     - network:
  64.         container_bridge: "br-storage"
  65.         container_type: "veth"
  66.         container_interface: "eth2"
  67.         ip_from_q: "storage"
  68.         type: "raw"
  69.         group_binds:
  70.          - glance_api
  71.           - cinder_api
  72.           - cinder_volume
  73.           - nova_compute
  74.           - ceph-osd
  75.  
  76. ###
  77. ### Infrastructure
  78. ###
  79.  
  80. _infrastructure_hosts: &infrastructure_hosts
  81.   infra1:
  82.     ip: 172.29.236.11
  83.     container_vars:
  84.       container_tech: nspawn
  85.   infra2:
  86.     ip: 172.29.236.12
  87.     container_vars:
  88.       container_tech: nspawn
  89.   infra3:
  90.     ip: 172.29.236.13
  91.     container_vars:
  92.       container_tech: nspawn
  93.  
  94. # nova hypervisors
  95. compute_hosts: &compute_hosts
  96.   compute1:
  97.     ip: 172.29.236.31
  98.     container_vars:
  99.       container_tech: nspawn
  100.   compute2:
  101.     ip: 172.29.236.32
  102.     container_vars:
  103.       container_tech: nspawn
  104.   compute3:
  105.     ip: 172.29.236.33
  106.     container_vars:
  107.       container_tech: nspawn
  108.  
  109. ceph-osd_hosts:
  110.   osd1:
  111.     ip: 172.29.236.21
  112.     container_vars:
  113.       container_tech: nspawn
  114.   osd2:
  115.     ip: 172.29.236.22
  116.     container_vars:
  117.       container_tech: nspawn
  118.   osd3:
  119.     ip: 172.29.236.23
  120.     container_vars:
  121.       container_tech: nspawn
  122.  
  123. # galera, memcache, rabbitmq, utility
  124. shared-infra_hosts: *infrastructure_hosts
  125.  
  126. # ceph-mon containers
  127. ceph-mon_hosts: *infrastructure_hosts
  128.  
  129. # repository (apt cache, python packages, etc)
  130. repo-infra_hosts: *infrastructure_hosts
  131.  
  132. # load balancer
  133. # Ideally the load balancer should not use the Infrastructure hosts.
  134. # Dedicated hardware is best for improved performance and security.
  135. haproxy_hosts: *infrastructure_hosts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement