summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/subordinate.yaml
blob: 61e672df424a05a6e1d4a5df23f9aa8e7ae0e7ed (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{% if os.network.controller != 'ocl' %}
    ceilometer-agent:
      charm: ./{{ ubuntu.release }}/ceilometer-agent
      series: {{ ubuntu.release }}
      options:
        openstack-origin: *openstack-origin
{% endif %}
{% if opnfv.storage_dict.ceph is defined %}
    cinder-ceph:
      charm: ./{{ ubuntu.release }}/cinder-ceph
      series: {{ ubuntu.release }}
      options:
{% if opnfv.storage_dict.ceph is defined %}
        ceph-osd-replication-count: {{ unit_ceph_qty() }}
{% endif %}
{% endif %}
{% if os.network.controller == 'nosdn' %}
{% include 'neutron-ovs.yaml' %}
{% elif os.network.controller == 'odl' %}
    neutron-api-odl:
      charm: ./{{ ubuntu.release }}/neutron-api-odl
      series: {{ ubuntu.release }}
      options:
        overlay-network-type: 'vxlan'
        security-groups: True
    openvswitch-odl:
      charm: ./{{ ubuntu.release }}/openvswitch-odl
      series: {{ ubuntu.release }}
      options:
{% if opnfv.ext_port is defined  %}
        provider_mappings: "physnet1:{{ opnfv.ext_port }}"
{% endif %}
{% if opnfv.spaces_dict.data is defined %}
        os-data-network: {{ opnfv.spaces_dict.data.cidr }}
{% else %}
        os-data-network: {{ opnfv.spaces_dict.admin.cidr }}
{% endif %}
{% elif os.network.controller == 'onos' %}
    neutron-api-onos:
      charm: ./{{ ubuntu.release }}/neutron-api-onos
      series: {{ ubuntu.release }}
      options:
        overlay-network-type: 'vxlan'
        security-groups: True
    openvswitch-onos:
      charm: ./{{ ubuntu.release }}/openvswitch-onos
      series: {{ ubuntu.release }}
      options:
{% if opnfv.spaces_dict.data is defined %}
        os-data-network: {{ opnfv.spaces_dict.data.cidr }}
{% endif %}
{% if os.network.sfc %}
        profile: onos-sfc
{% endif %}
{% endif %}
{% if os.lxd %}
    lxd:
      charm: ./{{ ubuntu.release }}/lxd
      series: {{ ubuntu.release }}
      options:
{% if 'srv' not in opnfv.storage_dict.ceph.disk %}
        block-devices: {{ opnfv.storage_dict.ceph.disk }}
        overwrite: true
        storage-type: zfs
{% endif %}
{% endif %}
{% if opnfv.storage_dict.scaleio is defined %}
    scaleio-openstack:
      charm: ./{{ ubuntu.release }}/scaleio-openstack
      series: {{ ubuntu.release }}
      options:
        protection-domains: 'pd1'
{% endif %}