Merge "Add labels for scenario docs"
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / ceilometer.yaml
1     mongodb:
2       charm: ./{{ ubuntu.release }}/mongodb
3       num_units: 1
4 {% if os.service.bindings %}
5       bindings:
6         "": internal-api
7 {% endif %}
8       to:
9         - "lxd:nodes/0"
10     ceilometer:
11       charm: "./{{ ubuntu.release }}/ceilometer"
12       num_units: {{ unit_qty() }}
13 {% if os.service.bindings %}
14       bindings:
15         shared-db: internal-api
16         internal: internal-api
17         admin: internal-api
18 {% if opnfv.spaces_dict.public is defined %}
19         public: public-api
20 {% else %}
21         public: internal-api
22 {% endif %}
23 {% endif %}
24       options:
25         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
26         region: {{ os.region }}
27 {% if os.ha.mode == 'ha' %}
28         vip: {{ opnfv.vip.ceilometer }}
29 {% endif %}
30 {% if os.beta.public_api %}
31         os-public-hostname: api.{{ opnfv.domain }}
32 {% endif %}
33       to:
34 {% for unit_id in to_select() %}
35         - "lxd:nodes/{{ unit_id }}"
36 {% endfor %}