modified to fix the opencontrail bundle issue for nonha.
[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 opnfv.storage_dict.ceph is defined %}
6     cinder-ceph:
7       charm: local:{{ ubuntu.release }}/cinder-ceph
8       options:
9         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
10 {% endif %}
11 {% if os.network.controller == 'nosdn' %}
12 {% include 'neutron-ovs.yaml' %}
13 {% elif os.network.controller == 'odl' %}
14     neutron-api-odl:
15       charm: local:{{ ubuntu.release }}/neutron-api-odl
16       options:
17         overlay-network-type: 'vxlan'
18         security-groups: True
19     openvswitch-odl:
20       charm: local:{{ ubuntu.release }}/openvswitch-odl
21       options:
22         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
23 {% if opnfv.spaces_dict.data is defined %}
24         os-data-network: {{ opnfv.spaces_dict.data.cidr }}
25 {% endif %}
26 {% elif os.network.controller == 'onos' %}
27     neutron-api-onos:
28       charm: local:{{ ubuntu.release }}/neutron-api-onos
29       options:
30         overlay-network-type: 'vxlan'
31         security-groups: True
32     openvswitch-onos:
33       charm: local:{{ ubuntu.release }}/openvswitch-onos
34       options:
35 {% if opnfv.spaces_dict.data is defined %}
36         os-data-network: {{ opnfv.spaces_dict.data.cidr }}
37 {% endif %}
38 {% if os.network.sfc %}
39         profile: onos-sfc
40 {% endif %}
41 {% elif os.network.controller == 'ocl' %}
42     ceilometer-contrail:
43       charm: local:{{ ubuntu.release }}/ceilometer-contrail
44       options:
45         install-sources: ppa:opencontrail/trunk-20160812
46     neutron-api-contrail:
47       charm: local:{{ ubuntu.release }}/neutron-api-contrail
48       options:
49         install-sources: ppa:opencontrail/trunk-20160812
50     neutron-contrail:
51       charm: local:{{ ubuntu.release }}/neutron-contrail
52       options:
53         install-sources: ppa:opencontrail/trunk-20160812
54     keepalived:
55       charm: local:{{ ubuntu.release }}/keepalived
56       options:
57         router-id: 1
58 {% if os.ha.mode == 'ha' %}
59         virtual-ip: {{ opnfv.vip.keepalived }}
60 {% endif %}
61 {% endif %}
62 {% if os.lxd %}
63     lxd:
64       charm: local:{{ ubuntu.release }}/lxd
65       options:
66         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
67 {% endif %}
68 {% if opnfv.storage_dict.scaleio is defined %}
69     scaleio-openstack:
70       charm: local:{{ ubuntu.release }}/scaleio-openstack
71       options:
72         protection-domains: 'pd1'
73 {% endif %}