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