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