25c81b1629d98a0942bc5397b3ecd2d7d2204156
[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: 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: ""
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         - "lxc:nodes-api=0"
71     ceph-osd:
72       charm: cs:trusty/ceph-osd
73       num_units: 1
74       options:
75         osd-devices: /srv
76         osd-reformat: 'yes'
77       to:
78         - "nodes-compute=0"
79     ceph-radosgw:
80       charm: cs:trusty/ceph-radosgw
81       num_units: 1
82       options:
83         use-embedded-webserver: true
84       to:
85         - "lxc:nodes-api=0"
86     cinder:
87       charm: cs:trusty/cinder
88       num_units: 1
89       options:
90         block-device: None
91         glance-api-version: 2
92 #        ha-mcastport: 5401
93       to:
94         - "lxc:nodes-api=0"
95     cinder-ceph:
96       charm: cs:trusty/cinder-ceph
97     "rabbitmq-server":
98       branch: lp:charms/trusty/rabbitmq-server
99       num_units: 1
100       to:
101         - "lxc:nodes-api=0"
102     "keystone":
103       branch: lp:charms/trusty/keystone
104       num_units: 1
105       options:
106         openstack-origin-git: include-file://keystone-master.yaml
107         "admin-password": openstack
108         "admin-token": admin
109       to:
110         - "lxc:nodes-api=0"
111     "openstack-dashboard":
112       branch: lp:charms/trusty/openstack-dashboard
113       num_units: 1
114       options:
115         openstack-origin-git: include-file://horizon-master.yaml
116         secret: admin
117         webroot: /
118       to:
119         - "lxc:nodes-api=0"
120     "nova-compute":
121       branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
122       num_units: 1
123       options:
124         openstack-origin-git: include-file://nova-master.yaml
125         "manage-neutron-plugin-legacy-mode": False
126       to:
127         - "nodes-compute=0"
128 #        - "nodes-compute=1"
129     "nova-cloud-controller":
130       branch: lp:charms/trusty/nova-cloud-controller
131       num_units: 1
132       options:
133         openstack-origin-git: include-file://nova-master.yaml
134         "network-manager": Neutron
135       to:
136         - "lxc:nodes-api=0"
137     "neutron-api":
138       branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
139       num_units: 1
140       options:
141         manage-neutron-plugin-legacy-mode: False
142       to:
143         - "lxc:nodes-api=0"
144     "glance":
145       branch: lp:charms/trusty/glance
146       num_units: 1
147       options:
148         openstack-origin-git: include-file://glance-master.yaml
149       to:
150         - "lxc:nodes-api=0"
151     opnfv-promise:
152       branch: lp:~narindergupta/charms/trusty/promise/trunk
153       num_units: 1
154       to:
155         - "lxc:nodes-api=0"
156   relations:
157     - [ keystone, mysql ]
158     - [ nova-cloud-controller, mysql ]
159     - [ nova-cloud-controller, rabbitmq-server ]
160     - [ nova-cloud-controller, glance ]
161     - [ nova-cloud-controller, keystone ]
162     - [ nova-compute, nova-cloud-controller ]
163     - [ "nova-compute:shared-db", "mysql:shared-db" ]
164     - [ "nova-compute:amqp", "rabbitmq-server:amqp" ]
165     - [ nova-compute, glance ]
166     - [ glance, mysql ]
167     - [ glance, keystone ]
168     - [ openstack-dashboard, keystone ]
169     - [ neutron-api, mysql ]
170     - [ neutron-api, rabbitmq-server ]
171     - [ neutron-api, nova-cloud-controller ]
172     - [ neutron-api, keystone ]
173     - [ neutron-api, neutron-api-contrail ]
174     - [ "ceilometer:amqp", "rabbitmq-server:amqp" ]
175     - [ "ceilometer-agent:ceilometer-service", "ceilometer:ceilometer-service" ]
176     - [ "ceilometer:identity-service", "keystone:identity-service" ]
177     - [ "ceilometer:identity-notifications", "keystone:identity-notifications" ]
178     - [ "ceilometer-agent:nova-ceilometer", "nova-compute:nova-ceilometer" ]
179     - [ "ceilometer:shared-db", "mongodb:database" ]
180     - [ "heat:shared-db", "mysql:shared-db" ]
181     - [ "heat:identity-service", "keystone:identity-service" ]
182     - [ "heat:amqp", "rabbitmq-server:amqp" ]
183     - [ "cinder:image-service", "glance:image-service" ]
184     - [ "cinder:amqp", "rabbitmq-server:amqp" ]
185     - [ "cinder:identity-service", "keystone:identity-service" ]
186     - [ "cinder:cinder-volume-service", "nova-cloud-controller:cinder-volume-service" ]
187     - [ "cinder-ceph:storage-backend", "cinder:storage-backend" ]
188     - [ "ceph:client", "nova-compute:ceph" ]
189     - [ "cinder:shared-db", "mysql:shared-db" ]
190     - [ "ceph:client", "cinder-ceph:ceph" ]
191     - [ "ceph:client", "glance:ceph" ]
192 contrail:
193   inherits: openstack-phase2
194   services:
195     contrail-configuration:
196       branch:  lp:~sdn-charmers/charms/trusty/contrail-configuration/trunk
197       to:
198         - "lxc:nodes-api=0"
199     contrail-control:
200       branch: lp:~sdn-charmers/charms/trusty/contrail-control/trunk
201       to:
202         - "lxc:nodes-api=0"
203     contrail-analytics:
204       branch: lp:~sdn-charmers/charms/trusty/contrail-analytics/trunk
205       to:
206         - "lxc:nodes-api=0"
207     contrail-webui:
208       branch: lp:~sdn-charmers/charms/trusty/contrail-webui/trunk
209       to:
210         - "lxc:nodes-api=0"
211     neutron-api-contrail:
212       branch: lp:~sdn-charmers/charms/trusty/neutron-api-contrail/trunk
213     neutron-contrail:
214       branch: lp:~sdn-charmers/charms/trusty/neutron-contrail/trunk
215   relations:
216     - [ "contrail-configuration:cassandra", "cassandra:database" ]
217     - [ contrail-configuration, zookeeper ]
218     - [ contrail-configuration, rabbitmq-server ]
219     - [ contrail-configuration, keystone ]
220     - [ neutron-api-contrail, contrail-configuration ]
221     - [ neutron-api-contrail, keystone ]
222     - [ "contrail-control:contrail-api", "contrail-configuration:contrail-api" ]
223     - [ "contrail-control:contrail-discovery", "contrail-configuration:contrail-discovery" ]
224     - [ "contrail-control:contrail-ifmap", "contrail-configuration:contrail-ifmap" ]
225     - [ contrail-control, keystone ]
226     - [ "contrail-analytics:cassandra", "cassandra:database" ]
227     - [ contrail-analytics, contrail-configuration ]
228     - [ contrail-webui, keystone ]
229     - [ "contrail-webui:contrail_api", "contrail-configuration:contrail-api" ]
230     - [ "contrail-webui:contrail_discovery", "contrail-configuration:contrail-discovery" ]
231     - [ "contrail-webui:cassandra", "cassandra:database" ]
232     - [ nova-compute, neutron-contrail ]
233     - [ "neutron-contrail:contrail-discovery", "contrail-configuration:contrail-discovery" ]
234     - [ "neutron-contrail:contrail-api", "contrail-configuration:contrail-api" ]
235     - [ neutron-contrail, keystone ]
236     - [ "ceph-osd:mon", "ceph:osd" ]
237     - [ "ceph-radosgw:mon", "ceph:radosgw" ]
238     - [ "ceph-radosgw:identity-service", "keystone:identity-service" ]
239 trusty-liberty-nodes:
240   inherits: openstack-phase1
241   series: trusty
242   overrides:
243     series: trusty
244
245 trusty-liberty:
246   inherits: contrail
247   series: trusty
248   services:
249     mysql:
250       charm: cs:trusty/mysql
251     rabbitmq-server:
252       charm: cs:trusty/rabbitmq-server
253   overrides:
254     series: trusty
255     #os-data-network: 10.4.8.0/21
256     #ceph-cluster-network: 10.4.0.0/21
257     #prefer-ipv6: true
258     region: Canonical
259     openstack-origin: cloud:trusty-liberty
260     source: "cloud:trusty-liberty"
261     ceph-osd-replication-count: 1
262     admin-role: admin
263     keystone-admin-role: admin
264
265 trusty-kilo-nodes:
266   inherits: openstack-phase1
267   series: trusty
268   overrides:
269     series: trusty
270
271 trusty-kilo:
272   inherits: contrail
273   series: trusty
274   services:
275     mysql:
276       charm: cs:trusty/mysql
277     rabbitmq-server:
278       charm: cs:trusty/rabbitmq-server
279   overrides:
280     series: trusty
281     #os-data-network: 10.4.8.0/21
282     #ceph-cluster-network: 10.4.0.0/21
283     #prefer-ipv6: true
284     region: Canonical
285     openstack-origin: cloud:trusty-kilo
286     source: "cloud:trusty-kilo"
287     ceph-osd-replication-count: 1
288     admin-role: admin
289     keystone-admin-role: admin
290
291 trusty-juno-nodes:
292   inherits: openstack-phase1
293   overrides:
294     series: trusty
295
296 trusty-juno:
297   inherits: contrail
298   series: trusty
299   services:
300     mysql:
301       charm: cs:trusty/mysql
302     rabbitmq-server:
303       charm: cs:trusty/rabbitmq-server
304   overrides:
305     series: trusty
306     #os-data-network: 10.4.8.0/21
307     #ceph-cluster-network: 10.4.0.0/21
308     #prefer-ipv6: true
309     region: Canonical
310     openstack-origin: cloud:trusty-juno
311     source: "cloud:trusty-juno"
312     ceph-osd-replication-count: 1
313     admin-role: admin
314     keystone-admin-role: admin
315