4107d80bf9d47e89bd8b9aa452311e76bacd0db3
[joid.git] / ci / config_tpl / bundle_tpl / subordinate.yaml
1     ceilometer-agent:
2       charm: local:{{ ubuntu.release }}/ceilometer-agent
3       options:
4         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
5 {% if os.beta.public_api %}
6         use-internal-endpoints: true
7 {% endif %}
8 {% if opnfv.storage_dict.ceph is defined %}
9     cinder-ceph:
10       charm: local:{{ ubuntu.release }}/cinder-ceph
11       options:
12 {% if opnfv.storage_dict.ceph is defined %}
13         ceph-osd-replication-count: {{ unit_ceph_qty() }}
14 {% endif %}
15 {% endif %}
16 {% if os.network.controller == 'nosdn' %}
17 {% include 'neutron-ovs.yaml' %}
18 {% elif os.network.controller == 'odl' %}
19     neutron-api-odl:
20       charm: local:{{ ubuntu.release }}/neutron-api-odl
21       options:
22         overlay-network-type: 'vxlan'
23         security-groups: True
24     openvswitch-odl:
25       charm: local:{{ ubuntu.release }}/openvswitch-odl
26       options:
27 {% if opnfv.spaces_dict.data is defined %}
28         os-data-network: {{ opnfv.spaces_dict.data.cidr }}
29 {% endif %}
30 {% elif os.network.controller == 'onos' %}
31     neutron-api-onos:
32       charm: local:{{ ubuntu.release }}/neutron-api-onos
33       options:
34         overlay-network-type: 'vxlan'
35         security-groups: True
36     openvswitch-onos:
37       charm: local:{{ ubuntu.release }}/openvswitch-onos
38       options:
39 {% if opnfv.spaces_dict.data is defined %}
40         os-data-network: {{ opnfv.spaces_dict.data.cidr }}
41 {% endif %}
42 {% if os.network.sfc %}
43         profile: onos-sfc
44 {% endif %}
45 {% elif os.network.controller == 'ocl' %}
46     ceilometer-contrail:
47       charm: local:{{ ubuntu.release }}/ceilometer-contrail
48       options:
49         install-sources: ppa:opencontrail/trunk-20160812
50     neutron-api-contrail:
51       charm: local:{{ ubuntu.release }}/neutron-api-contrail
52       options:
53         install-sources: ppa:opencontrail/trunk-20160812
54     neutron-contrail:
55       charm: local:{{ ubuntu.release }}/neutron-contrail
56       options:
57         install-sources: ppa:opencontrail/trunk-20160812
58     keepalived:
59       charm: local:{{ ubuntu.release }}/keepalived
60       options:
61         router-id: 1
62 {% if os.ha.mode == 'ha' %}
63         virtual-ip: {{ opnfv.vip.keepalived }}
64 {% endif %}
65 {% endif %}
66 {% if os.lxd %}
67     lxd:
68       charm: local:{{ ubuntu.release }}/lxd
69       options:
70 {% endif %}
71 {% if opnfv.storage_dict.scaleio is defined %}
72     scaleio-openstack:
73       charm: local:{{ ubuntu.release }}/scaleio-openstack
74       options:
75         protection-domains: 'pd1'
76 {% endif %}