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