2 charm: "./{{ ubuntu.release }}/nova-compute"
3 {% if os.hyperconverged %}
4 {% if os.ha.mode == 'ha' %}
5 num_units: {{ opnfv.units - 2 }}
7 num_units: {{ opnfv.units - 1 }}
10 {% if os.ha.mode == 'ha' %}
11 num_units: {{ opnfv.units - 3 }}
13 num_units: {{ opnfv.units - 1 }}
18 internal: *internal-space
20 openstack-origin: *openstack-origin
21 {% if os.git_repo.origin_git %}
22 openstack-origin-git: "{{ os.git_repo.branch }}"
24 enable-live-migration: True
26 migration-auth-type: ssh
27 {% if os.network.ipv6 %}
28 prefer-ipv6: {{ os.network.ipv6 }}
30 {% if opnfv.storage_dict.ceph is defined %}
31 ceph-osd-replication-count: {{ unit_ceph_qty() }}
33 {% if os.beta.huge_pages %}
36 {% if os.beta.cpu_pin %}
37 vcpu-pin-set: "{{ os.beta.cpu_pin_set }}"
45 {% if os.hyperconverged %}
46 {% if os.ha.mode == 'ha' %}
47 {% for unit_id in range(2, opnfv.units) %}
48 - "nodes/{{ unit_id }}"
51 {% for unit_id in range(1, opnfv.units) %}
52 - "nodes/{{ unit_id }}"
56 {% if os.ha.mode == 'ha' %}
57 {% for unit_id in range(0, opnfv.units - 3) %}
58 - "nodes-compute/{{ unit_id }}"
61 {% for unit_id in range(0, opnfv.units - 1) %}
62 - "nodes-compute/{{ unit_id }}"