Advertisement
arkanmgerges

Untitled

Jun 1st, 2020
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.51 KB | None | 0 0
  1. ---
  2.  
  3. cidr_networks: &cidr_networks
  4.   container: 172.29.236.0/22
  5.   tunnel: 172.29.240.0/22
  6.   storage: 172.29.244.0/22
  7.  
  8. used_ips:
  9.   - 172.29.236.1
  10.   - 172.29.236.2
  11.   - 172.29.236.10
  12.   - 172.29.236.15
  13.   - 172.29.236.20
  14.   - 172.29.236.25
  15.   - 172.29.236.30
  16.   - 172.29.236.35
  17.   - 172.29.236.40
  18.   - 172.29.236.210
  19.   - 172.29.236.211
  20.   - 172.29.240.10
  21.   - 172.29.240.15
  22.   - 172.29.240.20
  23.   - 172.29.240.25
  24.   - 172.29.240.30
  25.   - 172.29.240.35
  26.   - 172.29.240.40
  27.   - 172.29.244.10
  28.   - 172.29.244.15
  29.   - 172.29.244.20
  30.   - 172.29.244.25
  31.   - 172.29.244.30
  32.   - 172.29.244.35
  33.   - 172.29.244.40
  34.   - 192.168.50.1
  35.   - 192.168.50.10
  36.   - 192.168.50.15
  37.   - 192.168.50.210
  38.   - 192.168.50.211
  39.  
  40. global_overrides:
  41.   cidr_networks: *cidr_networks
  42.   internal_lb_vip_address: 172.29.236.210
  43.   external_lb_vip_address: 192.168.50.210
  44.   management_bridge: "br-mgmt"
  45.   provider_networks:
  46.     - network:
  47.         group_binds:
  48.           - all_containers
  49.           - hosts
  50.         type: "raw"
  51.         container_bridge: "br-mgmt"
  52.         container_interface: "eth1"
  53.         container_type: "veth"
  54.         ip_from_q: "container"
  55.         is_container_address: true
  56.     - network:
  57.         group_binds:
  58.           - glance_api
  59.           - cinder_api
  60.           - cinder_volume
  61.           - nova_compute
  62.           # - ceph-osd
  63.           # Uncomment the next line if using swift with a storage network.
  64.           # - swift_proxy
  65.         type: "raw"
  66.         container_bridge: "br-storage"
  67.         container_type: "veth"
  68.         container_interface: "eth2"
  69.         ip_from_q: "storage"
  70.     - network:
  71.         group_binds:
  72.           - neutron_linuxbridge_agent
  73.         container_bridge: "br-vxlan"
  74.         container_type: "veth"
  75.         container_interface: "eth10"
  76.         container_mtu: "9000"
  77.         ip_from_q: "tunnel"
  78.         type: "vxlan"
  79.         range: "1:1000"
  80.         net_name: "vxlan"
  81.     - network:
  82.         group_binds:
  83.           - neutron_linuxbridge_agent
  84.         container_bridge: "br-vlan"
  85.         container_type: "veth"
  86.         container_interface: "eth11"
  87.         type: "vlan"
  88.         range: "101:200,301:400"
  89.         net_name: "vlan"
  90.     - network:
  91.         group_binds:
  92.           - neutron_linuxbridge_agent
  93.         container_bridge: "br-flat"
  94.         container_type: "veth"
  95.         container_interface: "eth12"
  96.         type: "flat"
  97.         net_name: "flat"
  98.  
  99. ###
  100. ### Infrastructure
  101. ###
  102.  
  103. _infrastructure_ip1: &infrastructure_ip1
  104.   ip: 172.29.236.10
  105.  
  106. _infrastructure_hosts: &infrastructure_hosts
  107.   controller1: *infrastructure_ip1
  108.  
  109. _compute_ip1: &compute_ip1
  110.   ip: 172.29.236.15
  111.  
  112. compute_hosts: &compute_hosts
  113.   compute1: *compute_ip1
  114.  
  115. # ceph-osd_hosts: *compute_hosts
  116.  
  117. # galera, memcache, rabbitmq, utility
  118. shared-infra_hosts: *infrastructure_hosts
  119.  
  120. # ceph-mon containers
  121. # ceph-mon_hosts: *infrastructure_hosts
  122.  
  123. # ceph-radosgw
  124. # ceph-rgw_hosts: *infrastructure_hosts
  125.  
  126. # repository (apt cache, python packages, etc)
  127. repo-infra_hosts: *infrastructure_hosts
  128.  
  129. # load balancer
  130. # Ideally the load balancer should not use the Infrastructure hosts.
  131. # Dedicated hardware is best for improved performance and security.
  132. haproxy_hosts: *infrastructure_hosts
  133.  
  134. # rsyslog server
  135. log_hosts: *infrastructure_hosts
  136.  
  137. ###
  138. ### OpenStack
  139. ###
  140.  
  141. # keystone
  142. identity_hosts: *infrastructure_hosts
  143.  
  144. # cinder api services
  145. storage-infra_hosts: *infrastructure_hosts
  146.  
  147. # cinder volume hosts (Ceph RBD-backed)
  148. storage_hosts:
  149.   controller1:
  150.     ip: 172.29.236.10
  151.     container_vars:
  152.       cinder_backends:
  153.         limit_container_types: cinder_volume
  154.         rbd:
  155.           volume_group: cinder-volumes
  156.           volume_driver: cinder.volume.drivers.rbd.RBDDriver
  157.           volume_backend_name: rbd
  158.           rbd_pool: cinder-volumes
  159.           rbd_ceph_conf: /etc/ceph/ceph.conf
  160.           rbd_user: cinder
  161. # glance
  162. image_hosts: *infrastructure_hosts
  163.  
  164. # placement
  165. placement-infra_hosts: *infrastructure_hosts
  166.  
  167. # nova api, conductor, etc services
  168. compute-infra_hosts: *infrastructure_hosts
  169.  
  170. # heat
  171. orchestration_hosts: *infrastructure_hosts
  172.  
  173. # horizon
  174. dashboard_hosts: *infrastructure_hosts
  175.  
  176. # neutron server, agents (L3, etc)
  177. network_hosts: *infrastructure_hosts
  178.  
  179. # ceilometer (telemetry data collection)
  180. metering-infra_hosts: *infrastructure_hosts
  181.  
  182. # aodh (telemetry alarm service)
  183. metering-alarm_hosts: *infrastructure_hosts
  184.  
  185. # gnocchi (telemetry metrics storage)
  186. metrics_hosts: *infrastructure_hosts
  187.  
  188. # ceilometer compute agent (telemetry data collection)
  189. metering-compute_hosts: *compute_hosts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement