adding bionic 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 {% 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       series: {{ ubuntu.release }}
13       options:
14         openstack-origin: *openstack-origin
15 {% if os.git_repo.origin_git %}
16         openstack-origin-git: "{{ os.git_repo.branch }}"
17 {% endif %}
18         region: *openstack-region
19         console-access-protocol: novnc
20         neutron-external-network: ext-net
21         service-guard: true
22         worker-multiplier: *worker-multiplier
23         single-nova-consoleauth: False
24         network-manager: Neutron
25 {% if os.network.ipv6 %}
26         prefer-ipv6: {{ os.network.ipv6 }}
27 {% endif %}
28 {% if os.ha.mode == 'ha' %}
29         vip: *nova-cc-vip
30 {% endif %}
31 {% if os.api.ssl %}
32         ssl_ca: *ssl_ca
33         ssl_cert: *ssl_cert
34         ssl_key: *ssl_key
35         os-public-hostname: *hostname_nova_public
36         os-internal-hostname: *hostname_nova_public
37         os-admin-hostname: *hostname_nova_public
38 {% endif %}
39 {% if opnfv.domain is defined %}
40         #console-proxy-ip: {{ opnfv.domain }}
41 {% endif %}
42       to:
43 {% for unit_id in to_select() %}
44         - "lxd:nodes/{{ unit_id }}"
45 {% endfor %}