summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/oclphase1.yaml
blob: 28866fbec19a8400d3696ecd2b40392f90d47a5a (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
75
76
    zookeeper:
      charm: ./{{ ubuntu.release }}/zookeeper
      num_units: {{ unit_qty() }}
      series: {{ ubuntu.release }}
      to:
{% for unit_id in to_select() %}
        - "lxd:nodes/{{ unit_id }}"
{% endfor %}
    cassandra:
      charm: ./{{ ubuntu.release }}/cassandra
      num_units: {{ unit_qty() }}
      to:
{% for unit_id in to_select() %}
        - "lxd:nodes/{{ unit_id }}"
{% endfor %}
      options:
        authenticator: AllowAllAuthenticator
    contrail-configuration:
      charm: ./{{ ubuntu.release }}/contrail-configuration
      num_units: {{ unit_qty() }}
      options:
        openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
        install-sources: ppa:opencontrail/trunk-20160812
{% if os.ha.mode == 'ha' %}
        vip: {{ opnfv.vip.contrailconfig }}
{% endif %}
      to:
{% for unit_id in to_select() %}
        - "lxd:nodes/{{ unit_id }}"
{% endfor %}
    contrail-control:
      charm: ./{{ ubuntu.release }}/contrail-control
      num_units: {{ unit_qty() }}
      options:
        openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
        install-sources: ppa:opencontrail/trunk-20160812
      to:
{% for unit_id in to_select() %}
        - "lxd:nodes/{{ unit_id }}"
{% endfor %}
    contrail-analytics:
      charm: ./{{ ubuntu.release }}/contrail-analytics
      num_units: {{ unit_qty() }}
      options:
        openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
        install-sources: ppa:opencontrail/trunk-20160812
      to:
{% for unit_id in to_select() %}
        - "lxd:nodes/{{ unit_id }}"
{% endfor %}
    contrail-webui:
      charm: ./{{ ubuntu.release }}/contrail-webui
      num_units: {{ unit_qty() }}
      options:
        install-sources: ppa:opencontrail/trunk-20160812
      to:
{% for unit_id in to_select() %}
        - "lxd:nodes/{{ unit_id }}"
{% endfor %}
    haproxy:
      charm: ./{{ ubuntu.release }}/haproxy
      num_units: {{ unit_qty() }}
      options:
        peering_mode: active-active
      to:
{% for unit_id in to_select() %}
        - "lxd:nodes/{{ unit_id }}"
{% endfor %}
    kafka:
      charm: ./{{ ubuntu.release }}/kafka
      num_units: {{ unit_qty() }}
      to:
{% for unit_id in to_select() %}
        - "lxd:nodes/{{ unit_id }}"
{% endfor %}