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.public is defined %}
10 {% if opnfv.spaces_dict.data is defined %}
21 openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
22 region: {{ os.region }}
23 {% if os.beta.public_api %}
24 use-internal-endpoints: true
26 {% if os.network.ipv6 %}
27 prefer-ipv6: {{ os.network.ipv6 }}
29 {% if opnfv.storage_dict.ceph is defined %}
30 ceph-osd-replication-count: {{ unit_ceph_qty() }}
32 {% if os.api.worker_multiplier %}
33 worker-multiplier: {{ os.api.worker_multiplier }}
35 {% if os.ha.mode == 'ha' %}
36 vip: {{ opnfv.vip.glance }}
38 {% if os.beta.public_api %}
39 os-public-hostname: api.{{ opnfv.domain }}
42 {% for unit_id in to_select() %}
43 - "lxd:nodes/{{ unit_id }}"