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
19 series: {{ ubuntu.release }}
21 openstack-origin: *openstack-origin
22 {% if os.git_repo.origin_git %}
23 openstack-origin-git: "{{ os.git_repo.branch }}"
25 enable-live-migration: True
27 migration-auth-type: ssh
28 {% if os.network.ipv6 %}
29 prefer-ipv6: {{ os.network.ipv6 }}
31 {% if opnfv.storage_dict.ceph is defined %}
32 ceph-osd-replication-count: {{ unit_ceph_qty() }}
34 {% if os.beta.huge_pages %}
37 {% if os.beta.cpu_pin %}
38 vcpu-pin-set: "{{ os.beta.cpu_pin_set }}"
46 {% if os.hyperconverged %}
47 {% if os.ha.mode == 'ha' %}
48 {% for unit_id in range(2, opnfv.units) %}
49 - "nodes/{{ unit_id }}"
52 {% for unit_id in range(1, opnfv.units) %}
53 - "nodes/{{ unit_id }}"
57 {% if os.ha.mode == 'ha' %}
58 {% for unit_id in range(0, opnfv.units - 3) %}
59 - "nodes-compute/{{ unit_id }}"
62 {% for unit_id in range(0, opnfv.units - 1) %}
63 - "nodes-compute/{{ unit_id }}"