modfiied to corner the concerns of Orange labs.
[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         admin: internal-api
8         shared-db: internal-api
9 {% if opnfv.spaces_dict.public is defined %}
10         public: public-api
11 {% else %}
12         public: internal-api
13 {% endif %}
14 {% endif %}
15       options:
16         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
17         region: {{ os.region }}
18 {% if os.network.ipv6 %}
19         prefer-ipv6: {{ os.network.ipv6 }}
20 {% endif %}
21 {% if os.api.worker_multiplier %}
22         worker-multiplier: {{ os.api.worker_multiplier }}
23 {% endif %}
24 {% if os.ha.mode == 'ha' %}
25 #        vip: {{ opnfv.vip.heat }}
26 {% endif %}
27 {% if os.beta.public_api %}
28 #        os-public-hostname: api.{{ opnfv.domain }}
29 {% endif %}
30       to:
31         - "lxd:nodes/0"
32 {# Empty block to avoid bad block trim #}