7bfbc9be9cc0c8cbf27e9f42162803d542016901
[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: "local:trusty/ubuntu-nodes-controller"
7       num_units: 1
8       constraints: tags=control
9     nodes-compute:
10       charm: "local:trusty/ubuntu-nodes-compute"
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       to:
100         - "lxc:nodes-api=0"
101     "openstack-dashboard": 
102       branch: lp:charms/trusty/openstack-dashboard
103       num_units: 1
104       options: 
105         secret: admin
106         webroot: /
107       to:
108         - "lxc:nodes-api=0"
109     "nova-compute": 
110       branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
111       num_units: 1
112       options: 
113         "enable-live-migration": False
114         "manage-neutron-plugin-legacy-mode": False
115       to:
116         - "nodes-compute=0"
117 #        - "nodes-compute=1"
118 #        - "nodes-api=0"
119 #        - "nodes-api=1"
120 #        - "nodes-api=2"
121     "nova-cloud-controller": 
122       branch: lp:charms/trusty/nova-cloud-controller
123       num_units: 1
124       options: 
125         "console-access-protocol": novnc
126         "network-manager": Neutron
127         "quantum-security-groups": "yes"
128       to:
129         - "lxc:nodes-api=0"
130     "neutron-api": 
131       branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
132       num_units: 1
133       options:
134         neutron-security-groups: True
135         manage-neutron-plugin-legacy-mode: False
136       to: 
137         - "lxc:nodes-api=0"
138     neutron-gateway:
139       branch: "lp:~wuwenbin2/onosfw/neutron-gateway"
140       options:
141 #        "ext-port": "eth1"
142         plugin: onos
143         instance-mtu: 1400
144       to:  
145         - "nodes-api=0"
146     onos-controller:
147       branch: "lp:~wuwenbin2/onosfw/onos-controller"
148       to: 
149         - "lxc:nodes-api=0"
150     "glance": 
151       branch: lp:charms/trusty/glance
152       num_units: 1
153       to:
154         - "lxc:nodes-api=0"
155     neutron-api-onos:
156       branch: "lp:~wuwenbin2/onosfw/neutron-api-onos"
157       options:
158         overlay-network-type: 'vxlan'
159         security-groups: True
160     openvswitch-onos:
161       branch: "lp:~wuwenbin2/onosfw/openvswitch-onos"
162   relations:
163     - - "neutron-api:neutron-plugin-api-subordinate"
164       - "neutron-api-onos:neutron-plugin-api-subordinate"
165     - - "nova-compute:neutron-plugin"
166       - "openvswitch-onos:neutron-plugin"
167     - - "neutron-gateway"
168       - "openvswitch-onos"
169     - - "openvswitch-onos:ovsdb-manager"
170       - "onos-controller:ovsdb-manager"
171     - - "neutron-api-onos:onos-controller"
172       - "onos-controller:controller-api"
173     - - "keystone:shared-db"
174       - "mysql:shared-db"
175     - - "nova-cloud-controller:shared-db"
176       - "mysql:shared-db"
177     - - "nova-cloud-controller:amqp"
178       - "rabbitmq-server:amqp"
179     - - "nova-cloud-controller:image-service"
180       - "glance:image-service"
181     - - "nova-cloud-controller:identity-service"
182       - "keystone:identity-service"
183     - - "nova-cloud-controller:cloud-compute"
184       - "nova-compute:cloud-compute"
185     - - "nova-compute:amqp"
186       - "rabbitmq-server:amqp"
187     - - "nova-compute:image-service"
188       - "glance:image-service"
189     - - "glance:shared-db"
190       - "mysql:shared-db"
191     - - "glance:identity-service"
192       - "keystone:identity-service"
193     - - "glance:amqp"
194       - "rabbitmq-server:amqp"
195     - - "openstack-dashboard:identity-service"
196       - "keystone:identity-service"
197     - - "neutron-api:shared-db"
198       - "mysql:shared-db"
199     - - "neutron-api:amqp"
200       - "rabbitmq-server:amqp"
201     - - "nova-cloud-controller:neutron-api"
202       - "neutron-api:neutron-api"
203     - - "neutron-api:identity-service"
204       - "keystone:identity-service"
205     - - "neutron-gateway:amqp"
206       - "rabbitmq-server:amqp"
207     - - "neutron-gateway:neutron-plugin-api"
208       - "neutron-api:neutron-plugin-api"
209     - - "nova-cloud-controller:quantum-network-service"
210       - "neutron-gateway:quantum-network-service"
211     - - "ceilometer:amqp"
212       - "rabbitmq-server:amqp"
213     - - "ceilometer-agent:ceilometer-service"
214       - "ceilometer:ceilometer-service"
215     - - "ceilometer:identity-service"
216       - "keystone:identity-service"
217     - - "ceilometer:identity-notifications"
218       - "keystone:identity-notifications"
219     - - "ceilometer-agent:nova-ceilometer"
220       - "nova-compute:nova-ceilometer"
221     - - "ceilometer:shared-db"
222       - "mongodb:database"
223     - - "heat:shared-db"
224       - "mysql:shared-db"
225     - - "heat:identity-service"
226       - "keystone:identity-service"
227     - - "heat:amqp"
228       - "rabbitmq-server:amqp"
229     - - "cinder:image-service"
230       - "glance:image-service"
231     - - "cinder:amqp"
232       - "rabbitmq-server:amqp"
233     - - "cinder:identity-service"
234       - "keystone:identity-service"
235     - - "cinder:cinder-volume-service"
236       - "nova-cloud-controller:cinder-volume-service"
237     - - "cinder-ceph:storage-backend"
238       - "cinder:storage-backend"
239     - - "ceph:client"
240       - "nova-compute:ceph"
241     - - "cinder:shared-db"
242       - "mysql:shared-db"
243     - - "ceph:client"
244       - "cinder-ceph:ceph"
245     - - "ceph:client"
246       - "glance:ceph"
247 trusty-liberty-nodes:
248   inherits: openstack-phase1
249   overrides:
250     series: trusty
251
252 trusty-liberty:
253   inherits: openstack-phase2
254   overrides:
255     #os-data-network: 10.4.8.0/21
256     #prefer-ipv6: true
257     region: Canonical
258     source: "cloud:trusty-liberty"
259     "openstack-origin": "cloud:trusty-liberty"
260     series: trusty
261     ceph-osd-replication-count: 1
262
263 trusty-kilo-nodes:
264   inherits: openstack-phase1
265   overrides:
266     series: trusty
267
268 trusty-kilo:
269   inherits: openstack-phase2
270   overrides:
271     #os-data-network: 10.4.8.0/21
272     #prefer-ipv6: true
273     region: Canonical
274     source: "cloud:trusty-kilo"
275     "openstack-origin": "cloud:trusty-kilo"
276     series: trusty
277     ceph-osd-replication-count: 1
278
279
280 trusty-juno-nodes:
281   inherits: openstack-phase1
282   overrides:
283     series: trusty
284
285 trusty-juno:
286   inherits: openstack-phase2
287   overrides:
288     #os-data-network: 10.4.8.0/21
289     #prefer-ipv6: true
290     region: Canonical
291     source: "cloud:trusty-juno"
292     "openstack-origin": "cloud:trusty-juno"
293     series: trusty
294     ceph-osd-replication-count: 1
295
296