haproxy config correction
[joid.git] / ci / config_tpl / deployconfig.yaml
1 opnfv:
2 {% set net_prefix = opnfv.spaces_dict.admin.cidr[:-4] %}
3   admNetgway: {{ opnfv.spaces_dict.admin.gateway }}
4   admNetwork: {{ net_prefix }}2
5   admin_password: openstack
6   ceph-disk: {{ opnfv.storage_dict.ceph.disk }}
7 {% if opnfv.spaces_dict.data is defined %}
8   dataNetwork: {{ opnfv.spaces_dict.data.cidr }}
9 {% endif %}
10   domain: {{ lab.racks[0].osdomainname }}
11   ext-port: {{ lab.racks[0]['ext-port'] }}
12   ext_port: {{ lab.racks[0]['ext-port'] }}
13   floating-ip-range: {{ lab.racks[0]['floating-ip-range'] }}
14   interface-enable: {{ lab.racks[0].ifnamelist }}
15   os-domain-name: {{ lab.racks[0].osdomainname }}
16 {% if opnfv.spaces_dict.public is defined %}
17   publicNetwork: {{ opnfv.spaces_dict.public.cidr }}
18 {% endif %}
19   spaces:
20 {% for net in opnfv.spaces %}
21   - bridge: {{ net.bridge }}
22     cidr: {{ net.cidr }}
23     gateway: {{ net.gateway or '' }}
24     type: {{ net.type }}
25     vlan: {{ net.vlan or '' }}
26 {% endfor %}
27   storage:
28 {% for storage in opnfv.storage %}
29   - disk: {{ storage.disk }}
30     type: {{ storage.type }}
31 {% endfor %}
32 {% if opnfv.spaces_dict.storage is defined %}
33   storageNetwork: {{ opnfv.spaces_dict.storage.cidr }}
34 {% endif %}
35   units: {{ lab.racks[0].nodes|count }}
36   vip:
37     ceilometer: {{ net_prefix }}24
38     cinder: {{ net_prefix }}29
39     dashboard: {{ net_prefix }}21
40     glance: {{ net_prefix }}22
41     heat: {{ net_prefix }}28
42     keystone: {{ net_prefix }}23
43     mysql: {{ net_prefix }}25
44     neutron: {{ net_prefix }}27
45     nova: {{ net_prefix }}26
46     rabbitmq: {{ net_prefix }}20