Advertisement
Guest User

Untitled

a guest
Apr 19th, 2016
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.03 KB | None | 0 0
  1. ---
  2. cidr_networks:
  3.   container: 10.101.103.0/24
  4.   tunnel: 172.29.240.0/22
  5.   storage: 172.29.244.0/22
  6.  
  7. used_ips:
  8.  - "10.101.103.0-10.101.103.50"
  9.  
  10. global_overrides:
  11.   internal_lb_vip_address: 10.101.103.250
  12.   # The external IP is quoted simply to ensure that the .aio file can be used as input
  13.   # dynamic inventory testing.
  14.   external_lb_vip_address: 10.101.103.50
  15.   tunnel_bridge: "br-vxlan"
  16.   management_bridge: "br-mgmt"
  17.   provider_networks:
  18.     - network:
  19.         container_bridge: "br-mgmt"
  20.         container_type: "veth"
  21.         container_interface: "eth1"
  22.         ip_from_q: "container"
  23.         type: "raw"
  24.         group_binds:
  25.          - all_containers
  26.           - hosts
  27.         is_container_address: true
  28.         is_ssh_address: true
  29.     - network:
  30.         container_bridge: "br-vxlan"
  31.         container_type: "veth"
  32.         container_interface: "eth10"
  33.         ip_from_q: "tunnel"
  34.         type: "vxlan"
  35.         range: "1:1000"
  36.         net_name: "vxlan"
  37.         group_binds:
  38.          - neutron_linuxbridge_agent
  39.     - network:
  40.         container_bridge: "br-vlan"
  41.         container_type: "veth"
  42.         container_interface: "eth12"
  43.         host_bind_override: "eth12"
  44.         type: "flat"
  45.         net_name: "flat"
  46.         group_binds:
  47.          - neutron_linuxbridge_agent
  48.     - network:
  49.         container_bridge: "br-vlan"
  50.         container_type: "veth"
  51.         container_interface: "eth11"
  52.         type: "vlan"
  53.         range: "1:1"
  54.         net_name: "vlan"
  55.         group_binds:
  56.          - neutron_linuxbridge_agent
  57.     - network:
  58.         container_bridge: "br-storage"
  59.         container_type: "veth"
  60.         container_interface: "eth2"
  61.         ip_from_q: "storage"
  62.         type: "raw"
  63.         group_binds:
  64.          - glance_api
  65.           - cinder_api
  66.           - cinder_volume
  67.           - nova_compute
  68.           - swift_proxy
  69.  
  70. shared-infra_hosts:
  71.   controller_1:
  72.    # Rabbitmq, and galera are set to multiples to test clustering.
  73.     affinity:
  74.       galera_container: 1
  75.       rabbit_mq_container: 1
  76.     ip: 10.101.103.2
  77.   controller_2:
  78.     affinity:
  79.       galera_container: 1
  80.       rabbit_mq_container: 1
  81.     ip: 10.101.103.3
  82.   controller_3:
  83.     affinity:
  84.       galera_container: 1
  85.       rabbit_mq_container: 1
  86.     ip: 10.101.103.4
  87.  
  88. os-infra_hosts:
  89.   controller_1:
  90.    # Horizon is set to multiple to test clustering.
  91.     affinity:
  92.       horizon_container: 1
  93.     ip: 10.101.103.2
  94.   controller_2:
  95.     affinity:
  96.       horizon_container: 1
  97.     ip: 10.101.103.3
  98.   controller_3:
  99.     affinity:
  100.       horizon_container: 1
  101.     ip: 10.101.103.4
  102.  
  103. storage-infra_hosts:
  104.   controller_1:
  105.     ip: 10.101.103.2
  106.   controller_2:
  107.     ip: 10.101.103.3
  108.   controller_3:
  109.     ip: 10.101.103.4
  110.  
  111. repo-infra_hosts:
  112.   controller_1:
  113.    # Repo is set to multiple to test clustering. This test only requires x2.
  114.     affinity:
  115.       repo_container: 1
  116.     ip: 10.101.103.2
  117.   controller_2:
  118.     affinity:
  119.       repo_container: 1
  120.     ip: 10.101.103.3
  121.  
  122.  controller_3:
  123.     affinity:
  124.       repo_container: 1
  125.     ip: 10.101.103.4
  126.  
  127.  
  128. identity_hosts:
  129.   controller_1:
  130.    # Keystone is set to multiple to test clustering. This test only requires x2.
  131.     affinity:
  132.       keystone_container: 1
  133.     ip: 10.101.103.2
  134.   controller_2:
  135.     affinity:
  136.       keystone_container: 1
  137.     ip: 10.101.103.3
  138.   controller_3:
  139.     affinity:
  140.       keystone_container: 1
  141.     ip: 10.101.103.4
  142.  
  143. compute_hosts:
  144.   compute_1:
  145.     ip: 10.101.103.5
  146.   compute_2:
  147.     ip: 10.101.103.6
  148.   compute_3:
  149.     ip: 10.101.103.7
  150.  
  151. storage_hosts:
  152.   storage_1:
  153.     ip: 10.101.103.9
  154.     container_vars:
  155.       cinder_backends:
  156.         limit_container_types: cinder_volume
  157.         volumes_hdd:
  158.           volume_driver: cinder.volume.drivers.rbd.RBDDriver
  159.           rbd_pool: volumes_hdd
  160.           rbd_ceph_conf: /etc/ceph/ceph.conf
  161.           rbd_flatten_volume_from_snapshot: 'false'
  162.           rbd_max_clone_depth: 5
  163.           rbd_store_chunk_size: 4
  164.           rados_connect_timeout: -1
  165.           volume_backend_name: volumes_hdd
  166.           rbd_user: "{{ cinder_ceph_client }}"
  167.           rbd_secret_uuid: "{{ cinder_ceph_client_uuid }}"
  168.   storage_2:
  169.     ip: 10.101.103.3
  170.     container_vars:
  171.       cinder_backends:
  172.         limit_container_types: cinder_volume
  173.         volumes_hdd:
  174.           volume_driver: cinder.volume.drivers.rbd.RBDDriver
  175.           rbd_pool: volumes_hdd
  176.           rbd_ceph_conf: /etc/ceph/ceph.conf
  177.           rbd_flatten_volume_from_snapshot: 'false'
  178.           rbd_max_clone_depth: 5
  179.           rbd_store_chunk_size: 4
  180.           rados_connect_timeout: -1
  181.           volume_backend_name: volumes_hdd
  182.           rbd_user: "{{ cinder_ceph_client }}"
  183.           rbd_secret_uuid: "{{ cinder_ceph_client_uuid }}"
  184.  
  185. log_hosts:
  186.   controller_1:
  187.     ip: 10.101.103.2
  188.  
  189. network_hosts:
  190.   controller_1:
  191.     ip: 10.101.103.2
  192.   controller_2:
  193.     ip: 10.101.103.3
  194.   controller_3:
  195.     ip: 10.101.103.4
  196.  
  197. haproxy_hosts:
  198.   controller_1:
  199.     ip: 10.101.103.2
  200.   controller_2:
  201.     ip: 10.101.103.3
  202.   controller_3:
  203.     ip: 10.101.103.4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement