modified to accomodate the scaleio bundles and charms.
[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 {% if opnfv.storage_dict.ceph is defined %}
7    ceph-disk: {{ opnfv.storage_dict.ceph.disk }}
8 {% endif %}
9 {% if opnfv.spaces_dict.data is defined %}
10   dataNetwork: {{ opnfv.spaces_dict.data.cidr }}
11 {% endif %}
12   domain: {{ lab.racks[0].osdomainname }}
13   ext-port: {{ lab.racks[0]['ext-port'] }}
14   ext_port: {{ lab.racks[0]['ext-port'] }}
15   floating-ip-range: {{ lab.racks[0]['floating-ip-range'] }}
16   interface-enable: {{ lab.racks[0].ifnamelist }}
17   os-domain-name: {{ lab.racks[0].osdomainname }}
18 {% if opnfv.spaces_dict.public is defined %}
19   publicNetwork: {{ opnfv.spaces_dict.public.cidr }}
20 {% endif %}
21   spaces:
22 {% for net in opnfv.spaces %}
23   - bridge: {{ net.bridge }}
24     cidr: {{ net.cidr }}
25     gateway: {{ net.gateway or '' }}
26     type: {{ net.type }}
27     vlan: {{ net.vlan or '' }}
28 {% endfor %}
29   storage:
30 {% for storage in opnfv.storage %}
31   - disk: {{ storage.disk }}
32     type: {{ storage.type }}
33 {% endfor %}
34 {% if opnfv.spaces_dict.storage is defined %}
35   storageNetwork: {{ opnfv.spaces_dict.storage.cidr }}
36 {% endif %}
37   units: {{ lab.racks[0].nodes|count }}
38   vip:
39     ceilometer: {{ net_prefix }}24
40     cinder: {{ net_prefix }}29
41     dashboard: {{ net_prefix }}21
42     glance: {{ net_prefix }}22
43     heat: {{ net_prefix }}28
44     keystone: {{ net_prefix }}23
45     mysql: {{ net_prefix }}25
46     neutron: {{ net_prefix }}27
47     nova: {{ net_prefix }}26
48     rabbitmq: {{ net_prefix }}20