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