summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-08-15 13:28:22 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2017-08-15 14:02:27 -0500
commite9a56336b664f4575194c2317aa747652a2ecb6f (patch)
treeb05ae1c0cd57c9a8d6fcd33f6ee947229895f216 /ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml
parentdc5adfcfe2f4c2534ad512f8d3b811d86a473089 (diff)
modified templates and added variable to easlity understand the
templates and added support for multiple networks. Change-Id: I1074c722c9007bd12c711dbfc58afa1a098d2a17 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml13
1 files changed, 9 insertions, 4 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml b/ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml
index 66d53852..88f4f382 100644
--- a/ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml
@@ -9,16 +9,19 @@
num_units: {{ opnfv.units - 1 }}
{% endif %}
{% endif %}
+ bindings:
+ "": *oam-space
+ internal: *internal-space
options:
- openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
+ openstack-origin: *openstack-origin
{% if os.git_repo.origin_git %}
openstack-origin-git: "{{ os.git_repo.branch }}"
{% endif %}
- enable-live-migration: true
- enable-resize: true
+ enable-live-migration: True
+ enable-resize: True
migration-auth-type: ssh
{% if os.beta.public_api %}
- use-internal-endpoints: true
+ use-internal-endpoints: True
{% endif %}
{% if os.network.ipv6 %}
prefer-ipv6: {{ os.network.ipv6 }}
@@ -34,6 +37,8 @@
{% endif %}
{% if os.lxd %}
virt-type: lxd
+{% else %}
+ virt-type: kvm
{% endif %}
to:
{% if os.hyperconverged %}