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 {% if os.git_repo.origin_git %}
18 openstack-origin-git: "{{ os.git_repo.branch }}"
20 region: {{ os.region }}
21 {% if os.beta.public_api %}
22 use-internal-endpoints: true
24 {% if os.network.ipv6 %}
25 prefer-ipv6: {{ os.network.ipv6 }}
27 {% if opnfv.storage_dict.ceph is defined %}
28 ceph-osd-replication-count: {{ unit_ceph_qty() }}
30 {% if os.api.worker_multiplier %}
31 worker-multiplier: {{ os.api.worker_multiplier }}
33 {% if os.ha.mode == 'ha' %}
34 vip: {{ opnfv.vip.glance }}
36 {% if os.beta.public_api %}
37 os-public-hostname: api.{{ opnfv.domain }}
40 {% for unit_id in to_select() %}
41 - "lxd:nodes/{{ unit_id }}"