summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml
blob: de6a1214c46b4f9e1a947bee1f80252060ae7ad2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
    mongodb:
      charm: ./{{ ubuntu.release }}/mongodb
      num_units: 1
      constraints: *oam-space-constr
{% if os.service.bindings %}
      bindings:
        "": *internal-space
{% endif %}
      to:
        - "lxd:nodes/0"
    ceilometer:
      charm: "./{{ ubuntu.release }}/ceilometer"
      num_units: {{ unit_qty() }}
{% if os.service.bindings %}
      bindings:
        "": *oam-space
        public: *public-space
        admin: *admin-space
        internal: *internal-space
{% endif %}
      options:
        openstack-origin: *openstack-origin
        region: *openstack-region
{% if os.ha.mode == 'ha' %}
        vip: {{ opnfv.vip.ceilometer }}
{% endif %}
{% if os.beta.public_api %}
        os-public-hostname: api.{{ opnfv.domain }}
{% endif %}
      to:
{% for unit_id in to_select() %}
        - "lxd:nodes/{{ unit_id }}"
{% endfor %}