Advertisement
Guest User

openstack-User-config

a guest
Feb 22nd, 2018
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.66 KB | None | 0 0
  1. # CIDR definition of networks to labels used in the rest of the configuration
  2. cidr_networks:
  3.   container: 10.13.0.0/24
  4.   tunnel: 10.13.30.0/24
  5.   storage: 10.13.20.0/24
  6.  
  7. # (optional) IPs to exclude from container auto-ip assignments
  8. used_ips:
  9.  - "10.13.0.1,10.13.0.10,10.13.0.11,10.13.0.12,10.13.0.13"
  10.   - "10.13.10.1,10.13.10.10,10.13.10.11,10.13.10.12,10.13.10.13"
  11.   - "10.13.20.1,10.13.20.10,10.13.20.11,10.13.20.12,10.13.20.13"
  12.   - "10.13.30.1,10.13.30.10,10.13.30.11,10.13.30.12,10.13.30.13"
  13.  
  14. # Deployment definition
  15. global_overrides:
  16.   internal_lb_vip_address: 10.13.0.11
  17.   external_lb_vip_address: 10.13.0.11
  18.   tunnel_bridge: "br-vxlan"
  19.   management_bridge: "br-mgmt"
  20.   provider_networks:
  21.     - network:
  22.         group_binds:
  23.          - all_containers
  24.           - hosts
  25.         type: "raw"
  26.         container_bridge: "br-mgmt"
  27.         container_interface: "eth1"
  28.         container_type: "veth"
  29.         ip_from_q: "container"
  30.         is_container_address: true
  31.         is_ssh_address: true
  32.     - network:
  33.         group_binds:
  34.          - glance_api
  35.           - cinder_api
  36.           - cinder_volume
  37.           - nova_compute
  38. #           # Uncomment the next line if using swift with a storage network.
  39. #           # - swift_proxy
  40.         type: "raw"
  41.         container_bridge: "br-storage"
  42.         container_type: "veth"
  43.         container_interface: "eth2"
  44.         container_mtu: "9000"
  45.         ip_from_q: "storage"
  46.     - network:
  47.         group_binds:
  48.          - neutron_linuxbridge_agent
  49.         container_bridge: "br-vxlan"
  50.         container_type: "veth"
  51.         container_interface: "eth10"
  52.         container_mtu: "9000"
  53.         ip_from_q: "tunnel"
  54.         type: "vxlan"
  55.         range: "1:1000"
  56.         net_name: "vxlan"
  57.     - network:
  58.         group_binds:
  59.          - neutron_linuxbridge_agent
  60.         container_bridge: "br-vlan"
  61.         container_type: "veth"
  62.         container_interface: "eth11"
  63.         type: "vlan"
  64.         range: "1:1"
  65.         #range: "101:200,301:400"
  66.         net_name: "vlan"
  67.     - network:
  68.         group_binds:
  69.          - neutron_linuxbridge_agent
  70.         container_bridge: "br-vlan"
  71.         container_type: "veth"
  72.         container_interface: "eth12"
  73.         host_bind_override: "eth12"
  74.         type: "flat"
  75.         net_name: "flat"
  76.  
  77. # galera, memcache, rabbitmq, utility
  78. shared-infra_hosts:
  79.   infra1:
  80.     ip: 10.13.0.11
  81.  
  82. # repository (apt cache, python packages, etc)
  83. repo-infra_hosts:
  84.   infra1:
  85.     ip: 10.13.0.11
  86.  
  87. # NOTE: this is called 'image_hosts', 'orchestration_hosts' and 'compute-infra_hosts'  in documentation examples
  88. # Not a bug (check this link: https://bugs.launchpad.net/openstack-ansible/+bug/1703621)
  89. # glance
  90. # nova api, conductor, etc services
  91. # heat, horizon
  92. os-infra_hosts:
  93.   infra1:
  94.     ip: 10.13.0.11
  95.  
  96. # keystone
  97. identity_hosts:
  98.   infra1:
  99.     ip: 10.13.0.11
  100.  
  101. # neutron server, agents (L3, etc)
  102. network_hosts:
  103.   infra1:
  104.     ip: 10.13.0.11
  105.  
  106. # nova hypervisors
  107. compute_hosts:
  108.   compute1:
  109.     ip: 10.13.0.13
  110.  
  111. # cinder api services
  112. storage-infra_hosts:
  113.   infra1:
  114.     ip: 10.13.0.11
  115.  
  116. # cinder storage host (LVM-backed)
  117. storage_hosts:
  118.   storage1:
  119.     ip: 10.13.0.12
  120.  
  121.     container_vars:
  122.       cinder_storage_availability_zone: cinderAZ_1
  123.       cinder_default_availability_zone: cinderAZ_1
  124.       cinder_backends:
  125.         lvm:
  126.           volume_backend_name: LVM_iSCSI
  127.           volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
  128.           volume_group: cinder-volumes
  129.           iscsi_ip_address: "10.13.30.12"
  130.         limit_container_types: cinder_volume
  131.  
  132. log_hosts:
  133.   infra1:
  134.     ip: 10.13.0.11
  135.  
  136. # load balancer
  137. haproxy_hosts:
  138.   infra1:
  139.     ip: 10.13.0.11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement