tianwei

openstack_user_config

Nov 30th, 2016
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.11 KB | None | 0 0
  1. ---
  2. 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. internal_lb_vip_address: 172.29.236.11
  15. external_lb_vip_address: openstack.example.com
  16. tunnel_bridge: "br-vxlan"
  17. management_bridge: "br-mgmt"
  18. provider_networks:
  19. - network:
  20. container_bridge: "br-mgmt"
  21. container_type: "veth"
  22. container_interface: "eth1"
  23. ip_from_q: "container"
  24. type: "raw"
  25. group_binds:
  26. - all_containers
  27. - hosts
  28. is_container_address: true
  29. is_ssh_address: true
  30. - network:
  31. container_bridge: "br-vxlan"
  32. container_type: "veth"
  33. container_interface: "eth10"
  34. ip_from_q: "tunnel"
  35. type: "vxlan"
  36. range: "1:1000"
  37. net_name: "vxlan"
  38. group_binds:
  39. - neutron_linuxbridge_agent
  40. - network:
  41. container_bridge: "br-vlan"
  42. container_type: "veth"
  43. container_interface: "eth12"
  44. host_bind_override: "eth12"
  45. type: "flat"
  46. net_name: "flat"
  47. group_binds:
  48. - neutron_linuxbridge_agent
  49. - network:
  50. container_bridge: "br-vlan"
  51. container_type: "veth"
  52. container_interface: "eth11"
  53. type: "vlan"
  54. range: "1:1"
  55. net_name: "vlan"
  56. group_binds:
  57. - neutron_linuxbridge_agent
  58. - network:
  59. container_bridge: "br-storage"
  60. container_type: "veth"
  61. container_interface: "eth2"
  62. ip_from_q: "storage"
  63. type: "raw"
  64. group_binds:
  65. - glance_api
  66. - cinder_api
  67. - cinder_volume
  68. - nova_compute
  69.  
  70. ###
  71. ### Infrastructure
  72. ###
  73.  
  74. # galera, memcache, rabbitmq, utility
  75. shared-infra_hosts:
  76. infra1:
  77. ip: 172.29.236.11
  78.  
  79. # repository (apt cache, python packages, etc)
  80. repo-infra_hosts:
  81. infra1:
  82. ip: 172.29.236.11
  83.  
  84. # load balancer
  85. haproxy_hosts:
  86. infra1:
  87. ip: 172.29.236.11
  88.  
  89. ###
  90. ### OpenStack
  91. ###
  92.  
  93. # keystone
  94. identity_hosts:
  95. infra1:
  96. ip: 172.29.236.11
  97.  
  98. # cinder api services
  99. storage-infra_hosts:
  100. infra1:
  101. ip: 172.29.236.11
  102.  
  103. # glance
  104. image_hosts:
  105. infra1:
  106. ip: 172.29.236.11
  107.  
  108. # nova api, conductor, etc services
  109. compute-infra_hosts:
  110. infra1:
  111. ip: 172.29.236.11
  112.  
  113. # heat
  114. orchestration_hosts:
  115. infra1:
  116. ip: 172.29.236.11
  117.  
  118. # horizon
  119. dashboard_hosts:
  120. infra1:
  121. ip: 172.29.236.11
  122.  
  123. # neutron server, agents (L3, etc)
  124. network_hosts:
  125. infra1:
  126. ip: 172.29.236.11
  127.  
  128. # nova hypervisors
  129. compute_hosts:
  130. compute1:
  131. ip: 172.29.236.12
  132.  
  133. # cinder storage host (LVM-backed)
  134. storage_hosts:
  135. storage1:
  136. ip: 172.29.236.13
  137. container_vars:
  138. cinder_backends:
  139. limit_container_types: cinder_volume
  140. lvm:
  141. volume_group: cinder-volumes
  142. volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
  143. volume_backend_name: LVM_iSCSI
  144. iscsi_ip_address: "172.29.244.13"
Add Comment
Please, Sign In to add comment