b12f0a561e7a33958becdc231ef05c3e42c6d91f
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / subordinate.yaml
1
2 {% if os.network.controller != 'ocl' %}
3     ceilometer-agent:
4       charm: ./{{ ubuntu.release }}/ceilometer-agent
5       options:
6         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
7 {% if os.beta.public_api %}
8         use-internal-endpoints: true
9 {% endif %}
10 {% endif %}
11 {% if opnfv.storage_dict.ceph is defined %}
12     cinder-ceph:
13       charm: ./{{ ubuntu.release }}/cinder-ceph
14       options:
15 {% if opnfv.storage_dict.ceph is defined %}
16         ceph-osd-replication-count: {{ unit_ceph_qty() }}
17 {% endif %}
18 {% endif %}
19 {% if os.network.controller == 'nosdn' %}
20 {% include 'neutron-ovs.yaml' %}
21 {% elif os.network.controller == 'odl' %}
22     neutron-api-odl:
23       charm: ./{{ ubuntu.release }}/neutron-api-odl
24       options:
25         overlay-network-type: 'vxlan'
26         security-groups: True
27     openvswitch-odl:
28       charm: ./{{ ubuntu.release }}/openvswitch-odl
29       options:
30 {% if opnfv.ext_port is defined  %}
31         provider_mappings: "physnet1:{{ opnfv.ext_port }}"
32 {% endif %}
33 {% if opnfv.spaces_dict.data is defined %}
34         os-data-network: {{ opnfv.spaces_dict.data.cidr }}
35 {% else %}
36         os-data-network: {{ opnfv.spaces_dict.admin.cidr }}
37 {% endif %}
38 {% elif os.network.controller == 'onos' %}
39     neutron-api-onos:
40       charm: ./{{ ubuntu.release }}/neutron-api-onos
41       options:
42         overlay-network-type: 'vxlan'
43         security-groups: True
44     openvswitch-onos:
45       charm: ./{{ ubuntu.release }}/openvswitch-onos
46       options:
47 {% if opnfv.spaces_dict.data is defined %}
48         os-data-network: {{ opnfv.spaces_dict.data.cidr }}
49 {% endif %}
50 {% if os.network.sfc %}
51         profile: onos-sfc
52 {% endif %}
53 {% endif %}
54 {% if os.lxd %}
55     lxd:
56       charm: ./{{ ubuntu.release }}/lxd
57       options:
58 {% if 'srv' not in opnfv.storage_dict.ceph.disk %}
59         block-devices: {{ opnfv.storage_dict.ceph.disk }}
60         overwrite: true
61         storage-type: zfs
62 {% endif %}
63 {% endif %}
64 {% if opnfv.storage_dict.scaleio is defined %}
65     scaleio-openstack:
66       charm: ./{{ ubuntu.release }}/scaleio-openstack
67       options:
68         protection-domains: 'pd1'
69 {% endif %}