aodh:
charm: "./{{ ubuntu.release }}/aodh"
num_units: 1
+{% if os.service.bindings %}
bindings:
internal: internal
{% if opnfv.spaces_dict.data is defined %}
public: public
{% else %}
public: internal
+{% endif %}
{% endif %}
options:
openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
ceilometer:
charm: "./{{ ubuntu.release }}/ceilometer"
num_units: {{ unit_qty() }}
+{% if os.service.bindings %}
bindings:
internal: internal
{% if opnfv.spaces_dict.data is defined %}
public: public
{% else %}
public: internal
+{% endif %}
{% endif %}
options:
openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
ceph-osd:
charm: "./{{ ubuntu.release }}/ceph-osd"
{% if os.hyperconverged %}
+{% if opnfv.units >= 3 %}
+ num_units: {{ unit_ceph_qty() }}
+{% else %}
num_units: {{ opnfv.units }}
+{% endif %}
{% else %}
num_units: 3
{% endif %}
{% endif %}
to:
{% if os.hyperconverged %}
-{% for unit_id in range(0, opnfv.units) %}
+{% if opnfv.units >= 3 %}
+{% for unit_id in range(0, 3) %}
- "nodes/{{ unit_id }}"
{% endfor %}
+{% else %}
+ {% for unit_id in range(0, opnfv.units) %}
+ - "nodes/{{ unit_id }}"
+ {% endfor %}
+{% endif %}
{% else %}
{% if os.ha.mode == 'ha' %}
{% for unit_id in range(0, 3) %}
ceph-radosgw:
charm: "./{{ ubuntu.release }}/ceph-radosgw"
num_units: {{ unit_qty() if os.beta.hacluster_ceph_radosgw else 1 }}
+{% if os.service.bindings %}
bindings:
internal: internal
{% if opnfv.spaces_dict.data is defined %}
public: public
{% else %}
public: internal
+{% endif %}
{% endif %}
options:
region: {{ os.region }}
{% else %}
num_units: {{ unit_qty() }}
{% endif %}
+{% if os.service.bindings %}
bindings:
internal: internal
{% if opnfv.spaces_dict.data is defined %}
public: public
{% else %}
public: internal
+{% endif %}
{% endif %}
options:
openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
congress:
charm: "./{{ ubuntu.release }}/congress"
num_units: 1
+{% if os.service.bindings %}
bindings:
internal: internal
{% if opnfv.spaces_dict.data is defined %}
public: public
{% else %}
public: internal
+{% endif %}
{% endif %}
options:
region: {{ os.region }}
glance:
charm: "./{{ ubuntu.release }}/glance"
num_units: {{ unit_qty() }}
+{% if os.service.bindings %}
bindings:
internal: internal
{% if opnfv.spaces_dict.data is defined %}
public: public
{% else %}
public: internal
+{% endif %}
{% endif %}
options:
openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
heat:
charm: "./{{ ubuntu.release }}/heat"
num_units: 1
+{% if os.service.bindings %}
bindings:
internal: internal
{% if opnfv.spaces_dict.data is defined %}
public: public
{% else %}
public: internal
+{% endif %}
{% endif %}
options:
openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
keystone:
charm: "./{{ ubuntu.release }}/keystone"
num_units: {{ unit_qty() }}
+{% if os.service.bindings %}
bindings:
internal: internal
{% if opnfv.spaces_dict.data is defined %}
public: public
{% else %}
public: internal
+{% endif %}
{% endif %}
options:
openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
neutron-api:
charm: "./{{ ubuntu.release }}/neutron-api"
num_units: {{ unit_qty() }}
+{% if os.service.bindings %}
bindings:
internal: internal
{% if opnfv.spaces_dict.data is defined %}
public: public
{% else %}
public: internal
+{% endif %}
{% endif %}
options:
openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
charm: "./{{ ubuntu.release }}/neutron-gateway"
num_units: 1
{% if opnfv.spaces_dict.data is defined %}
+{% if os.service.bindings %}
bindings:
data: admin
+{% endif %}
{% endif %}
options:
openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
charm: ./{{ ubuntu.release }}/neutron-openvswitch
options:
{% if opnfv.spaces_dict.data is defined %}
+{% if os.service.bindings %}
bindings:
data: admin
{% endif %}
+{% endif %}
{% if os.network.dpdk %}
enable-dpdk: true
#dpdk-driver: uio_pci_generic
nova-cloud-controller:
charm: "./{{ ubuntu.release }}/nova-cloud-controller"
num_units: {{ unit_qty() }}
+{% if os.service.bindings %}
bindings:
internal: internal
{% if opnfv.spaces_dict.data is defined %}
public: public
{% else %}
public: internal
+{% endif %}
{% endif %}
options:
openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
rabbitmq-server:
charm: "./{{ ubuntu.release }}/rabbitmq-server"
num_units: {{ unit_qty() }}
+{% if os.service.bindings %}
+ bindings:
+ amqp: internal
+{% endif %}
options:
{% if opnfv.storage_dict.ceph is defined %}
ceph-osd-replication-count: {{ unit_ceph_qty() }}
service:
congress: True
promise: True
+ bindings: False
kubernetes:
loadbalancer: False