summaryrefslogtreecommitdiffstats
path: root/ci/bundle_tpl/nova-compute.yaml
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-07-21 13:22:05 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-07-21 13:22:51 -0500
commit1e67ca426ab0f454fc2d4845efd5d9984782a4db (patch)
tree75971890123704b43d2cc18f945e4e630ef029df /ci/bundle_tpl/nova-compute.yaml
parent037d0f5a87970e414b7678e0a71b12e383fe644f (diff)
modified to maximize use of resource available at time of
deployment. Change-Id: Ia769b4c87bafa62e58aa006468fbb2294da16766 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/bundle_tpl/nova-compute.yaml')
-rw-r--r--ci/bundle_tpl/nova-compute.yaml8
1 files changed, 0 insertions, 8 deletions
diff --git a/ci/bundle_tpl/nova-compute.yaml b/ci/bundle_tpl/nova-compute.yaml
index bf73c675..81803807 100644
--- a/ci/bundle_tpl/nova-compute.yaml
+++ b/ci/bundle_tpl/nova-compute.yaml
@@ -1,10 +1,6 @@
nova-compute:
charm: "local:{{ ubuntu.release }}/nova-compute"
-{% if os.ha.mode == 'ha' %}
num_units: {{ opnfv.units - 1 }}
-{% else %}
- num_units: 1
-{% endif %}
options:
enable-live-migration: true
enable-resize: true
@@ -17,10 +13,6 @@
virt-type: lxd
{% endif %}
to:
-{% if os.ha.mode == 'ha' %}
{% for unit_id in range(1, opnfv.units) %}
- "nodes={{ unit_id }}"
{% endfor %}
-{% else %}
- - "nodes=1"
-{% endif %}