2 charm: "./{{ ubuntu.release }}/glance"
3 num_units: {{ unit_qty() }}
4 {% if os.service.bindings %}
7 shared-db: internal-api
8 {% if opnfv.spaces_dict.data is defined %}
13 {% if opnfv.spaces_dict.public is defined %}
20 openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
21 region: {{ os.region }}
22 {% if os.beta.public_api %}
23 use-internal-endpoints: true
25 {% if os.network.ipv6 %}
26 prefer-ipv6: {{ os.network.ipv6 }}
28 {% if opnfv.storage_dict.ceph is defined %}
29 ceph-osd-replication-count: {{ unit_ceph_qty() }}
31 {% if os.api.worker_multiplier %}
32 worker-multiplier: {{ os.api.worker_multiplier }}
34 {% if os.ha.mode == 'ha' %}
35 vip: {{ opnfv.vip.glance }}
37 {% if os.beta.public_api %}
38 os-public-hostname: api.{{ opnfv.domain }}
41 {% for unit_id in to_select() %}
42 - "lxd:nodes/{{ unit_id }}"