summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/heat.yaml
blob: 6e26ac7f2a6b4ab8dbc6801bbc4bab691303a274 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
    heat:
      charm: "./{{ ubuntu.release }}/heat"
      num_units: {{ unit_qty() }}
{% if os.service.bindings %}
      bindings:
        "": *oam-space
        public: *public-space
        admin: *admin-space
        internal: *internal-space
        shared-db: *internal-space
{% endif %}
      options:
        openstack-origin: *openstack-origin
        region: *openstack-region
{% if os.network.ipv6 %}
        prefer-ipv6: {{ os.network.ipv6 }}
{% endif %}
        worker-multiplier: *worker-multiplier
{% if os.ha.mode == 'ha' %}
        vip: {{ opnfv.vip.heat }}
{% endif %}
      to:
{% for unit_id in to_select() %}
        - "lxd:nodes/{{ unit_id }}"
{% endfor %}
{# Empty block to avoid bad block trim #}