cmodfiied to add juju 2.0 support.
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / nova-cloud-controller.yaml
1     nova-cloud-controller:
2       charm: "./{{ ubuntu.release }}/nova-cloud-controller"
3       num_units: {{ unit_qty() }}
4       options:
5         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
6         region: {{ os.region }}
7         #console-access-protocol: novnc
8         neutron-external-network: ext-net
9         service-guard: true
10 {% if os.beta.public_api %}
11         use-internal-endpoints: true
12 {% endif %}
13 {% if os.network.ipv6 %}
14         prefer-ipv6: {{ os.network.ipv6 }}
15 {% endif %}
16 {% if os.api.worker_multiplier %}
17         worker-multiplier: {{ os.api.worker_multiplier }}
18 {% endif %}
19 {% if os.ha.mode == 'ha' %}
20         vip: {{ opnfv.vip.nova }}
21 {% endif %}
22 {% if opnfv.domain is defined %}
23         console-proxy-ip: {{ opnfv.domain }}
24 {% endif %}
25         network-manager: Neutron
26 {% if os.beta.public_api %}
27         os-public-hostname: api.{{ opnfv.domain }}
28 {% endif %}
29       to:
30 {% for unit_id in to_select() %}
31         - "lxd:nodes/{{ unit_id }}"
32 {% endfor %}