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