modified to fix the typo error.
[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   relations:
163     - [ keystone, mysql ]
164     - [ nova-cloud-controller, mysql ]
165     - [ nova-cloud-controller, rabbitmq-server ]
166     - [ nova-cloud-controller, glance ]
167     - [ nova-cloud-controller, keystone ]
168     - [ nova-compute, nova-cloud-controller ]
169     - [ "nova-compute:shared-db", "mysql:shared-db" ]
170     - [ "nova-compute:amqp", "rabbitmq-server:amqp" ]
171     - [ nova-compute, glance ]
172     - [ glance, mysql ]
173     - [ glance, keystone ]
174     - [ openstack-dashboard, keystone ]
175     - [ neutron-api, mysql ]
176     - [ neutron-api, rabbitmq-server ]
177     - [ neutron-api, nova-cloud-controller ]
178     - [ neutron-api, keystone ]
179     - [ neutron-api, neutron-api-contrail ]
180     - [ "ceilometer:amqp", "rabbitmq-server:amqp" ]
181     - [ "ceilometer-agent:ceilometer-service", "ceilometer:ceilometer-service" ]
182     - [ "ceilometer:identity-service", "keystone:identity-service" ]
183     - [ "ceilometer:identity-notifications", "keystone:identity-notifications" ]
184     - [ "ceilometer-agent:nova-ceilometer", "nova-compute:nova-ceilometer" ]
185     - [ "ceilometer:shared-db", "mongodb:database" ]
186     - [ "heat:shared-db", "mysql:shared-db" ]
187     - [ "heat:identity-service", "keystone:identity-service" ]
188     - [ "heat:amqp", "rabbitmq-server:amqp" ]
189     - [ "cinder:image-service", "glance:image-service" ]
190     - [ "cinder:amqp", "rabbitmq-server:amqp" ]
191     - [ "cinder:identity-service", "keystone:identity-service" ]
192     - [ "cinder:cinder-volume-service", "nova-cloud-controller:cinder-volume-service" ]
193     - [ "cinder-ceph:storage-backend", "cinder:storage-backend" ]
194     - [ "ceph:client", "nova-compute:ceph" ]
195     - [ "cinder:shared-db", "mysql:shared-db" ]
196     - [ "ceph:client", "cinder-ceph:ceph" ]
197     - [ "ceph:client", "glance:ceph" ]
198 contrail:
199   inherits: openstack-phase2
200   services:
201     contrail-configuration:
202       branch:  lp:~sdn-charmers/charms/trusty/contrail-configuration/trunk
203       to:
204         - "lxc:nodes-api=0"
205     contrail-control:
206       branch: lp:~sdn-charmers/charms/trusty/contrail-control/trunk
207       to:
208         - "lxc:nodes-api=0"
209     contrail-analytics:
210       branch: lp:~sdn-charmers/charms/trusty/contrail-analytics/trunk
211       to:
212         - "lxc:nodes-api=0"
213     contrail-webui:
214       branch: lp:~sdn-charmers/charms/trusty/contrail-webui/trunk
215       to:
216         - "lxc:nodes-api=0"
217     neutron-api-contrail:
218       branch: lp:~opnfv-team/charms/trusty/neutron-api-contrail/trunk
219     neutron-contrail:
220       branch: lp:~opnfv-team/charms/trusty/neutron-contrail/trunk
221   relations:
222     - [ "contrail-configuration:cassandra", "cassandra:database" ]
223     - [ contrail-configuration, zookeeper ]
224     - [ contrail-configuration, rabbitmq-server ]
225     - [ contrail-configuration, keystone ]
226     - [ neutron-api-contrail, contrail-configuration ]
227     - [ neutron-api-contrail, keystone ]
228     - [ "contrail-control:contrail-api", "contrail-configuration:contrail-api" ]
229     - [ "contrail-control:contrail-discovery", "contrail-configuration:contrail-discovery" ]
230     - [ "contrail-control:contrail-ifmap", "contrail-configuration:contrail-ifmap" ]
231     - [ contrail-control, keystone ]
232     - [ "contrail-analytics:cassandra", "cassandra:database" ]
233     - [ "contrail-analytics:contrail-analytics-api", "contrail-configuration:contrail-analytics-api" ]
234     - [ "contrail-configuration:contrail-discovery", "contrail-analytics:contrail-discovery" ]
235     - [ contrail-webui, keystone ]
236     - [ "contrail-webui:contrail_api", "contrail-configuration:contrail-api" ]
237     - [ "contrail-webui:contrail_discovery", "contrail-configuration:contrail-discovery" ]
238     - [ "contrail-webui:cassandra", "cassandra:database" ]
239     - [ nova-compute, neutron-contrail ]
240     - [ "neutron-contrail:contrail-discovery", "contrail-configuration:contrail-discovery" ]
241     - [ "neutron-contrail:contrail-api", "contrail-configuration:contrail-api" ]
242     - [ neutron-contrail, keystone ]
243     - [ contrail-configuration, ntp ]
244     - [ contrail-control, ntp ]
245     - [ contrail-analytics, ntp ]
246     - [ "ceph-osd:mon", "ceph:osd" ]
247     - [ "ceph-radosgw:mon", "ceph:radosgw" ]
248     - [ "ceph-radosgw:identity-service", "keystone:identity-service" ]
249
250 trusty-liberty-nodes:
251   inherits: openstack-phase1
252   overrides:
253     series: trusty
254
255 trusty-liberty:
256   inherits: contrail
257   series: trusty
258   overrides:
259     series: trusty
260     #os-data-network: 10.4.8.0/21
261     #ceph-cluster-network: 10.4.0.0/21
262     #prefer-ipv6: true
263     region: Canonical
264     openstack-origin: cloud:trusty-liberty
265     source: "cloud:trusty-liberty"
266     ceph-osd-replication-count: 2
267     admin-role: admin
268     keystone-admin-role: admin
269
270 trusty-kilo-nodes:
271   inherits: openstack-phase1
272   overrides:
273     series: trusty
274
275 trusty-kilo:
276   inherits: contrail
277   series: trusty
278   overrides:
279     series: trusty
280     #os-data-network: 10.4.8.0/21
281     #ceph-cluster-network: 10.4.0.0/21
282     #prefer-ipv6: true
283     region: Canonical
284     openstack-origin: cloud:trusty-kilo
285     source: "cloud:trusty-kilo"
286     ceph-osd-replication-count: 2
287     admin-role: admin
288     keystone-admin-role: admin
289
290 trusty-juno-nodes:
291   inherits: openstack-phase1
292   overrides:
293     series: trusty
294
295 trusty-juno:
296   inherits: contrail
297   series: trusty
298   overrides:
299     series: trusty
300     #os-data-network: 10.4.8.0/21
301     #ceph-cluster-network: 10.4.0.0/21
302     #prefer-ipv6: true
303     region: Canonical
304     openstack-origin: cloud:trusty-juno
305     source: "cloud:trusty-juno"
306     ceph-osd-replication-count: 2
307     admin-role: admin
308     keystone-admin-role: admin
309