5e03b1f784b9d4772fb3f8149ad9e575f619282c
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / heat.yaml
1     heat:
2       charm: "./{{ ubuntu.release }}/heat"
3       num_units: 1
4 {% if os.service.bindings %}
5       bindings:
6         internal: internal-api
7         shared-db: internal-api
8 {% if opnfv.spaces_dict.public is defined %}
9         public: public-api
10 {% if opnfv.spaces_dict.data is defined %}
11         admin: admin-api
12 {% else %}
13         admin: internal-api
14 {% endif %}
15 {% else %}
16         public: internal-api
17         admin: internal-api
18 {% endif %}
19 {% endif %}
20       options:
21         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
22         region: {{ os.region }}
23 {% if os.network.ipv6 %}
24         prefer-ipv6: {{ os.network.ipv6 }}
25 {% endif %}
26 {% if os.api.worker_multiplier %}
27         worker-multiplier: {{ os.api.worker_multiplier }}
28 {% endif %}
29 {% if os.ha.mode == 'ha' %}
30 #        vip: {{ opnfv.vip.heat }}
31 {% endif %}
32 {% if os.beta.public_api %}
33 #        os-public-hostname: api.{{ opnfv.domain }}
34 {% endif %}
35       to:
36         - "lxd:nodes/0"
37 {# Empty block to avoid bad block trim #}