added the softlink to match the jenkin jobs.
[joid.git] / ci / opencontrail / juju-deployer / ovs-opencontrail-nonha.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         "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         secret: admin
116         webroot: /
117       to:
118         - "lxc:nodes-api=0"
119     "nova-compute":
120       branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
121       num_units: 1
122       options:
123         "manage-neutron-plugin-legacy-mode": False
124       to:
125         - "nodes-compute=0"
126 #        - "nodes-compute=1"
127     "nova-cloud-controller":
128       branch: lp:charms/trusty/nova-cloud-controller
129       num_units: 1
130       options:
131         "network-manager": Neutron
132       to:
133         - "lxc:nodes-api=0"
134     "neutron-api":
135       branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
136       num_units: 1
137       options:
138         manage-neutron-plugin-legacy-mode: False
139       to:
140         - "lxc:nodes-api=0"
141     "glance":
142       branch: lp:charms/trusty/glance
143       num_units: 1
144       to:
145         - "lxc:nodes-api=0"
146     opnfv-promise:
147       branch: lp:~narindergupta/charms/trusty/promise/trunk
148       num_units: 1
149       to:
150         - "lxc:nodes-api=0"
151   relations:
152     - [ keystone, mysql ]
153     - [ nova-cloud-controller, mysql ]
154     - [ nova-cloud-controller, rabbitmq-server ]
155     - [ nova-cloud-controller, glance ]
156     - [ nova-cloud-controller, keystone ]
157     - [ nova-compute, nova-cloud-controller ]
158     - [ "nova-compute:shared-db", "mysql:shared-db" ]
159     - [ "nova-compute:amqp", "rabbitmq-server:amqp" ]
160     - [ nova-compute, glance ]
161     - [ glance, mysql ]
162     - [ glance, keystone ]
163     - [ openstack-dashboard, keystone ]
164     - [ neutron-api, mysql ]
165     - [ neutron-api, rabbitmq-server ]
166     - [ neutron-api, nova-cloud-controller ]
167     - [ neutron-api, keystone ]
168     - [ neutron-api, neutron-api-contrail ]
169     - [ "ceilometer:amqp", "rabbitmq-server:amqp" ]
170     - [ "ceilometer-agent:ceilometer-service", "ceilometer:ceilometer-service" ]
171     - [ "ceilometer:identity-service", "keystone:identity-service" ]
172     - [ "ceilometer:identity-notifications", "keystone:identity-notifications" ]
173     - [ "ceilometer-agent:nova-ceilometer", "nova-compute:nova-ceilometer" ]
174     - [ "ceilometer:shared-db", "mongodb:database" ]
175     - [ "heat:shared-db", "mysql:shared-db" ]
176     - [ "heat:identity-service", "keystone:identity-service" ]
177     - [ "heat:amqp", "rabbitmq-server:amqp" ]
178     - [ "cinder:image-service", "glance:image-service" ]
179     - [ "cinder:amqp", "rabbitmq-server:amqp" ]
180     - [ "cinder:identity-service", "keystone:identity-service" ]
181     - [ "cinder:cinder-volume-service", "nova-cloud-controller:cinder-volume-service" ]
182     - [ "cinder-ceph:storage-backend", "cinder:storage-backend" ]
183     - [ "ceph:client", "nova-compute:ceph" ]
184     - [ "cinder:shared-db", "mysql:shared-db" ]
185     - [ "ceph:client", "cinder-ceph:ceph" ]
186     - [ "ceph:client", "glance:ceph" ]
187 contrail:
188   inherits: openstack-phase2
189   services:
190     contrail-configuration:
191       branch:  lp:~sdn-charmers/charms/trusty/contrail-configuration/trunk
192       to:
193         - "lxc:nodes-api=0"
194     contrail-control:
195       branch: lp:~sdn-charmers/charms/trusty/contrail-control/trunk
196       to:
197         - "lxc:nodes-api=0"
198     contrail-analytics:
199       branch: lp:~sdn-charmers/charms/trusty/contrail-analytics/trunk
200       to:
201         - "lxc:nodes-api=0"
202     contrail-webui:
203       branch: lp:~sdn-charmers/charms/trusty/contrail-webui/trunk
204       to:
205         - "lxc:nodes-api=0"
206     neutron-api-contrail:
207       branch: lp:~sdn-charmers/charms/trusty/neutron-api-contrail/trunk
208     neutron-contrail:
209       branch: lp:~sdn-charmers/charms/trusty/neutron-contrail/trunk
210   relations:
211     - [ "contrail-configuration:cassandra", "cassandra:database" ]
212     - [ contrail-configuration, zookeeper ]
213     - [ contrail-configuration, rabbitmq-server ]
214     - [ contrail-configuration, keystone ]
215     - [ neutron-api-contrail, contrail-configuration ]
216     - [ neutron-api-contrail, keystone ]
217     - [ "contrail-control:contrail-api", "contrail-configuration:contrail-api" ]
218     - [ "contrail-control:contrail-discovery", "contrail-configuration:contrail-discovery" ]
219     - [ "contrail-control:contrail-ifmap", "contrail-configuration:contrail-ifmap" ]
220     - [ contrail-control, keystone ]
221     - [ "contrail-analytics:cassandra", "cassandra:database" ]
222     - [ contrail-analytics, contrail-configuration ]
223     - [ contrail-webui, keystone ]
224     - [ "contrail-webui:contrail_api", "contrail-configuration:contrail-api" ]
225     - [ "contrail-webui:contrail_discovery", "contrail-configuration:contrail-discovery" ]
226     - [ "contrail-webui:cassandra", "cassandra:database" ]
227     - [ nova-compute, neutron-contrail ]
228     - [ "neutron-contrail:contrail-discovery", "contrail-configuration:contrail-discovery" ]
229     - [ "neutron-contrail:contrail-api", "contrail-configuration:contrail-api" ]
230     - [ neutron-contrail, keystone ]
231
232 trusty-liberty-nodes:
233   inherits: openstack-phase1
234   series: trusty
235   overrides:
236     series: trusty
237
238 trusty-liberty:
239   inherits: contrail
240   series: trusty
241   services:
242     mysql:
243       charm: cs:trusty/mysql
244     rabbitmq-server:
245       charm: cs:trusty/rabbitmq-server
246   overrides:
247     series: trusty
248     #os-data-network: 10.4.8.0/21
249     #prefer-ipv6: true
250     region: Canonical
251     openstack-origin: cloud:trusty-liberty
252     source: "cloud:trusty-liberty"
253     ceph-osd-replication-count: 1
254     admin-role: admin
255     keystone-admin-role: admin
256
257 trusty-kilo-nodes:
258   inherits: openstack-phase1
259   series: trusty
260   overrides:
261     series: trusty
262
263 trusty-kilo:
264   inherits: contrail
265   series: trusty
266   services:
267     mysql:
268       charm: cs:trusty/mysql
269     rabbitmq-server:
270       charm: cs:trusty/rabbitmq-server
271   overrides:
272     series: trusty
273     #os-data-network: 10.4.8.0/21
274     #prefer-ipv6: true
275     region: Canonical
276     openstack-origin: cloud:trusty-kilo
277     source: "cloud:trusty-kilo"
278     ceph-osd-replication-count: 1
279     admin-role: admin
280     keystone-admin-role: admin
281
282 trusty-juno-nodes:
283   inherits: openstack-phase1
284   overrides:
285     series: trusty
286
287 trusty-juno:
288   inherits: contrail
289   series: trusty
290   services:
291     mysql:
292       charm: cs:trusty/mysql
293     rabbitmq-server:
294       charm: cs:trusty/rabbitmq-server
295   overrides:
296     series: trusty
297     #os-data-network: 10.4.8.0/21
298     #prefer-ipv6: true
299     region: Canonical
300     openstack-origin: cloud:trusty-juno
301     source: "cloud:trusty-juno"
302     ceph-osd-replication-count: 1
303     admin-role: admin
304     keystone-admin-role: admin
305