Advertisement
Guest User

Untitled

a guest
Jan 9th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.83 KB | None | 0 0
  1. ---
  2. cidr_networks: &cidr_networks
  3. container: 10.0.100.0/24
  4. tunnel: 10.0.102.0/24
  5. storage: 10.0.101.0/24
  6.  
  7. used_ips:
  8. - 10.0.100.1
  9. - 10.0.100.100
  10. - 10.0.103.1
  11. - 10.0.116.1
  12.  
  13. global_overrides:
  14. cidr_networks: *cidr_networks
  15. internal_lb_vip_address: 10.0.100.9
  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: openstackpoc.cgm.ag
  23. tunnel_bridge: "br-vxlan"
  24. management_bridge: "br-mgmt"
  25. provider_networks:
  26. - network:
  27. container_bridge: "br-mgmt"
  28. container_type: "veth"
  29. container_interface: "eth1"
  30. ip_from_q: "container"
  31. type: "raw"
  32. group_binds:
  33. - all_containers
  34. - hosts
  35. is_container_address: true
  36. is_ssh_address: true
  37. - network:
  38. container_bridge: "br-vxlan"
  39. container_type: "veth"
  40. container_interface: "eth10"
  41. ip_from_q: "tunnel"
  42. type: "vxlan"
  43. range: "1:1000"
  44. net_name: "vxlan"
  45. group_binds:
  46. - neutron_linuxbridge_agent
  47. - network:
  48. container_bridge: "br-vlan"
  49. container_type: "veth"
  50. container_interface: "eth12"
  51. host_bind_override: "eth12"
  52. type: "flat"
  53. net_name: "flat"
  54. group_binds:
  55. - neutron_linuxbridge_agent
  56. - network:
  57. container_bridge: "br-vlan"
  58. container_type: "veth"
  59. container_interface: "eth11"
  60. type: "vlan"
  61. range: "1:1"
  62. net_name: "vlan"
  63. group_binds:
  64. - neutron_linuxbridge_agent
  65. - network:
  66. container_bridge: "br-storage"
  67. container_type: "veth"
  68. container_interface: "eth2"
  69. ip_from_q: "storage"
  70. type: "raw"
  71. group_binds:
  72. - glance_api
  73. - cinder_api
  74. - cinder_volume
  75. - nova_compute
  76. - ceph-osd
  77.  
  78. ###
  79. ### Infrastructure
  80. ###
  81.  
  82. _infrastructure_hosts: &infrastructure_hosts
  83. infra1:
  84. ip: 10.0.100.101
  85. infra2:
  86. ip: 10.0.100.102
  87. infra3:
  88. ip: 10.0.100.103
  89.  
  90. # nova hypervisors
  91. compute_hosts: &compute_hosts
  92. compute1:
  93. ip: 10.0.100.151
  94. compute2:
  95. ip: 10.0.100.152
  96.  
  97. ceph-osd_hosts:
  98. osd1:
  99. ip: 10.0.100.201
  100. osd2:
  101. ip: 10.0.100.202
  102. osd3:
  103. ip: 10.0.100.203
  104.  
  105. # galera, memcache, rabbitmq, utility
  106. shared-infra_hosts: *infrastructure_hosts
  107.  
  108. # ceph-mon containers
  109. ceph-mon_hosts: *infrastructure_hosts
  110.  
  111. # repository (apt cache, python packages, etc)
  112. repo-infra_hosts: *infrastructure_hosts
  113.  
  114. # load balancer
  115. # Ideally the load balancer should not use the Infrastructure hosts.
  116. # Dedicated hardware is best for improved performance and security.
  117. haproxy_hosts: *infrastructure_hosts
  118.  
  119. # rsyslog server
  120. log_hosts:
  121. log1:
  122. ip: 10.0.100.99
  123.  
  124. ###
  125. ### OpenStack
  126. ###
  127.  
  128. # keystone
  129. identity_hosts: *infrastructure_hosts
  130.  
  131. # cinder api services
  132. storage-infra_hosts: *infrastructure_hosts
  133.  
  134. # cinder volume hosts (Ceph RBD-backed)
  135. storage_hosts: *infrastructure_hosts
  136.  
  137. # glance
  138. image_hosts: *infrastructure_hosts
  139.  
  140. # nova api, conductor, etc services
  141. compute-infra_hosts: *infrastructure_hosts
  142.  
  143. # heat
  144. orchestration_hosts: *infrastructure_hosts
  145.  
  146. # horizon
  147. dashboard_hosts: *infrastructure_hosts
  148.  
  149. # neutron server, agents (L3, etc)
  150. network_hosts: *infrastructure_hosts
  151.  
  152. # ceilometer (telemetry data collection)
  153. metering-infra_hosts: *infrastructure_hosts
  154.  
  155. # aodh (telemetry alarm service)
  156. metering-alarm_hosts: *infrastructure_hosts
  157.  
  158. # gnocchi (telemetry metrics storage)
  159. metrics_hosts: *infrastructure_hosts
  160.  
  161. # ceilometer compute agent (telemetry data collection)
  162. metering-compute_hosts: *compute_hosts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement