modfiied for JUJU 2.1-rc1 changes.
[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.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 {% elif os.network.controller == 'ocl' %}
52     ceilometer-contrail:
53       charm: ./{{ ubuntu.release }}/ceilometer-contrail
54       options:
55         install-sources: ppa:opencontrail/trunk-20160812
56     neutron-api-contrail:
57       charm: ./{{ ubuntu.release }}/neutron-api-contrail
58       options:
59         install-sources: ppa:opencontrail/trunk-20160812
60     neutron-contrail:
61       charm: ./{{ ubuntu.release }}/neutron-contrail
62       options:
63         install-sources: ppa:opencontrail/trunk-20160812
64     keepalived:
65       charm: ./{{ ubuntu.release }}/keepalived
66       options:
67         router-id: 1
68 {% if os.ha.mode == 'ha' %}
69         virtual-ip: {{ opnfv.vip.keepalived }}
70 {% endif %}
71 {% endif %}
72 {% if os.lxd %}
73     lxd:
74       charm: ./{{ ubuntu.release }}/lxd
75       options:
76 {% endif %}
77 {% if opnfv.storage_dict.scaleio is defined %}
78     scaleio-openstack:
79       charm: ./{{ ubuntu.release }}/scaleio-openstack
80       options:
81         protection-domains: 'pd1'
82 {% endif %}