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