modfiied to support the new spaces in juju.
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / phase2-overrides.yaml
1 {% if opnfv.spaces_dict.storage is defined %}
2     #ceph-cluster-network: {{ opnfv.spaces_dict.storage.cidr }}
3 {% endif %}
4 {% if os.network.ipv6 %}
5     #prefer-ipv6: {{ os.network.ipv6 }}
6 {% endif %}
7 {% if os.ha.mode == 'ha' %}
8 {% if os.api.haproxy_timeout %}
9     #haproxy-server-timeout: {{ os.api.haproxy_timeout }}
10     #haproxy-client-timeout: {{ os.api.haproxy_timeout }}
11     #haproxy-queue-timeout: {{ os.api.haproxy_timeout }}
12     #haproxy-connect-timeout: {{ os.api.haproxy_timeout }}
13 {% endif %}
14 {% endif %}
15 {% if os.api.worker_multiplier %}
16     #worker-multiplier: {{ os.api.worker_multiplier }}
17 {% endif %}
18 {% if os.network.dvr %}
19     #enable-dvr: true
20 {% endif %}
21 {% if os.network.l2_population %}
22     #l2-population: true
23 {% endif %}
24 {% if ubuntu.release == 'trusty' %}
25     #source: "cloud:{{ ubuntu.release }}-{{ os.release }}"
26 {% endif %}
27 {% if ubuntu.release == 'xenial' %}
28 {% if os.release == 'newton' %}
29     #source: "cloud:{{ ubuntu.release }}-{{ os.release }}"
30 {% endif %}
31 {% endif %}
32 {% if os.ha.mode == 'nonha' %}
33 {% if opnfv.storage_dict.ceph is defined %}
34     #ceph-osd-replication-count: {{ unit_ceph_qty() }}
35 {% endif %}
36 {% endif %}
37     #admin-role: {{ os.admin.role }}
38     #keystone-admin-role: {{ os.admin.role }}
39 {% if os.beta.public_api %}
40     #use-internal-endpoints: true
41 {% endif %}