few more corrections of deployment and enabling interface within
[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 {% endif %}
34 {% elif os.network.controller == 'onos' %}
35     neutron-api-onos:
36       charm: ./{{ ubuntu.release }}/neutron-api-onos
37       options:
38         overlay-network-type: 'vxlan'
39         security-groups: True
40     openvswitch-onos:
41       charm: ./{{ ubuntu.release }}/openvswitch-onos
42       options:
43 {% if opnfv.spaces_dict.data is defined %}
44         os-data-network: {{ opnfv.spaces_dict.data.cidr }}
45 {% endif %}
46 {% if os.network.sfc %}
47         profile: onos-sfc
48 {% endif %}
49 {% elif os.network.controller == 'ocl' %}
50     ceilometer-contrail:
51       charm: ./{{ ubuntu.release }}/ceilometer-contrail
52       options:
53         install-sources: ppa:opencontrail/trunk-20160812
54     neutron-api-contrail:
55       charm: ./{{ ubuntu.release }}/neutron-api-contrail
56       options:
57         install-sources: ppa:opencontrail/trunk-20160812
58     neutron-contrail:
59       charm: ./{{ ubuntu.release }}/neutron-contrail
60       options:
61         install-sources: ppa:opencontrail/trunk-20160812
62     keepalived:
63       charm: ./{{ ubuntu.release }}/keepalived
64       options:
65         router-id: 1
66 {% if os.ha.mode == 'ha' %}
67         virtual-ip: {{ opnfv.vip.keepalived }}
68 {% endif %}
69 {% endif %}
70 {% if os.lxd %}
71     lxd:
72       charm: ./{{ ubuntu.release }}/lxd
73       options:
74 {% endif %}
75 {% if opnfv.storage_dict.scaleio is defined %}
76     scaleio-openstack:
77       charm: ./{{ ubuntu.release }}/scaleio-openstack
78       options:
79         protection-domains: 'pd1'
80 {% endif %}