ymodified to include the changes needed for MAAS 1.9
[joid.git] / ci / odl / juju-deployer / ovs-odl.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       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:charms/trusty/neutron-gateway
140       options:
141 #        "ext-port": "eth1"
142         plugin: ovs-odl
143         instance-mtu: 1400
144       to:  
145         - "nodes-api=0"
146     odl-controller:
147       branch: lp:~openstack-charmers/charms/trusty/odl-controller/next
148       options:
149         install-url: "https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.2.4-Helium-SR4/distribution-karaf-0.2.4-Helium-SR4.tar.gz"
150         #install-url: "https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.3.2-Lithium-SR2/distribution-karaf-0.3.2-Lithium-SR2.tar.gz"
151         http-proxy: "http://squid.internal:3128"
152         https-proxy: "http://squid.internal:3128"
153
154       to: 
155         - "lxc:nodes-api=0"
156     "glance": 
157       branch: lp:charms/trusty/glance
158       num_units: 1
159       to:
160         - "lxc:nodes-api=0"
161     neutron-api-odl:
162       branch: lp:~openstack-charmers/charms/trusty/neutron-api-odl/vpp
163       options:
164         overlay-network-type: 'vxlan gre'
165         security-groups: True
166     openvswitch-odl:
167       branch: lp:~openstack-charmers/charms/trusty/openvswitch-odl/trunk
168   relations:
169     - - "neutron-api:neutron-plugin-api-subordinate"
170       - "neutron-api-odl:neutron-plugin-api-subordinate"
171     - - "nova-compute:neutron-plugin"
172       - "openvswitch-odl:neutron-plugin"
173     - - "neutron-gateway"
174       - "openvswitch-odl"
175     - - "openvswitch-odl:ovsdb-manager"
176       - "odl-controller:ovsdb-manager"
177     - - "neutron-api-odl:odl-controller"
178       - "odl-controller:controller-api"
179     - - "keystone:shared-db"
180       - "mysql:shared-db"
181     - - "nova-cloud-controller:shared-db"
182       - "mysql:shared-db"
183     - - "nova-cloud-controller:amqp"
184       - "rabbitmq-server:amqp"
185     - - "nova-cloud-controller:image-service"
186       - "glance:image-service"
187     - - "nova-cloud-controller:identity-service"
188       - "keystone:identity-service"
189     - - "nova-cloud-controller:cloud-compute"
190       - "nova-compute:cloud-compute"
191     - - "nova-compute:amqp"
192       - "rabbitmq-server:amqp"
193     - - "nova-compute:image-service"
194       - "glance:image-service"
195     - - "glance:shared-db"
196       - "mysql:shared-db"
197     - - "glance:identity-service"
198       - "keystone:identity-service"
199     - - "glance:amqp"
200       - "rabbitmq-server:amqp"
201     - - "openstack-dashboard:identity-service"
202       - "keystone:identity-service"
203     - - "neutron-api:shared-db"
204       - "mysql:shared-db"
205     - - "neutron-api:amqp"
206       - "rabbitmq-server:amqp"
207     - - "nova-cloud-controller:neutron-api"
208       - "neutron-api:neutron-api"
209     - - "neutron-api:identity-service"
210       - "keystone:identity-service"
211     - - "neutron-gateway:amqp"
212       - "rabbitmq-server:amqp"
213     - - "neutron-gateway:neutron-plugin-api"
214       - "neutron-api:neutron-plugin-api"
215     - - "nova-cloud-controller:quantum-network-service"
216       - "neutron-gateway:quantum-network-service"
217     - - "ceilometer:amqp"
218       - "rabbitmq-server:amqp"
219     - - "ceilometer-agent:ceilometer-service"
220       - "ceilometer:ceilometer-service"
221     - - "ceilometer:identity-service"
222       - "keystone:identity-service"
223     - - "ceilometer:identity-notifications"
224       - "keystone:identity-notifications"
225     - - "ceilometer-agent:nova-ceilometer"
226       - "nova-compute:nova-ceilometer"
227     - - "ceilometer:shared-db"
228       - "mongodb:database"
229     - - "heat:shared-db"
230       - "mysql:shared-db"
231     - - "heat:identity-service"
232       - "keystone:identity-service"
233     - - "heat:amqp"
234       - "rabbitmq-server:amqp"
235     - - "cinder:image-service"
236       - "glance:image-service"
237     - - "cinder:amqp"
238       - "rabbitmq-server:amqp"
239     - - "cinder:identity-service"
240       - "keystone:identity-service"
241     - - "cinder:cinder-volume-service"
242       - "nova-cloud-controller:cinder-volume-service"
243     - - "cinder-ceph:storage-backend"
244       - "cinder:storage-backend"
245     - - "ceph:client"
246       - "nova-compute:ceph"
247     - - "cinder:shared-db"
248       - "mysql:shared-db"
249     - - "ceph:client"
250       - "cinder-ceph:ceph"
251     - - "ceph:client"
252       - "glance:ceph"
253 trusty-liberty-nodes:
254   inherits: openstack-phase1
255   overrides:
256     series: trusty
257
258 trusty-liberty:
259   inherits: openstack-phase2
260   overrides:
261     #os-data-network: 10.4.8.0/21
262     #prefer-ipv6: true
263     region: Canonical
264     source: "cloud:trusty-liberty"
265     "openstack-origin": "cloud:trusty-liberty"
266     series: trusty
267     ceph-osd-replication-count: 1
268
269 trusty-kilo-nodes:
270   inherits: openstack-phase1
271   overrides:
272     series: trusty
273
274 trusty-kilo:
275   inherits: openstack-phase2
276   overrides:
277     #os-data-network: 10.4.8.0/21
278     #prefer-ipv6: true
279     region: Canonical
280     source: "cloud:trusty-kilo"
281     "openstack-origin": "cloud:trusty-kilo"
282     series: trusty
283     ceph-osd-replication-count: 1
284
285
286 trusty-juno-nodes:
287   inherits: openstack-phase1
288   overrides:
289     series: trusty
290
291 trusty-juno:
292   inherits: openstack-phase2
293   overrides:
294     #os-data-network: 10.4.8.0/21
295     #prefer-ipv6: true
296     region: Canonical
297     source: "cloud:trusty-juno"
298     "openstack-origin": "cloud:trusty-juno"
299     series: trusty
300     ceph-osd-replication-count: 1
301
302