cmodfiied to add juju 2.0 support.
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / oclphase1.yaml
1     zookeeper:
2       charm: ./{{ ubuntu.release }}/zookeeper
3       num_units: {{ unit_qty() }}
4       series: {{ ubuntu.release }}
5       to:
6 {% for unit_id in to_select() %}
7         - "lxd:nodes/{{ unit_id }}"
8 {% endfor %}
9     cassandra:
10       charm: ./{{ ubuntu.release }}/cassandra
11       num_units: {{ unit_qty() }}
12       to:
13 {% for unit_id in to_select() %}
14         - "lxd:nodes/{{ unit_id }}"
15 {% endfor %}
16       options:
17         authenticator: AllowAllAuthenticator
18     contrail-configuration:
19       charm: ./{{ ubuntu.release }}/contrail-configuration
20       num_units: {{ unit_qty() }}
21       options:
22         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
23         install-sources: ppa:opencontrail/trunk-20160812
24 {% if os.ha.mode == 'ha' %}
25         vip: {{ opnfv.vip.contrailconfig }}
26 {% endif %}
27       to:
28 {% for unit_id in to_select() %}
29         - "lxd:nodes/{{ unit_id }}"
30 {% endfor %}
31     contrail-control:
32       charm: ./{{ ubuntu.release }}/contrail-control
33       num_units: {{ unit_qty() }}
34       options:
35         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
36         install-sources: ppa:opencontrail/trunk-20160812
37       to:
38 {% for unit_id in to_select() %}
39         - "lxd:nodes/{{ unit_id }}"
40 {% endfor %}
41     contrail-analytics:
42       charm: ./{{ ubuntu.release }}/contrail-analytics
43       num_units: {{ unit_qty() }}
44       options:
45         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
46         install-sources: ppa:opencontrail/trunk-20160812
47       to:
48 {% for unit_id in to_select() %}
49         - "lxd:nodes/{{ unit_id }}"
50 {% endfor %}
51     contrail-webui:
52       charm: ./{{ ubuntu.release }}/contrail-webui
53       num_units: {{ unit_qty() }}
54       options:
55         install-sources: ppa:opencontrail/trunk-20160812
56       to:
57 {% for unit_id in to_select() %}
58         - "lxd:nodes/{{ unit_id }}"
59 {% endfor %}
60     haproxy:
61       charm: ./{{ ubuntu.release }}/haproxy
62       num_units: {{ unit_qty() }}
63       options:
64         peering_mode: active-active
65       to:
66 {% for unit_id in to_select() %}
67         - "lxd:nodes/{{ unit_id }}"
68 {% endfor %}
69     kafka:
70       charm: ./{{ ubuntu.release }}/kafka
71       num_units: {{ unit_qty() }}
72       to:
73 {% for unit_id in to_select() %}
74         - "lxd:nodes/{{ unit_id }}"
75 {% endfor %}
76