modified on the lines of nosdn bundle tested. Only single gateway
[joid.git] / ci / odl / juju-deployer / ovs-odl-tip.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
76 #        - "lxc:nodes-api=0"
77     cinder:
78       charm: cs:trusty/cinder
79       num_units: 1
80       options:
81         block-device: None
82         glance-api-version: 2
83 #        ha-mcastport: 5401
84 #        openstack-origin-git: include-file://cinder-master.yaml
85       to:
86         - "lxc:nodes-api=0"
87     cinder-ceph:
88       charm: cs:trusty/cinder-ceph
89     "rabbitmq-server":
90       branch: lp:charms/trusty/rabbitmq-server
91       num_units: 1
92       to:
93         - "lxc:nodes-api=0"
94     "keystone":
95       branch: lp:charms/trusty/keystone
96       num_units: 1
97       options:
98         openstack-origin-git: include-file://keystone-master.yaml
99         "admin-password": openstack
100         "admin-token": admin
101         "admin-role": admin
102       to:
103         - "lxc:nodes-api=0"
104     "openstack-dashboard":
105       branch: lp:charms/trusty/openstack-dashboard
106       num_units: 1
107       options:
108         openstack-origin-git: include-file://horizon-master.yaml
109         secret: admin
110       to:
111         - "lxc:nodes-api=0"
112     "nova-compute":
113       branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
114       num_units: 1
115       options:
116         openstack-origin-git: include-file://nova-master.yaml
117         "enable-live-migration": False
118         "manage-neutron-plugin-legacy-mode": False
119       to:
120         - "nodes-compute=0"
121 #        - "nodes-compute=1"
122     "nova-cloud-controller":
123       branch: lp:charms/trusty/nova-cloud-controller
124       num_units: 1
125       options:
126         openstack-origin-git: include-file://nova-master.yaml
127         "console-access-protocol": novnc
128         "network-manager": Neutron
129         "quantum-security-groups": "yes"
130       to:
131         - "lxc:nodes-api=0"
132     "neutron-api":
133       branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
134       num_units: 1
135       options:
136         neutron-security-groups: True
137         manage-neutron-plugin-legacy-mode: False
138       to:
139         - "lxc:nodes-api=0"
140     neutron-gateway:
141       branch: lp:charms/trusty/neutron-gateway
142       options:
143         openstack-origin-git: include-file://neutron-master.yaml
144 #        "ext-port": "eth1"
145         plugin: ovs-odl
146         instance-mtu: 1400
147       to:
148         - "nodes-api=0"
149     odl-controller:
150       branch: lp:~openstack-charmers/charms/trusty/odl-controller/next
151       options:
152         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"
153 #        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"
154         http-proxy: "http://squid.internal:3128"
155         https-proxy: "http://squid.internal:3128"
156       to:
157         - "lxc:nodes-api=0"
158     "glance":
159       branch: lp:charms/trusty/glance
160       num_units: 1
161       options:
162         openstack-origin-git: include-file://glance-master.yaml
163       to:
164         - "lxc:nodes-api=0"
165     neutron-api-odl:
166       branch: lp:~openstack-charmers/charms/trusty/neutron-api-odl/vpp
167       options:
168         overlay-network-type: 'vxlan gre'
169         security-groups: True
170     openvswitch-odl:
171       branch: lp:~openstack-charmers/charms/trusty/openvswitch-odl/trunk
172   relations:
173     - - "neutron-api:neutron-plugin-api-subordinate"
174       - "neutron-api-odl:neutron-plugin-api-subordinate"
175     - - "nova-compute:neutron-plugin"
176       - "openvswitch-odl:neutron-plugin"
177     - - "neutron-gateway"
178       - "openvswitch-odl"
179     - - "openvswitch-odl:ovsdb-manager"
180       - "odl-controller:ovsdb-manager"
181     - - "neutron-api-odl:odl-controller"
182       - "odl-controller:controller-api"
183     - - "keystone:shared-db"
184       - "mysql:shared-db"
185     - - "nova-cloud-controller:shared-db"
186       - "mysql:shared-db"
187     - - "nova-cloud-controller:amqp"
188       - "rabbitmq-server:amqp"
189     - - "nova-cloud-controller:image-service"
190       - "glance:image-service"
191     - - "nova-cloud-controller:identity-service"
192       - "keystone:identity-service"
193     - - "nova-cloud-controller:cloud-compute"
194       - "nova-compute:cloud-compute"
195     - - "nova-compute:amqp"
196       - "rabbitmq-server:amqp"
197     - - "nova-compute:image-service"
198       - "glance:image-service"
199     - - "glance:shared-db"
200       - "mysql:shared-db"
201     - - "glance:identity-service"
202       - "keystone:identity-service"
203     - - "glance:amqp"
204       - "rabbitmq-server:amqp"
205     - - "openstack-dashboard:identity-service"
206       - "keystone:identity-service"
207     - - "neutron-api:shared-db"
208       - "mysql:shared-db"
209     - - "neutron-api:amqp"
210       - "rabbitmq-server:amqp"
211     - - "nova-cloud-controller:neutron-api"
212       - "neutron-api:neutron-api"
213     - - "neutron-api:identity-service"
214       - "keystone:identity-service"
215     - - "neutron-gateway:amqp"
216       - "rabbitmq-server:amqp"
217     - - "neutron-gateway:neutron-plugin-api"
218       - "neutron-api:neutron-plugin-api"
219     - - "nova-cloud-controller:quantum-network-service"
220       - "neutron-gateway:quantum-network-service"
221     - - "ceilometer:amqp"
222       - "rabbitmq-server:amqp"
223     - - "ceilometer-agent:ceilometer-service"
224       - "ceilometer:ceilometer-service"
225     - - "ceilometer:identity-service"
226       - "keystone:identity-service"
227     - - "ceilometer:identity-notifications"
228       - "keystone:identity-notifications"
229     - - "ceilometer-agent:nova-ceilometer"
230       - "nova-compute:nova-ceilometer"
231     - - "ceilometer:shared-db"
232       - "mongodb:database"
233     - - "heat:shared-db"
234       - "mysql:shared-db"
235     - - "heat:identity-service"
236       - "keystone:identity-service"
237     - - "heat:amqp"
238       - "rabbitmq-server:amqp"
239     - - "cinder:image-service"
240       - "glance:image-service"
241     - - "cinder:amqp"
242       - "rabbitmq-server:amqp"
243     - - "cinder:identity-service"
244       - "keystone:identity-service"
245     - - "cinder:cinder-volume-service"
246       - "nova-cloud-controller:cinder-volume-service"
247     - - "cinder-ceph:storage-backend"
248       - "cinder:storage-backend"
249     - - "ceph:client"
250       - "nova-compute:ceph"
251     - - "cinder:shared-db"
252       - "mysql:shared-db"
253     - - "ceph:client"
254       - "cinder-ceph:ceph"
255     - - "ceph:client"
256       - "glance:ceph"
257 trusty-liberty-nodes:
258   inherits: openstack-phase1
259   overrides:
260     series: trusty
261
262 trusty-liberty:
263   inherits: openstack-phase2
264   overrides:
265     #os-data-network: 10.4.8.0/21
266     #prefer-ipv6: true
267     region: Canonical
268     source: "cloud:trusty-liberty"
269     "openstack-origin": "cloud:trusty-liberty"
270     series: trusty
271     ceph-osd-replication-count: 1
272
273 trusty-kilo-nodes:
274   inherits: openstack-phase1
275   overrides:
276     series: trusty
277
278 # master
279 trusty-kilo:
280   inherits: openstack-phase2
281   series: trusty
282   overrides:
283     region: Canonical
284     #os-data-network: 10.4.8.0/21
285     #prefer-ipv6: true
286     openstack-origin: cloud:trusty-kilo
287     source: cloud:trusty-kilo
288     series: trusty
289     ceph-osd-replication-count: 1
290
291