Update Congress branch to mitaka
[joid.git] / ci / opencontrail / juju-deployer / ovs-opencontrail-tip.yaml
1 # vim: set ts=2 et:
2 openstack-phase1:
3   series: trusty
4   services:
5     nodes-api:
6       charm: "cs:trusty/ubuntu"
7       num_units: 1
8       constraints: tags=control
9     nodes-compute:
10       charm: "cs:trusty/ubuntu"
11       num_units: 2
12       constraints: tags=compute
13     ntp:
14       charm: "cs:trusty/ntp"
15       options:
16         source: "0.ubuntu.pool.ntp.org 1.ubuntu.pool.ntp.org 2.ubuntu.pool.ntp.org 3.ubuntu.pool.ntp.org"
17         auto_peers: false
18     zookeeper:
19       branch: lp:~charmers/charms/precise/zookeeper/trunk
20       series: precise
21       to:
22         - "lxc:nodes-api=0"
23     cassandra:
24       branch: lp:~stub/charms/trusty/cassandra/noauthentication
25       to:
26         - "lxc:nodes-api=0"
27       options:
28         authenticator: AllowAllAuthenticator
29   relations:
30     - - "ntp:juju-info"
31       - "nodes-api:juju-info"
32     - - "ntp:juju-info"
33       - "nodes-compute:juju-info"
34 openstack-phase2:
35   inherits: openstack-phase1
36   services:
37     mysql:
38       branch: "lp:~openstack-charmers/charms/trusty/percona-cluster/next"
39       num_units: 1
40       options:
41         dataset-size: 2G
42         max-connections: 10000
43       to:
44         - "lxc:nodes-api=0"
45     mongodb:
46       charm: "cs:trusty/mongodb"
47       num_units: 1
48       to:
49         - "lxc:nodes-api=0"
50     ceilometer:
51       branch: "lp:~openstack-charmers/charms/trusty/ceilometer/next"
52       num_units: 1
53       to:
54         - "lxc:nodes-api=0"
55     ceilometer-agent:
56       branch: "lp:~openstack-charmers/charms/trusty/ceilometer-agent/next"
57     heat:
58       branch: "lp:~openstack-charmers/charms/trusty/heat/next"
59       to:
60         - "lxc:nodes-api=0"
61     ceph:
62       branch: "lp:~openstack-charmers/charms/trusty/ceph/next"
63       num_units: 2
64       options:
65         fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
66         monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
67         osd-devices: ""
68         monitor-count: 1
69 #        osd-reformat: 'no'
70 #        ceph-cluster-network: 192.168.0.0/24
71 #        ceph-public-network: 192.168.0.0/24
72       to:
73         - "lxc:nodes-api=0"
74         - "lxc:nodes-api=0"
75     ceph-osd:
76       branch: "lp:~openstack-charmers/charms/trusty/ceph-osd/next"
77       num_units: 2
78       options:
79         osd-devices: /srv
80         osd-reformat: 'yes'
81       to:
82         - "nodes-compute=0"
83         - "nodes-compute=1"
84     ceph-radosgw:
85       branch: "lp:~openstack-charmers/charms/trusty/ceph-radosgw/next"
86       num_units: 1
87       options:
88         use-embedded-webserver: true
89         operator-roles: "Member,admin"
90       to:
91         - "lxc:nodes-api=0"
92     cinder:
93       branch: "lp:~openstack-charmers/charms/trusty/cinder/next"
94       num_units: 1
95       options:
96         block-device: None
97         glance-api-version: 2
98 #        ha-mcastport: 5401
99       to:
100         - "lxc:nodes-api=0"
101     cinder-ceph:
102       branch: "lp:~openstack-charmers/charms/trusty/cinder-ceph/next"
103     rabbitmq-server:
104       branch: lp:~openstack-charmers/charms/trusty/rabbitmq-server/next
105       num_units: 1
106       to:
107         - "lxc:nodes-api=0"
108     keystone:
109       branch: lp:~openstack-charmers/charms/trusty/keystone/next
110       num_units: 1
111       options:
112         openstack-origin-git: include-file://keystone-master.yaml
113         admin-password: openstack
114         admin-token: admin
115       to:
116         - "lxc:nodes-api=0"
117     openstack-dashboard:
118       branch: lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
119       num_units: 1
120       options:
121         openstack-origin-git: include-file://horizon-master.yaml
122         secret: admin
123         webroot: /
124       to:
125         - "lxc:nodes-api=0"
126     nova-compute:
127       branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
128       num_units: 1
129       options:
130         openstack-origin-git: include-file://nova-master.yaml
131         manage-neutron-plugin-legacy-mode: False
132       to:
133         - "nodes-compute=0"
134 #        - "nodes-compute=1"
135     nova-cloud-controller:
136       branch: lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next
137       num_units: 1
138       options:
139         openstack-origin-git: include-file://nova-master.yaml
140         network-manager: Neutron
141       to:
142         - "lxc:nodes-api=0"
143     neutron-api:
144       branch: lp:~opnfv-team/charms/trusty/neutron-api/next
145       num_units: 1
146       options:
147         manage-neutron-plugin-legacy-mode: False
148       to:
149         - "lxc:nodes-api=0"
150     glance:
151       branch: lp:~openstack-charmers/charms/trusty/glance/next
152       num_units: 1
153       options:
154         openstack-origin-git: include-file://glance-master.yaml
155       to:
156         - "lxc:nodes-api=0"
157     opnfv-promise:
158       branch: lp:~narindergupta/charms/trusty/promise/trunk
159       num_units: 1
160       to:
161         - "lxc:nodes-api=0"
162     congress:
163       charm: local:trusty/congress
164       options:
165         source-branch: stable/mitaka
166       to:
167         - "lxc:nodes-api=0"
168   relations:
169     - [ keystone, mysql ]
170     - [ nova-cloud-controller, mysql ]
171     - [ nova-cloud-controller, rabbitmq-server ]
172     - [ nova-cloud-controller, glance ]
173     - [ nova-cloud-controller, keystone ]
174     - [ nova-compute, nova-cloud-controller ]
175     - [ "nova-compute:shared-db", "mysql:shared-db" ]
176     - [ "nova-compute:amqp", "rabbitmq-server:amqp" ]
177     - [ nova-compute, glance ]
178     - [ glance, mysql ]
179     - [ glance, keystone ]
180     - [ openstack-dashboard, keystone ]
181     - [ neutron-api, mysql ]
182     - [ neutron-api, rabbitmq-server ]
183     - [ neutron-api, nova-cloud-controller ]
184     - [ neutron-api, keystone ]
185     - [ neutron-api, neutron-api-contrail ]
186     - [ "ceilometer:amqp", "rabbitmq-server:amqp" ]
187     - [ "ceilometer-agent:ceilometer-service", "ceilometer:ceilometer-service" ]
188     - [ "ceilometer:identity-service", "keystone:identity-service" ]
189     - [ "ceilometer:identity-notifications", "keystone:identity-notifications" ]
190     - [ "ceilometer-agent:nova-ceilometer", "nova-compute:nova-ceilometer" ]
191     - [ "ceilometer:shared-db", "mongodb:database" ]
192     - [ "heat:shared-db", "mysql:shared-db" ]
193     - [ "heat:identity-service", "keystone:identity-service" ]
194     - [ "heat:amqp", "rabbitmq-server:amqp" ]
195     - [ "cinder:image-service", "glance:image-service" ]
196     - [ "cinder:amqp", "rabbitmq-server:amqp" ]
197     - [ "cinder:identity-service", "keystone:identity-service" ]
198     - [ "cinder:cinder-volume-service", "nova-cloud-controller:cinder-volume-service" ]
199     - [ "cinder-ceph:storage-backend", "cinder:storage-backend" ]
200     - [ "ceph:client", "nova-compute:ceph" ]
201     - [ "cinder:shared-db", "mysql:shared-db" ]
202     - [ "ceph:client", "cinder-ceph:ceph" ]
203     - [ "ceph:client", "glance:ceph" ]
204     - - congress:shared-db
205       - mysql:shared-db
206     - - congress:identity-service
207       - keystone:identity-service
208     - - congress:amqp
209       - rabbitmq-server:amqp
210 contrail:
211   inherits: openstack-phase2
212   services:
213     contrail-configuration:
214       branch:  lp:~sdn-charmers/charms/trusty/contrail-configuration/trunk
215       to:
216         - "lxc:nodes-api=0"
217     contrail-control:
218       branch: lp:~sdn-charmers/charms/trusty/contrail-control/trunk
219       to:
220         - "lxc:nodes-api=0"
221     contrail-analytics:
222       branch: lp:~sdn-charmers/charms/trusty/contrail-analytics/trunk
223       to:
224         - "lxc:nodes-api=0"
225     contrail-webui:
226       branch: lp:~sdn-charmers/charms/trusty/contrail-webui/trunk
227       to:
228         - "lxc:nodes-api=0"
229     neutron-api-contrail:
230       branch: lp:~opnfv-team/charms/trusty/neutron-api-contrail/trunk
231     neutron-contrail:
232       branch: lp:~opnfv-team/charms/trusty/neutron-contrail/trunk
233   relations:
234     - [ "contrail-configuration:cassandra", "cassandra:database" ]
235     - [ contrail-configuration, zookeeper ]
236     - [ contrail-configuration, rabbitmq-server ]
237     - [ contrail-configuration, keystone ]
238     - [ neutron-api-contrail, contrail-configuration ]
239     - [ neutron-api-contrail, keystone ]
240     - [ "contrail-control:contrail-api", "contrail-configuration:contrail-api" ]
241     - [ "contrail-control:contrail-discovery", "contrail-configuration:contrail-discovery" ]
242     - [ "contrail-control:contrail-ifmap", "contrail-configuration:contrail-ifmap" ]
243     - [ contrail-control, keystone ]
244     - [ "contrail-analytics:cassandra", "cassandra:database" ]
245     - [ "contrail-analytics:contrail-analytics-api", "contrail-configuration:contrail-analytics-api" ]
246     - [ "contrail-configuration:contrail-discovery", "contrail-analytics:contrail-discovery" ]
247     - [ contrail-webui, keystone ]
248     - [ "contrail-webui:contrail_api", "contrail-configuration:contrail-api" ]
249     - [ "contrail-webui:contrail_discovery", "contrail-configuration:contrail-discovery" ]
250     - [ "contrail-webui:cassandra", "cassandra:database" ]
251     - [ nova-compute, neutron-contrail ]
252     - [ "neutron-contrail:contrail-discovery", "contrail-configuration:contrail-discovery" ]
253     - [ "neutron-contrail:contrail-api", "contrail-configuration:contrail-api" ]
254     - [ neutron-contrail, keystone ]
255     - [ contrail-configuration, ntp ]
256     - [ contrail-control, ntp ]
257     - [ contrail-analytics, ntp ]
258     - [ "ceph-osd:mon", "ceph:osd" ]
259     - [ "ceph-radosgw:mon", "ceph:radosgw" ]
260     - [ "ceph-radosgw:identity-service", "keystone:identity-service" ]
261
262 trusty-liberty-nodes:
263   inherits: openstack-phase1
264   overrides:
265     series: trusty
266
267 trusty-liberty:
268   inherits: contrail
269   series: trusty
270   overrides:
271     series: trusty
272     #os-data-network: 10.4.8.0/21
273     #ceph-cluster-network: 10.4.0.0/21
274     #prefer-ipv6: true
275     region: Canonical
276     openstack-origin: cloud:trusty-liberty
277     source: "cloud:trusty-liberty"
278     ceph-osd-replication-count: 2
279     admin-role: admin
280     keystone-admin-role: admin
281
282 trusty-kilo-nodes:
283   inherits: openstack-phase1
284   overrides:
285     series: trusty
286
287 trusty-kilo:
288   inherits: contrail
289   series: trusty
290   overrides:
291     series: trusty
292     #os-data-network: 10.4.8.0/21
293     #ceph-cluster-network: 10.4.0.0/21
294     #prefer-ipv6: true
295     region: Canonical
296     openstack-origin: cloud:trusty-kilo
297     source: "cloud:trusty-kilo"
298     ceph-osd-replication-count: 2
299     admin-role: admin
300     keystone-admin-role: admin
301
302 trusty-juno-nodes:
303   inherits: openstack-phase1
304   overrides:
305     series: trusty
306
307 trusty-juno:
308   inherits: contrail
309   series: trusty
310   overrides:
311     series: trusty
312     #os-data-network: 10.4.8.0/21
313     #ceph-cluster-network: 10.4.0.0/21
314     #prefer-ipv6: true
315     region: Canonical
316     openstack-origin: cloud:trusty-juno
317     source: "cloud:trusty-juno"
318     ceph-osd-replication-count: 2
319     admin-role: admin
320     keystone-admin-role: admin
321