1 {% if opnfv.storage_dict.ceph is defined %}
3 charm: "./{{ ubuntu.release }}/ceph-mon"
4 num_units: {{ unit_ceph_qty() }}
5 {% if os.service.bindings %}
8 public: *ceph-public-space
9 cluster: *ceph-cluster-space
11 series: {{ ubuntu.release }}
13 expected-osd-count: {{ unit_ceph_qty() }}
14 source: *openstack-origin
15 {% if os.network.ipv6 %}
16 prefer-ipv6: {{ os.network.ipv6 }}
19 {% if os.hyperconverged %}
20 {% for unit_id in to_select(unit_ceph_qty()) %}
21 - "lxd:nodes/{{ unit_id }}"
24 {% if os.ha.mode == 'ha' %}
25 {% for unit_id in range(0, 3) %}
26 - "lxd:nodes/{{ unit_id }}"
35 charm: "./{{ ubuntu.release }}/ceph-osd"
36 {% if os.hyperconverged %}
37 num_units: {{ opnfv.units }}
41 {% if os.service.bindings %}
44 public: *ceph-public-space
45 cluster: *ceph-cluster-space
47 series: {{ ubuntu.release }}
49 osd-devices: *osd-devices
50 osd-journal: *osd-journal
52 source: *openstack-origin
53 {% if os.network.ipv6 %}
54 prefer-ipv6: {{ os.network.ipv6 }}
57 {% if os.hyperconverged %}
58 {% for unit_id in range(0, opnfv.units) %}
59 - "nodes/{{ unit_id }}"
62 {% if os.ha.mode == 'ha' %}
63 {% for unit_id in range(0, 3) %}
64 - "nodes/{{ unit_id }}"
73 charm: "./{{ ubuntu.release }}/ceph-radosgw"
74 num_units: {{ unit_qty() }}
75 {% if os.service.bindings %}
76 constraints: *ceph-access-constr
81 internal: *internal-space
82 mon: *ceph-public-space
84 series: {{ ubuntu.release }}
86 region: *openstack-region
87 operator-roles: "Member,admin,SwiftOperator"
88 source: *openstack-origin
89 {% if os.network.ipv6 %}
90 prefer-ipv6: {{ os.network.ipv6 }}
92 {% if opnfv.storage_dict.ceph is defined %}
93 ceph-osd-replication-count: {{ unit_ceph_qty() }}
95 {% if os.ha.mode == 'ha' %}
96 vip: *rados-gateway-vip
102 os-public-hostname: *hostname_radosgw_public
103 os-admin-hostname: *hostname_radosgw_public
104 os-internal-hostname: *hostname_radosgw_public
107 {% for unit_id in to_select(unit_qty()) %}
108 - "lxd:nodes/{{ unit_id }}"