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