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