summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/bundle_tpl/oclphase1.yaml
blob: afef96c04991a2c6542d87e4752f667d1ccd9978 (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
    zookeeper:
      charm: local:precise/zookeeper
      num_units: {{ unit_qty() }}
      series: precise
      to:
{% for unit_id in to_select() %}
        - "lxc:nodes={{ unit_id }}"
{% endfor %}
    cassandra:
      charm: local:{{ ubuntu.release }}/cassandra
      num_units: {{ unit_qty() }}
      to:
{% for unit_id in to_select() %}
        - "lxc:nodes={{ unit_id }}"
{% endfor %}
      options:
        authenticator: AllowAllAuthenticator
    contrail-configuration:
      charm: local:{{ ubuntu.release }}/contrail-configuration
      num_units: {{ unit_qty() }}
      options:
{% if os.ha.mode == 'ha' %}
        vip: {{ opnfv.vip.contrailconfig }}
{% endif %}
      to:
{% for unit_id in to_select() %}
        - "lxc:nodes={{ unit_id }}"
{% endfor %}
    contrail-control:
      charm: local:{{ ubuntu.release }}/contrail-control
      num_units: {{ unit_qty() }}
      to:
{% for unit_id in to_select() %}
        - "lxc:nodes={{ unit_id }}"
{% endfor %}
    contrail-analytics:
      charm: local:{{ ubuntu.release }}/contrail-analytics
      num_units: {{ unit_qty() }}
      to:
{% for unit_id in to_select() %}
        - "lxc:nodes={{ unit_id }}"
{% endfor %}
    contrail-webui:
      charm: local:{{ ubuntu.release }}/contrail-webui
      num_units: {{ unit_qty() }}
      to:
{% for unit_id in to_select() %}
        - "lxc:nodes={{ unit_id }}"
{% endfor %}
    haproxy:
      charm: local:{{ ubuntu.release }}/haproxy
      num_units: {{ unit_qty() }}
      options:
        peering_mode: active-active
      to:
{% for unit_id in to_select() %}
        - "lxc:nodes={{ unit_id }}"
{% endfor %}