[JOID] generate bundle using jinja templates
[joid.git] / ci / bundle_tpl / nova-cloud-controller.yaml
1     nova-cloud-controller:
2       charm: "local:{{ ubuntu.release }}/nova-cloud-controller"
3       num_units: {{ unit_qty() }}
4       options:
5         console-access-protocol: novnc
6 {% if opnfv.domain is defined %}
7         console-proxy-ip: {{ opnfv.domain }}
8 {% endif %}
9         network-manager: Neutron
10         service-guard: true
11 {% if os.ha.mode == 'ha' %}
12         vip: {{ opnfv.vip.nova }}
13 {% endif %}
14       to:
15 {% for unit_id in to_select() %}
16         - "lxc:nodes={{ unit_id }}"
17 {% endfor %}