modified to use gnocchi charm
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / ceilometer.yaml
1     gnocchi:
2       charm: ./{{ ubuntu.release }}/gnocchi
3       num_units: 1
4 {% if os.service.bindings %}
5       bindings:
6         "": *internal-space
7 {% endif %}
8       options:
9         openstack-origin: *openstack-origin
10       to:
11         - "lxd:nodes/0"
12     memcached:
13       charm: ./{{ ubuntu.release }}/memcached
14       num_units: 1
15 {% if os.service.bindings %}
16       bindings:
17         "": *internal-space
18 {% endif %}
19       to:
20         - "lxd:nodes/0"
21     ceilometer:
22       charm: "./{{ ubuntu.release }}/ceilometer"
23       num_units: {{ unit_qty() }}
24 {% if os.service.bindings %}
25       bindings:
26         "": *oam-space
27         public: *public-space
28         admin: *admin-space
29         internal: *internal-space
30 {% endif %}
31       options:
32         openstack-origin: *openstack-origin
33         region: *openstack-region
34 {% if os.ha.mode == 'ha' %}
35         vip: {{ opnfv.vip.ceilometer }}
36 {% endif %}
37       to:
38 {% for unit_id in to_select() %}
39         - "lxd:nodes/{{ unit_id }}"
40 {% endfor %}