cmodfiied to add juju 2.0 support.
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / subordinate.yaml
1
2     ceilometer-agent:
3       charm: ./{{ ubuntu.release }}/ceilometer-agent
4       options:
5         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
6 {% if os.beta.public_api %}
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.spaces_dict.data is defined %}
29         os-data-network: {{ opnfv.spaces_dict.data.cidr }}
30 {% endif %}
31 {% elif os.network.controller == 'onos' %}
32     neutron-api-onos:
33       charm: ./{{ ubuntu.release }}/neutron-api-onos
34       options:
35         overlay-network-type: 'vxlan'
36         security-groups: True
37     openvswitch-onos:
38       charm: ./{{ ubuntu.release }}/openvswitch-onos
39       options:
40 {% if opnfv.spaces_dict.data is defined %}
41         os-data-network: {{ opnfv.spaces_dict.data.cidr }}
42 {% endif %}
43 {% if os.network.sfc %}
44         profile: onos-sfc
45 {% endif %}
46 {% elif os.network.controller == 'ocl' %}
47     ceilometer-contrail:
48       charm: ./{{ ubuntu.release }}/ceilometer-contrail
49       options:
50         install-sources: ppa:opencontrail/trunk-20160812
51     neutron-api-contrail:
52       charm: ./{{ ubuntu.release }}/neutron-api-contrail
53       options:
54         install-sources: ppa:opencontrail/trunk-20160812
55     neutron-contrail:
56       charm: ./{{ ubuntu.release }}/neutron-contrail
57       options:
58         install-sources: ppa:opencontrail/trunk-20160812
59     keepalived:
60       charm: ./{{ ubuntu.release }}/keepalived
61       options:
62         router-id: 1
63 {% if os.ha.mode == 'ha' %}
64         virtual-ip: {{ opnfv.vip.keepalived }}
65 {% endif %}
66 {% endif %}
67 {% if os.lxd %}
68     lxd:
69       charm: ./{{ ubuntu.release }}/lxd
70       options:
71 {% endif %}
72 {% if opnfv.storage_dict.scaleio is defined %}
73     scaleio-openstack:
74       charm: ./{{ ubuntu.release }}/scaleio-openstack
75       options:
76         protection-domains: 'pd1'
77 {% endif %}