1c373b925ab71d13071f595921b51014c4b13e58
[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         "": *oam-space
7         public: *public-space
8         admin: *admin-space
9         internal: *internal-space
10         shared-db: *internal-space
11 {% endif %}
12       options:
13         openstack-origin: *openstack-origin
14 {% if os.git_repo.origin_git %}
15         openstack-origin-git: "{{ os.git_repo.branch }}"
16 {% endif %}
17         region: *openstack-region
18         console-access-protocol: novnc
19         neutron-external-network: ext-net
20         service-guard: true
21         worker-multiplier: *worker-multiplier
22         single-nova-consoleauth: False
23         network-manager: Neutron
24         use-internal-endpoints: true
25 {% if os.network.ipv6 %}
26         prefer-ipv6: {{ os.network.ipv6 }}
27 {% endif %}
28 {% if os.ha.mode == 'ha' %}
29         vip: {{ opnfv.vip.nova }}
30 {% endif %}
31 {% if opnfv.domain is defined %}
32         #console-proxy-ip: {{ opnfv.domain }}
33 {% endif %}
34 {% if os.beta.public_api %}
35         os-public-hostname: api.{{ opnfv.domain }}
36 {% endif %}
37       to:
38 {% for unit_id in to_select() %}
39         - "lxd:nodes/{{ unit_id }}"
40 {% endfor %}