Advertisement
arkanmgerges

Untitled

Jun 11th, 2020
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.14 KB | None | 0 0
  1. ---
  2.  
  3.     cidr_networks: &cidr_networks
  4.       container: 172.29.236.0/22
  5.       tunnel: 172.29.240.0/22
  6.       storage: 172.29.244.0/22
  7.    
  8.     used_ips:
  9.      - 172.29.236.1
  10.       - 172.29.236.2
  11.       - 172.29.236.10
  12.       - 172.29.236.15
  13.       - 172.29.236.20
  14.       - 172.29.236.25
  15.       - 172.29.236.30
  16.       - 172.29.236.35
  17.       - 172.29.236.40
  18.       - 172.29.236.210
  19.       - 172.29.236.211
  20.       - 172.29.240.10
  21.       - 172.29.240.15
  22.       - 172.29.240.20
  23.       - 172.29.240.25
  24.       - 172.29.240.30
  25.       - 172.29.240.35
  26.       - 172.29.240.40
  27.       - 172.29.244.10
  28.       - 172.29.244.15
  29.       - 172.29.244.20
  30.       - 172.29.244.25
  31.       - 172.29.244.30
  32.       - 172.29.244.35
  33.       - 172.29.244.40
  34.       - 192.168.50.1
  35.       - 192.168.50.10
  36.       - 192.168.50.15
  37.       - 192.168.50.210
  38.       - 192.168.50.211
  39.    
  40.     global_overrides:
  41.       cidr_networks: *cidr_networks
  42.       internal_lb_vip_address: 172.29.236.210
  43.       external_lb_vip_address: 192.168.50.210
  44.       management_bridge: "br-mgmt"
  45.       provider_networks:
  46.         - network:
  47.             group_binds:
  48.              - all_containers
  49.               - hosts
  50.             type: "raw"
  51.             container_bridge: "br-mgmt"
  52.             container_interface: "eth1"
  53.             container_type: "veth"
  54.             ip_from_q: "container"
  55.             is_container_address: true
  56.         - network:
  57.             group_binds:
  58.              - glance_api
  59.               - cinder_api
  60.               - cinder_volume
  61.               - nova_compute
  62.               # - ceph-osd
  63.               # Uncomment the next line if using swift with a storage network.
  64.               # - swift_proxy
  65.             type: "raw"
  66.             container_bridge: "br-storage"
  67.             container_type: "veth"
  68.             container_interface: "eth2"
  69.             ip_from_q: "storage"
  70.         - network:
  71.             group_binds:
  72.              - neutron_linuxbridge_agent
  73.             container_bridge: "br-vxlan"
  74.             container_type: "veth"
  75.             container_interface: "eth10"
  76.             container_mtu: "9000"
  77.             ip_from_q: "tunnel"
  78.             type: "vxlan"
  79.             range: "1:1000"
  80.             net_name: "vxlan"
  81.         - network:
  82.             group_binds:
  83.              - neutron_linuxbridge_agent
  84.             container_bridge: "br-ext"
  85.             container_type: "veth"
  86.             container_interface: "eth12"
  87.             host_bind_override: "eno1"
  88.             type: "flat"
  89.             net_name: "provider"
  90.    
  91.     ###
  92.     ### Infrastructure
  93.     ###
  94.    
  95.     _infrastructure_ip1: &infrastructure_ip1
  96.       ip: 172.29.236.10
  97.    
  98.     _infrastructure_hosts: &infrastructure_hosts
  99.       controller1: *infrastructure_ip1
  100.    
  101.     _compute_ip1: &compute_ip1
  102.       ip: 172.29.236.15
  103.    
  104.     compute_hosts: &compute_hosts
  105.       compute1: *compute_ip1
  106.    
  107.     # ceph-osd_hosts: *compute_hosts
  108.    
  109.     # galera, memcache, rabbitmq, utility
  110.     shared-infra_hosts: *infrastructure_hosts
  111.    
  112.     # ceph-mon containers
  113.     # ceph-mon_hosts: *infrastructure_hosts
  114.    
  115.     # ceph-radosgw
  116.     # ceph-rgw_hosts: *infrastructure_hosts
  117.    
  118.     # repository (apt cache, python packages, etc)
  119.     repo-infra_hosts: *infrastructure_hosts
  120.    
  121.     # load balancer
  122.     # Ideally the load balancer should not use the Infrastructure hosts.
  123.     # Dedicated hardware is best for improved performance and security.
  124.     haproxy_hosts: *infrastructure_hosts
  125.    
  126.     # rsyslog server
  127.     log_hosts: *infrastructure_hosts
  128.    
  129.     ###
  130.     ### OpenStack
  131.     ###
  132.    
  133.     # keystone
  134.     identity_hosts: *infrastructure_hosts
  135.    
  136.     # cinder api services
  137.     storage-infra_hosts: *infrastructure_hosts
  138.    
  139.     # cinder volume hosts (Ceph RBD-backed)
  140.     storage_hosts:
  141.       controller1:
  142.         ip: 172.29.236.10
  143.         container_vars:
  144.           cinder_backends:
  145.             limit_container_types: cinder_volume
  146.             rbd:
  147.               volume_group: cinder-volumes
  148.               volume_driver: cinder.volume.drivers.rbd.RBDDriver
  149.               volume_backend_name: rbd
  150.               rbd_pool: cinder-volumes
  151.               rbd_ceph_conf: /etc/ceph/ceph.conf
  152.               rbd_user: cinder
  153.     # glance
  154.     image_hosts: *infrastructure_hosts
  155.    
  156.     # placement
  157.     placement-infra_hosts: *infrastructure_hosts
  158.    
  159.     # nova api, conductor, etc services
  160.     compute-infra_hosts: *infrastructure_hosts
  161.    
  162.     # heat
  163.     orchestration_hosts: *infrastructure_hosts
  164.    
  165.     # horizon
  166.     dashboard_hosts: *infrastructure_hosts
  167.    
  168.     # neutron server, agents (L3, etc)
  169.     network_hosts: *infrastructure_hosts
  170.    
  171.     # ceilometer (telemetry data collection)
  172.     metering-infra_hosts: *infrastructure_hosts
  173.    
  174.     # aodh (telemetry alarm service)
  175.     metering-alarm_hosts: *infrastructure_hosts
  176.    
  177.     # gnocchi (telemetry metrics storage)
  178.     metrics_hosts: *infrastructure_hosts
  179.    
  180.     # ceilometer compute agent (telemetry data collection)
  181.     metering-compute_hosts: *compute_hosts
  182.    
  183.    
  184.     # ironic-infra_hosts: *infrastructure_hosts
  185.     # ironic-compute_hosts: *compute_hosts
  186.     # ironic-inspector_hosts: *infrastructure_hosts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement