2 charm: "./{{ ubuntu.release }}/glance"
3 num_units: {{ unit_qty() }}
4 {% if os.service.bindings %}
8 shared-db: internal-api
9 {% if opnfv.spaces_dict.public is defined %}
16 openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
17 region: {{ os.region }}
18 {% if os.beta.public_api %}
19 use-internal-endpoints: true
21 {% if os.network.ipv6 %}
22 prefer-ipv6: {{ os.network.ipv6 }}
24 {% if opnfv.storage_dict.ceph is defined %}
25 ceph-osd-replication-count: {{ unit_ceph_qty() }}
27 {% if os.api.worker_multiplier %}
28 worker-multiplier: {{ os.api.worker_multiplier }}
30 {% if os.ha.mode == 'ha' %}
31 vip: {{ opnfv.vip.glance }}
33 {% if os.beta.public_api %}
34 os-public-hostname: api.{{ opnfv.domain }}
37 {% for unit_id in to_select() %}
38 - "lxd:nodes/{{ unit_id }}"