trying to add the os-data-network for openvswitch only.
[joid.git] / ci / bundle_tpl / subordinate.yaml
1     ceilometer-agent:
2       charm: local:{{ ubuntu.release }}/ceilometer-agent
3 {% if opnfv.storage_dict.ceph is defined %}
4     cinder-ceph:
5       charm: local:{{ ubuntu.release }}/cinder-ceph
6 {% endif %}
7 {% if os.network.controller == 'nosdn' %}
8 {% include 'neutron-ovs.yaml' %}
9 {% elif os.network.controller == 'odl' %}
10     neutron-api-odl:
11       charm: local:{{ ubuntu.release }}/neutron-api-odl
12       options:
13         overlay-network-type: 'vxlan'
14         security-groups: True
15     openvswitch-odl:
16       charm: local:{{ ubuntu.release }}/openvswitch-odl
17       options:
18 {% if opnfv.spaces_dict.data is defined %}
19         os-data-network: {{ opnfv.spaces_dict.data.cidr }}
20 {% else %}
21         #os-data-network: {{ opnfv.spaces_dict.data.cidr }}
22 {% endif %}
23 {% elif os.network.controller == 'onos' %}
24     neutron-api-onos:
25       charm: local:{{ ubuntu.release }}/neutron-api-onos
26       options:
27         overlay-network-type: 'vxlan'
28         security-groups: True
29     openvswitch-onos:
30       charm: local:{{ ubuntu.release }}/openvswitch-onos
31       options:
32 {% if opnfv.spaces_dict.data is defined %}
33         os-data-network: {{ opnfv.spaces_dict.data.cidr }}
34 {% else %}
35         #os-data-network: {{ opnfv.spaces_dict.data.cidr }}
36 {% endif %}
37 {% if os.network.sfc %}
38         profile: onos-sfc
39 {% endif %}
40 {% elif os.network.controller == 'ocl' %}
41     neutron-api-contrail:
42       charm: local:{{ ubuntu.release }}/neutron-api-contrail
43     neutron-contrail:
44       charm: local:{{ ubuntu.release }}/neutron-contrail
45     keepalived:
46       charm: local:{{ ubuntu.release }}/keepalived
47       options:
48 {% if os.ha.mode == 'ha' %}
49         virtual-ip: {{ opnfv.vip.keepalived }}
50 {% endif %}
51 {% endif %}
52 {% if os.lxd %}
53     lxd:
54       charm: local:{{ ubuntu.release }}/lxd
55 {% endif %}