Advertisement
Guest User

openstack_user_config.yml

a guest
Feb 15th, 2018
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.82 KB | None | 0 0
  1. cidr_networks:
  2.    container: 172.26.15.0/24
  3.    tunnel: 10.255.100.0/27
  4.    storage: 172.26.15.0/24
  5.    flat: 10.255.140.0/26
  6. used_ips:
  7.   - 172.26.15.9
  8.    - 172.26.15.10
  9.    - 172.26.15.11
  10.    - 172.26.15.12
  11.    - 172.26.15.33
  12.    - 172.26.15.34
  13.    - 172.26.15.35
  14.    - 172.26.15.41
  15.    - 172.26.15.42
  16.    - 172.26.15.43
  17.    - 172.26.15.254
  18.    - 10.255.100.1,10.255.100.2,10.255.100.3
  19. global_overrides:
  20.     internal_lb_vip_address: 172.26.15.36
  21.     external_lb_vip_address: 172.26.15.37
  22.     tunnel_bridge: "br-vxlan"
  23.     management_bridge: "br-mgmt"
  24.     provider_networks:
  25.       - network:
  26.           container_bridge: "br-mgmt"
  27.           container_type: "veth"
  28.           container_interface: "eth0"
  29.           host_bind_override: "bond0"
  30.           ip_from_q: "container"
  31.           type: "raw"
  32.           group_binds:
  33.            - all_containers
  34.             - hosts
  35.             - glance_api
  36.             - cinder_api
  37.             - cinder_volume
  38.             - nova_compute
  39.           is_container_address: true
  40.           is_ssh_address: true
  41.       - network:
  42.           container_bridge: "br-vxlan"
  43.           container_type: "veth"
  44.           container_interface: "eth1"
  45.           host_bind_override: "bond1"
  46.           ip_from_q: "tunnel"
  47.           type: "vxlan"
  48.           range: "1:1000"
  49.           net_name: "vxlan"
  50.           group_binds:
  51.            - neutron_linuxbridge_agent
  52.       - network:
  53.           container_bridge: "br-vlan"
  54.           container_type: "veth"
  55.           container_interface: "eth2"
  56.           host_bind_override: "bond2"
  57.           type: "flat"
  58.           net_name: "flat"
  59.           group_binds:
  60.            - neutron_linuxbridge_agent
  61. # galera, memcache, rabbitmq, utility
  62. shared-infra_hosts:
  63.   openstack-1:
  64.     ip: 172.26.15.33
  65.   openstack-2:
  66.     ip: 172.26.15.34
  67.   openstack-3:
  68.     ip: 172.26.15.35
  69. # repository (apt cache, python packages, etc)
  70. repo-infra_hosts:
  71.   openstack-1:
  72.     ip: 172.26.15.33
  73.   openstack-2:
  74.     ip: 172.26.15.34
  75.   openstack-3:
  76.     ip: 172.26.15.35
  77. # load balancer
  78. haproxy_hosts:
  79.   openstack-1:
  80.     ip: 172.26.15.33
  81.   openstack-2:
  82.     ip: 172.26.15.34
  83.   openstack-3:
  84.     ip: 172.26.15.35
  85. # keystone
  86. identity_hosts:
  87.   openstack-1:
  88.     ip: 172.26.15.33
  89.   openstack-2:
  90.     ip: 172.26.15.34
  91.   openstack-3:
  92.     ip: 172.26.15.35
  93. # cinder api services
  94. storage-infra_hosts:
  95.   openstack-1:
  96.     ip: 172.26.15.33
  97.   openstack-2:
  98.     ip: 172.26.15.34
  99.   openstack-3:
  100.     ip: 172.26.15.35
  101. # glance
  102. image_hosts:
  103.   openstack-1:
  104.     ip: 172.26.15.33
  105.     container_vars:
  106.     limit_container_types: glance
  107.     glance_nfs_client:
  108.       - server: "172.26.15.33"
  109.         remote_path: "/images"
  110.         local_path: "/var/lib/glance/images"
  111.         type: "nfs"
  112.         options: "_netdev,auto"
  113. # nova api, conductor, etc services
  114. compute-infra_hosts:
  115.   openstack-1:
  116.     ip: 172.26.15.33
  117.   openstack-2:
  118.     ip: 172.26.15.34
  119.   openstack-3:
  120.     ip: 172.26.15.35
  121. # heat
  122. orchestration_hosts:
  123.   openstack-1:
  124.     ip: 172.26.15.33
  125.   openstack-2:
  126.     ip: 172.26.15.34
  127.   openstack-3:
  128.     ip: 172.26.15.35
  129. # horizon
  130. dashboard_hosts:
  131.   openstack-1:
  132.     ip: 172.26.15.33
  133.   openstack-2:
  134.     ip: 172.26.15.34
  135.   openstack-3:
  136.     ip: 172.26.15.35
  137. # neutron server, agents (L3, etc)
  138. network_hosts:
  139.   openstack-1:
  140.     ip: 172.26.15.33
  141.   openstack-2:
  142.     ip: 172.26.15.34
  143.   openstack-3:
  144.     ip: 172.26.15.35
  145. # nova hypervisors
  146. compute_hosts:
  147.   openstack-1:
  148.     ip: 172.26.15.33
  149.   openstack-2:
  150.     ip: 172.26.15.34
  151.   openstack-3:
  152.     ip: 172.26.15.35
  153. # cinder storage host (LVM-backend)
  154. storage_hosts:
  155.   openstack-1:
  156.     ip: 172.26.15.33
  157.     container_vars:
  158.       cinder_storage_availability_zone: cinderAZ_1
  159.       cinder_default_availability_zone: cinderAZ_1
  160.       cinder_backends:
  161.         limit_container_types: cinder_volume
  162.       lvm:
  163.         volume_backend_name: LVM_iSCSI
  164.         volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
  165.         volume_group: cinder-volumes
  166.       limit_container_types: cinder_volume
  167.   openstack-2:
  168.     ip: 172.26.15.34
  169.     container_vars:
  170.       cinder_storage_availability_zone: cinderAZ_1
  171.       cinder_default_availability_zone: cinderAZ_1
  172.       cinder_backends:
  173.         limit_container_types: cinder_volume
  174.       lvm:
  175.         volume_backend_name: LVM_iSCSI
  176.         volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
  177.         volume_group: cinder-volumes
  178.       limit_container_types: cinder_volume
  179.   openstack-3:
  180.     ip: 172.26.15.35
  181.     container_vars:
  182.       cinder_storage_availability_zone: cinderAZ_1
  183.       cinder_default_availability_zone: cinderAZ_1
  184.       cinder_backends:
  185.         limit_container_types: cinder_volume
  186.       lvm:
  187.         volume_backend_name: LVM_iSCSI
  188.         volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
  189.         volume_group: cinder-volumes
  190.       limit_container_types: cinder_volume
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement