summaryrefslogtreecommitdiffstats
path: root/ci/bundle_tpl/nova-cloud-controller.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/bundle_tpl/nova-cloud-controller.yaml')
-rw-r--r--ci/bundle_tpl/nova-cloud-controller.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/ci/bundle_tpl/nova-cloud-controller.yaml b/ci/bundle_tpl/nova-cloud-controller.yaml
new file mode 100644
index 00000000..8b0e3c16
--- /dev/null
+++ b/ci/bundle_tpl/nova-cloud-controller.yaml
@@ -0,0 +1,17 @@
+ nova-cloud-controller:
+ charm: "local:{{ ubuntu.release }}/nova-cloud-controller"
+ num_units: {{ unit_qty() }}
+ options:
+ console-access-protocol: novnc
+{% if opnfv.domain is defined %}
+ console-proxy-ip: {{ opnfv.domain }}
+{% endif %}
+ network-manager: Neutron
+ service-guard: true
+{% if os.ha.mode == 'ha' %}
+ vip: {{ opnfv.vip.nova }}
+{% endif %}
+ to:
+{% for unit_id in to_select() %}
+ - "lxc:nodes={{ unit_id }}"
+{% endfor %}