modified to include the gatway mac as part of deployment.
[joid.git] / ci / onos / juju-deployer / ovs-onos-ha.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: 3
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   relations:
16     - - "ntp:juju-info"
17       - "nodes-api:juju-info"
18     - - "ntp:juju-info"
19       - "nodes-compute:juju-info"
20 openstack-phase2:
21   inherits: openstack-phase1
22   services:
23     percona-cluster:
24       branch: "lp:~openstack-charmers/charms/trusty/percona-cluster/next"
25       num_units: 3
26       options:
27         dataset-size: 2G
28         lp1366997-workaround: true
29         max-connections: 10000
30         root-password: 293rhc395m
31         sst-password: 127rc14t51
32         vip: 10.4.1.15
33       to:
34         - "lxc:nodes-api=1"
35         - "lxc:nodes-api=0"
36         - "lxc:nodes-api=2"
37     hacluster-keystone:
38       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
39       options:
40         corosync_key: |
41           'QisjNpoKHLkvyc3PEdDHP5VZjgD0kOk9t0ABPWmCELlu5AgWgnW6bJd34BVXO7VhW+3ZwNQM3W+bZ3pl28ftY4ki4N/S0KLFNia5egFgiA3AH2QXLnokS7OYXuu6GMJJ1S5mDe6P5zU+tfJe/Mebq24u7CgR0gAvohSPRdDTwdY='
42     hacluster-horizon:
43       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
44       options:
45         corosync_key: |
46           'aCVPHw6XYne+Hxv0WPiM3+yEfeIxs0Ly0EMKB494Rdzjf5rE52GcXqqxuvIa/nXJ4GCR+UdKk9FEwcASfYkeu3HDWUld9uTE6pOc+ibWYnybNH7VBfEHW8h9YmQKs3HD2T3wlTcS2irU4CUW7/IKNok4etYdM3iFn1K2ReSGXEI='
47     hacluster-nova:
48       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
49       options:
50         corosync_key: |
51           'gel86qmEze8dYKYbfqIgRpqapJpKtdYL2hxC1y5nWYBPq7EMf6V8mF01IjeUkSRs14CUDrsPpT4PWeom7EOY2fleuLx/aIuqQUfEDkhf/gvaz7BaU4hrmTCoDBK7/HvEwY+/wu4qkEeckzSRPsm9MYzqnLRshh8yjZJ70xU/mmk='
52     hacluster-neutron: 
53       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
54       options:
55         corosync_key: |
56           'KNhb4++3jlllbnscS5D3qdzOJDsQPEeZ7zOLZJHbkKrRjX9gRCijVVOiv2JCvq03HqQ7LIufQzWGl9Za8qh0f6QmQ3XhFh/Cb/3WaYFj+tEf0zArWv+8miswmM1z4eyTSrTWBq0dTgx1z96wjBxP5HV0+1LWW+3Ei4oZWyRGeR0='
57     hacluster-glance:
58       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
59       options:
60         corosync_key: |
61           'el1dd8107J5mwQDPS7tEJPZrr0XFfL95+Tku/QG90W5Q5f5SP4W8TRfKvddGmZWZl2lVd1neG5WqaHa1mq/aScJpoflzVAJCvshN7Gd2AjHhLNNugeI8S90j/7wrKUhqiCAlkKaeri2xs5bB5PZ7Z9AHuNZL7SW1al8lxrKhUFI='
62     hacluster-ceilometer:
63       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
64       options:
65         corosync_key: |
66           'cHkgKGJpdHMgPSA5NjApLgpQcmVzcyBrZXlzIG9uIHlvdXIga2V5Ym9hcmQgdG8gZ2VuZXJhdGUgZW50cm9weSAoYml0cyA9IDEwMDgpLgpXcml0aW5nIGNvcm9zeW5jIGtleSB0byAvZXRjL2Nvcm9zeW5jL2F1dGhrZXkuCg=='
67     ceilometer:
68       branch: "lp:~openstack-charmers/charms/trusty/ceilometer/next"
69       num_units: 3
70       options:
71         vip: 10.4.1.14
72       to:
73         - "lxc:nodes-api=2"
74         - "lxc:nodes-api=0"
75         - "lxc:nodes-api=1"
76     ceilometer-agent:
77       branch: "lp:~openstack-charmers/charms/trusty/ceilometer-agent/next"
78     mongodb:
79       charm: "cs:trusty/mongodb"
80       num_units: 1
81       to:
82         - "lxc:nodes-api=0"
83     heat:
84       branch: "lp:~openstack-charmers/charms/trusty/heat/next"
85       to:
86         - "lxc:nodes-api=0"
87     ceph:
88       branch: "lp:~openstack-charmers/charms/trusty/ceph/next"
89       num_units: 3
90       options:
91         fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
92         monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
93         osd-devices: ""
94         monitor-count: 3
95 #        osd-reformat: 'no'
96 #        ceph-cluster-network: 192.168.0.0/24
97 #        ceph-public-network: 192.168.0.0/24
98       to:
99         - "lxc:nodes-api=2"
100         - "lxc:nodes-api=0"
101         - "lxc:nodes-api=1"
102     ceph-osd:
103       branch: "lp:~openstack-charmers/charms/trusty/ceph-osd/next"
104       num_units: 2
105       options:
106         osd-devices: /srv
107         osd-reformat: 'yes'
108       to:
109         - "nodes-compute=0"
110         - "nodes-compute=1"
111     ceph-radosgw:
112       branch: "lp:~openstack-charmers/charms/trusty/ceph-radosgw/next"
113       num_units: 3
114       options:
115         use-embedded-webserver: true
116         operator-roles: "Member,admin"
117       to:
118         - "lxc:nodes-api=1"
119         - "lxc:nodes-api=0"
120         - "lxc:nodes-api=2"
121
122     cinder:
123       branch: "lp:~openstack-charmers/charms/trusty/cinder/next"
124       num_units: 3
125       options:
126         block-device: None
127         glance-api-version: 2
128 #        ha-mcastport: 5401
129       to:
130         - "lxc:nodes-api=2"
131         - "lxc:nodes-api=0"
132         - "lxc:nodes-api=1"
133     cinder-ceph:
134       branch: "lp:~openstack-charmers/charms/trusty/cinder-ceph/next"
135     rabbitmq-server: 
136       branch: "lp:~openstack-charmers/charms/trusty/rabbitmq-server/next"
137       num_units: 3
138       to:
139         - "lxc:nodes-api=0"
140         - "lxc:nodes-api=1"
141         - "lxc:nodes-api=2"
142     keystone: 
143       branch: "lp:~openstack-charmers/charms/trusty/keystone/next"
144       num_units: 3
145       options: 
146 #        ha-mcastport: 5402
147         admin-password: openstack
148         admin-token: admin
149         vip: 10.4.1.13
150       to:
151         - "lxc:nodes-api=1"
152         - "lxc:nodes-api=0"
153         - "lxc:nodes-api=2"
154     openstack-dashboard: 
155       branch: "lp:~openstack-charmers/charms/trusty/openstack-dashboard/next"
156       num_units: 3
157       options: 
158         secret: admin
159         vip: 10.4.1.11
160         webroot: /
161       to:
162         - "lxc:nodes-api=2"
163         - "lxc:nodes-api=0"
164         - "lxc:nodes-api=1"
165     nova-compute: 
166       branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
167       num_units: 2
168       options: 
169         enable-live-migration: true
170         enable-resize: true
171         manage-neutron-plugin-legacy-mode: false
172         migration-auth-type: ssh
173       to:
174         - "nodes-compute=0"
175         - "nodes-compute=1"
176 #        - "nodes-api=0"
177 #        - "nodes-api=1"
178 #        - "nodes-api=2"
179     nova-cloud-controller:
180       branch: "lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next"
181       num_units: 3
182       options:
183         console-access-protocol: novnc
184         network-manager: Neutron
185         quantum-security-groups: "yes"
186         service-guard: true
187         vip: 10.4.1.16
188       to:
189         - "lxc:nodes-api=1"
190         - "lxc:nodes-api=0"
191         - "lxc:nodes-api=2"
192     neutron-api:
193       branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
194       num_units: 3
195       options:
196         neutron-security-groups: True
197         manage-neutron-plugin-legacy-mode: False
198         vip: 10.4.1.17
199       to:
200         - "lxc:nodes-api=2"
201         - "lxc:nodes-api=0"
202         - "lxc:nodes-api=1"
203     neutron-gateway:
204       branch: "lp:~wuwenbin2/onosfw/neutron-gateway"
205       options:
206         #ext-port: "eth1"
207         plugin: onos
208         instance-mtu: 1400
209       to:
210         - "nodes-api=0"
211     onos-controller:
212       branch: "lp:~wuwenbin2/onosfw/onos-controller"
213       options:
214         #ext-port: "eth1"
215         #gateway-mac: "default"
216       to:
217         - "lxc:nodes-api=1"
218     glance:
219       branch: lp:~openstack-charmers/charms/trusty/glance/next
220       num_units: 3
221       options:
222         vip: 10.4.1.12
223 #        ha-mcastport: 5402
224       to:
225         - "lxc:nodes-api=2"
226         - "lxc:nodes-api=0"
227         - "lxc:nodes-api=1"
228     opnfv-promise:
229       branch: lp:~narindergupta/charms/trusty/promise/trunk
230       num_units: 1
231       to:
232         - "lxc:nodes-api=2"
233     neutron-api-onos:
234       branch: "lp:~wuwenbin2/onosfw/neutron-api-onos"
235       options:
236         overlay-network-type: 'vxlan'
237         security-groups: True
238     openvswitch-onos:
239       branch: "lp:~wuwenbin2/onosfw/openvswitch-onos"
240   relations:
241     - - "glance:ha"
242       - "hacluster-glance:ha"
243     - - "keystone:ha"
244       - "hacluster-keystone:ha"
245     - - "neutron-api:ha"
246       - "hacluster-neutron:ha"
247     - - "nova-cloud-controller:ha"
248       - "hacluster-nova:ha"
249     - - "openstack-dashboard:ha"
250       - "hacluster-horizon:ha"
251     - - "ceilometer:ha"
252       - "hacluster-ceilometer:ha"
253     - - "neutron-api:neutron-plugin-api-subordinate"
254       - "neutron-api-onos:neutron-plugin-api-subordinate"
255     - - "nova-compute:neutron-plugin"
256       - "openvswitch-onos:neutron-plugin"
257     - - "neutron-gateway"
258       - "openvswitch-onos"
259     - - "openvswitch-onos:ovsdb-manager"
260       - "onos-controller:ovsdb-manager"
261     - - "neutron-api-onos:onos-controller"
262       - "onos-controller:controller-api"
263     - - "keystone:shared-db"
264       - "percona-cluster:shared-db"
265     - - "nova-cloud-controller:shared-db"
266       - "percona-cluster:shared-db"
267     - - "nova-cloud-controller:amqp"
268       - "rabbitmq-server:amqp"
269     - - "nova-cloud-controller:image-service"
270       - "glance:image-service"
271     - - "nova-cloud-controller:identity-service"
272       - "keystone:identity-service"
273     - - "nova-cloud-controller:cloud-compute"
274       - "nova-compute:cloud-compute"
275     - - "nova-compute:amqp"
276       - "rabbitmq-server:amqp"
277     - - "nova-compute:image-service"
278       - "glance:image-service"
279     - - "glance:shared-db"
280       - "percona-cluster:shared-db"
281     - - "glance:identity-service"
282       - "keystone:identity-service"
283     - - "glance:amqp"
284       - "rabbitmq-server:amqp"
285     - - "openstack-dashboard:identity-service"
286       - "keystone:identity-service"
287     - - "neutron-api:shared-db"
288       - "percona-cluster:shared-db"
289     - - "neutron-api:amqp"
290       - "rabbitmq-server:amqp"
291     - - "nova-cloud-controller:neutron-api"
292       - "neutron-api:neutron-api"
293     - - "neutron-api:identity-service"
294       - "keystone:identity-service"
295     - - "neutron-gateway:amqp"
296       - "rabbitmq-server:amqp"
297     - - "neutron-gateway:neutron-plugin-api"
298       - "neutron-api:neutron-plugin-api"
299     - - "nova-cloud-controller:quantum-network-service"
300       - "neutron-gateway:quantum-network-service"
301     - - "ceilometer:amqp"
302       - "rabbitmq-server:amqp"
303     - - "ceilometer-agent:ceilometer-service"
304       - "ceilometer:ceilometer-service"
305     - - "ceilometer:identity-service"
306       - "keystone:identity-service"
307     - - "ceilometer:identity-notifications"
308       - "keystone:identity-notifications"
309     - - "ceilometer-agent:nova-ceilometer"
310       - "nova-compute:nova-ceilometer"
311     - - "ceilometer:shared-db"
312       - "mongodb:database"
313     - - "heat:shared-db"
314       - "percona-cluster:shared-db"
315     - - "heat:identity-service"
316       - "keystone:identity-service"
317     - - "heat:amqp"
318       - "rabbitmq-server:amqp"
319     - - "cinder:image-service"
320       - "glance:image-service"
321     - - "cinder:amqp"
322       - "rabbitmq-server:amqp"
323     - - "cinder:identity-service"
324       - "keystone:identity-service"
325     - - "cinder:cinder-volume-service"
326       - "nova-cloud-controller:cinder-volume-service"
327     - - "cinder-ceph:storage-backend"
328       - "cinder:storage-backend"
329     - - "ceph:client"
330       - "nova-compute:ceph"
331     - - "cinder:shared-db"
332       - "percona-cluster:shared-db"
333     - - "ceph:client"
334       - "cinder-ceph:ceph"
335     - - "ceph:client"
336       - "glance:ceph"
337     - - "ceph-osd:mon"
338       - "ceph:osd"
339     - - "ceph-radosgw:mon"
340       - "ceph:radosgw"
341     - - "ceph-radosgw:identity-service"
342       - "keystone:identity-service"
343
344 trusty-liberty-nodes:
345   inherits: openstack-phase1
346   overrides:
347     series: trusty
348
349 trusty-liberty:
350   inherits: openstack-phase2
351   overrides:
352     cluster_count: 3
353     #os-data-network: 10.4.8.0/21
354     #ceph-cluster-network: 10.4.0.0/21
355     #prefer-ipv6: true
356     region: Canonical
357     source: "cloud:trusty-liberty"
358     openstack-origin: "cloud:trusty-liberty"
359     series: trusty
360     ceph-osd-replication-count: 2
361     admin-role: admin
362     keystone-admin-role: admin
363
364 trusty-kilo-nodes:
365   inherits: openstack-phase1
366   overrides:
367     series: trusty
368
369 trusty-kilo:
370   inherits: openstack-phase2
371   overrides:
372     cluster_count: 3
373     #os-data-network: 10.4.8.0/21
374     #ceph-cluster-network: 10.4.0.0/21
375     #prefer-ipv6: true
376     region: Canonical
377     source: "cloud:trusty-kilo"
378     openstack-origin: "cloud:trusty-kilo"
379     series: trusty
380     ceph-osd-replication-count: 2
381     admin-role: admin
382     keystone-admin-role: admin
383
384 trusty-juno-nodes:
385   inherits: openstack-phase1
386   overrides:
387     series: trusty
388
389 trusty-juno:
390   inherits: openstack-phase2
391   overrides:
392     cluster_count: 3
393     #os-data-network: 10.4.8.0/21
394     #ceph-cluster-network: 10.4.0.0/21
395     #prefer-ipv6: true
396     region: Canonical
397     source: "cloud:trusty-juno"
398     openstack-origin: "cloud:trusty-juno"
399     series: trusty
400     ceph-osd-replication-count: 2
401     admin-role: admin
402     keystone-admin-role: admin
403