f8380cc0c8e1a13c5addb01602a76c8d3f8791a5
[joid.git] / ci / opencontrail / juju-deployer / ovs-opencontrail-nonha.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     zookeeper:
16       branch: lp:~charmers/charms/precise/zookeeper/trunk
17       series: precise
18       to:
19         - "lxc:nodes-api=0"
20     cassandra:
21       branch: lp:~stub/charms/trusty/cassandra/noauthentication
22       to:
23         - "lxc:nodes-api=0"
24       options:
25         authenticator: AllowAllAuthenticator
26   relations:
27     - - "ntp:juju-info"
28       - "nodes-api:juju-info"
29     - - "ntp:juju-info"
30       - "nodes-compute:juju-info"
31 openstack-phase2:
32   inherits: openstack-phase1
33   services:
34     "mysql":
35       branch: "lp:~openstack-charmers/charms/trusty/percona-cluster/next"
36       num_units: 1
37       options:
38         "dataset-size": 2G
39         "max-connections": 10000
40       to:
41         - "lxc:nodes-api=0"
42     "mongodb":
43       charm: "cs:trusty/mongodb"
44       num_units: 1
45       to:
46         - "lxc:nodes-api=0"
47     "ceilometer":
48       branch: "lp:~openstack-charmers/charms/trusty/ceilometer/next"
49       num_units: 1
50       to:
51         - "lxc:nodes-api=0"
52     "ceilometer-agent":
53       branch: "lp:~openstack-charmers/charms/trusty/ceilometer-agent/next"
54     heat:
55       branch: "lp:~openstack-charmers/charms/trusty/heat/next"
56       to:
57         - "lxc:nodes-api=0"
58     ceph:
59       branch: "lp:~openstack-charmers/charms/trusty/ceph/next"
60       num_units: 1
61       options:
62         fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
63         monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
64         osd-devices: ""
65         monitor-count: 1
66 #        osd-reformat: 'no'
67 #        ceph-cluster-network: 192.168.0.0/24
68 #        ceph-public-network: 192.168.0.0/24
69       to:
70         - "lxc:nodes-api=0"
71     ceph-osd:
72       branch: "lp:~openstack-charmers/charms/trusty/ceph-osd/next"
73       num_units: 1
74       options:
75         osd-devices: /srv
76         osd-reformat: 'yes'
77       to:
78         - "nodes-compute=0"
79     ceph-radosgw:
80       branch: lp:~openstack-charmers/charms/trusty/ceph-radosgw/next
81       num_units: 1
82       options:
83         use-embedded-webserver: true
84         operator-roles: "Member,admin"
85       to:
86         - "lxc:nodes-api=0"
87     cinder:
88       branch: lp:~openstack-charmers/charms/trusty/cinder/next
89       num_units: 1
90       options:
91         block-device: None
92         glance-api-version: 2
93 #        ha-mcastport: 5401
94       to:
95         - "lxc:nodes-api=0"
96     cinder-ceph:
97       branch: lp:~openstack-charmers/charms/trusty/cinder-ceph/next
98     "rabbitmq-server":
99       branch: lp:~openstack-charmers/charms/trusty/rabbitmq-server/next
100       num_units: 1
101       to:
102         - "lxc:nodes-api=0"
103     "keystone":
104       branch: lp:~openstack-charmers/charms/trusty/keystone/next
105       num_units: 1
106       options:
107         admin-password: openstack
108         "admin-token": admin
109       to:
110         - "lxc:nodes-api=0"
111     "openstack-dashboard":
112       branch: lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
113       num_units: 1
114       options:
115         secret: admin
116         webroot: /
117       to:
118         - "lxc:nodes-api=0"
119     "nova-compute":
120       branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
121       num_units: 1
122       options:
123         "manage-neutron-plugin-legacy-mode": False
124       to:
125         - "nodes-compute=0"
126 #        - "nodes-compute=1"
127     "nova-cloud-controller":
128       branch: lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next
129       num_units: 1
130       options:
131         "network-manager": Neutron
132       to:
133         - "lxc:nodes-api=0"
134     "neutron-api":
135       branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
136       num_units: 1
137       options:
138         manage-neutron-plugin-legacy-mode: False
139       to:
140         - "lxc:nodes-api=0"
141     "glance":
142       branch: lp:~openstack-charmers/charms/trusty/glance/next
143       num_units: 1
144       to:
145         - "lxc:nodes-api=0"
146     opnfv-promise:
147       branch: lp:~narindergupta/charms/trusty/promise/trunk
148       num_units: 1
149       to:
150         - "lxc:nodes-api=0"
151   relations:
152     - [ keystone, mysql ]
153     - [ nova-cloud-controller, mysql ]
154     - [ nova-cloud-controller, rabbitmq-server ]
155     - [ nova-cloud-controller, glance ]
156     - [ nova-cloud-controller, keystone ]
157     - [ nova-compute, nova-cloud-controller ]
158     - [ "nova-compute:shared-db", "mysql:shared-db" ]
159     - [ "nova-compute:amqp", "rabbitmq-server:amqp" ]
160     - [ nova-compute, glance ]
161     - [ glance, mysql ]
162     - [ glance, keystone ]
163     - [ openstack-dashboard, keystone ]
164     - [ neutron-api, mysql ]
165     - [ neutron-api, rabbitmq-server ]
166     - [ neutron-api, nova-cloud-controller ]
167     - [ neutron-api, keystone ]
168     - [ neutron-api, neutron-api-contrail ]
169     - [ "ceilometer:amqp", "rabbitmq-server:amqp" ]
170     - [ "ceilometer-agent:ceilometer-service", "ceilometer:ceilometer-service" ]
171     - [ "ceilometer:identity-service", "keystone:identity-service" ]
172     - [ "ceilometer:identity-notifications", "keystone:identity-notifications" ]
173     - [ "ceilometer-agent:nova-ceilometer", "nova-compute:nova-ceilometer" ]
174     - [ "ceilometer:shared-db", "mongodb:database" ]
175     - [ "heat:shared-db", "mysql:shared-db" ]
176     - [ "heat:identity-service", "keystone:identity-service" ]
177     - [ "heat:amqp", "rabbitmq-server:amqp" ]
178     - [ "cinder:image-service", "glance:image-service" ]
179     - [ "cinder:amqp", "rabbitmq-server:amqp" ]
180     - [ "cinder:identity-service", "keystone:identity-service" ]
181     - [ "cinder:cinder-volume-service", "nova-cloud-controller:cinder-volume-service" ]
182     - [ "cinder-ceph:storage-backend", "cinder:storage-backend" ]
183     - [ "ceph:client", "nova-compute:ceph" ]
184     - [ "cinder:shared-db", "mysql:shared-db" ]
185     - [ "ceph:client", "cinder-ceph:ceph" ]
186     - [ "ceph:client", "glance:ceph" ]
187     - [ "ceph-osd:mon", "ceph:osd" ]
188     - [ "ceph-radosgw:mon", "ceph:radosgw" ]
189     - [ "ceph-radosgw:identity-service", "keystone:identity-service"]
190 contrail:
191   inherits: openstack-phase2
192   services:
193     contrail-configuration:
194       branch:  lp:~sdn-charmers/charms/trusty/contrail-configuration/trunk
195       to:
196         - "lxc:nodes-api=0"
197     contrail-control:
198       branch: lp:~sdn-charmers/charms/trusty/contrail-control/trunk
199       to:
200         - "lxc:nodes-api=0"
201     contrail-analytics:
202       branch: lp:~sdn-charmers/charms/trusty/contrail-analytics/trunk
203       to:
204         - "lxc:nodes-api=0"
205     contrail-webui:
206       branch: lp:~sdn-charmers/charms/trusty/contrail-webui/trunk
207       to:
208         - "lxc:nodes-api=0"
209     neutron-api-contrail:
210       branch: lp:~sdn-charmers/charms/trusty/neutron-api-contrail/trunk
211     neutron-contrail:
212       branch: lp:~sdn-charmers/charms/trusty/neutron-contrail/trunk
213   relations:
214     - [ "contrail-configuration:cassandra", "cassandra:database" ]
215     - [ contrail-configuration, zookeeper ]
216     - [ contrail-configuration, rabbitmq-server ]
217     - [ contrail-configuration, keystone ]
218     - [ neutron-api-contrail, contrail-configuration ]
219     - [ neutron-api-contrail, keystone ]
220     - [ "contrail-control:contrail-api", "contrail-configuration:contrail-api" ]
221     - [ "contrail-control:contrail-discovery", "contrail-configuration:contrail-discovery" ]
222     - [ "contrail-control:contrail-ifmap", "contrail-configuration:contrail-ifmap" ]
223     - [ contrail-control, keystone ]
224     - [ "contrail-analytics:cassandra", "cassandra:database" ]
225     - [ contrail-analytics, contrail-configuration ]
226     - [ contrail-webui, keystone ]
227     - [ "contrail-webui:contrail_api", "contrail-configuration:contrail-api" ]
228     - [ "contrail-webui:contrail_discovery", "contrail-configuration:contrail-discovery" ]
229     - [ "contrail-webui:cassandra", "cassandra:database" ]
230     - [ nova-compute, neutron-contrail ]
231     - [ "neutron-contrail:contrail-discovery", "contrail-configuration:contrail-discovery" ]
232     - [ "neutron-contrail:contrail-api", "contrail-configuration:contrail-api" ]
233     - [ neutron-contrail, keystone ]
234
235 trusty-liberty-nodes:
236   inherits: openstack-phase1
237   series: trusty
238   overrides:
239     series: trusty
240
241 trusty-liberty:
242   inherits: contrail
243   series: trusty
244   overrides:
245     series: trusty
246     #os-data-network: 10.4.8.0/21
247     #ceph-cluster-network: 10.4.0.0/21
248     #prefer-ipv6: true
249     region: Canonical
250     openstack-origin: cloud:trusty-liberty
251     source: "cloud:trusty-liberty"
252     ceph-osd-replication-count: 1
253     admin-role: admin
254     keystone-admin-role: admin
255
256 trusty-kilo-nodes:
257   inherits: openstack-phase1
258   series: trusty
259   overrides:
260     series: trusty
261
262 trusty-kilo:
263   inherits: contrail
264   series: trusty
265   overrides:
266     series: trusty
267     #os-data-network: 10.4.8.0/21
268     #ceph-cluster-network: 10.4.0.0/21
269     #prefer-ipv6: true
270     region: Canonical
271     openstack-origin: cloud:trusty-kilo
272     source: "cloud:trusty-kilo"
273     ceph-osd-replication-count: 1
274     admin-role: admin
275     keystone-admin-role: admin
276
277 trusty-juno-nodes:
278   inherits: openstack-phase1
279   overrides:
280     series: trusty
281
282 trusty-juno:
283   inherits: contrail
284   series: trusty
285   overrides:
286     series: trusty
287     #os-data-network: 10.4.8.0/21
288     #ceph-cluster-network: 10.4.0.0/21
289     #prefer-ipv6: true
290     region: Canonical
291     openstack-origin: cloud:trusty-juno
292     source: "cloud:trusty-juno"
293     ceph-osd-replication-count: 1
294     admin-role: admin
295     keystone-admin-role: admin
296