move to master branch of charm for few bug fixes.
[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 {% if os.service.bindings %}
5       bindings:
6         internal: internal-api
7 {% if opnfv.spaces_dict.data is defined %}
8         admin: admin-api
9 {% else %}
10         admin: internal-api
11 {% endif %}
12 {% if opnfv.spaces_dict.public is defined %}
13         public: public-api
14 {% else %}
15         public: internal-api
16 {% endif %}
17 {% endif %}
18       options:
19         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
20         region: {{ os.region }}
21         #console-access-protocol: novnc
22         neutron-external-network: ext-net
23         service-guard: true
24 {% if os.beta.public_api %}
25         use-internal-endpoints: true
26 {% endif %}
27 {% if os.network.ipv6 %}
28         prefer-ipv6: {{ os.network.ipv6 }}
29 {% endif %}
30 {% if os.api.worker_multiplier %}
31         worker-multiplier: {{ os.api.worker_multiplier }}
32 {% endif %}
33 {% if os.ha.mode == 'ha' %}
34         vip: {{ opnfv.vip.nova }}
35 {% endif %}
36 {% if opnfv.domain is defined %}
37         console-proxy-ip: {{ opnfv.domain }}
38 {% endif %}
39         network-manager: Neutron
40 {% if os.beta.public_api %}
41         os-public-hostname: api.{{ opnfv.domain }}
42 {% endif %}
43       to:
44 {% for unit_id in to_select() %}
45         - "lxd:nodes/{{ unit_id }}"
46 {% endfor %}