62047fba42ba7dc85db199a0681f45af0e422793
[joid.git] / ci / bundle_tpl / bundle.yaml
1 # vim: set ts=2 et:
2 {{ ubuntu.release }}-{{ os.release }}-nodes:
3   inherits: openstack-phase1
4   overrides:
5 {% include 'phase2-overrides.yaml' %}
6
7 {{ ubuntu.release }}-{{ os.release }}:
8   inherits: openstack-phase2
9
10 openstack-phase1:
11   services:
12     nodes:
13       charm: "cs:{{ ubuntu.release }}/ubuntu"
14 {% if os.ha.mode == 'ha' %}
15       num_units: 5
16 {% else %}
17       num_units: 2
18 {% endif %}
19     ntp:
20       charm: "local:{{ ubuntu.release }}/ntp"
21 {% if os.network.controller == 'ocl' %}
22       options:
23         source: "0.ubuntu.pool.ntp.org 1.ubuntu.pool.ntp.org 2.ubuntu.pool.ntp.org 3.ubuntu.pool.ntp.org"
24         auto_peers: false
25 {% endif %}
26 {% include 'mysql.yaml' %}
27 {% include 'ceilometer.yaml' %}
28 {% include 'ceph.yaml' %}
29 {% include 'cinder.yaml' %}
30 {% include 'glance.yaml' %}
31 {% include 'opnfv-promise.yaml' %}
32 {% include 'congress.yaml' %}
33 {% include 'keystone.yaml' %}
34 {% include 'nova-cloud-controller.yaml' %}
35 {% include 'nova-compute.yaml' %}
36 {% include 'openstack-dashboard.yaml' %}
37 {% include 'rabbitmq.yaml' %}
38 {% include 'heat.yaml' %}
39 {% include 'neutron-api.yaml' %}
40 {% include 'neutron-gateway.yaml' %}
41 {% if os.network.controller == 'odl' %}
42 {% include 'odl.yaml' %}
43 {% elif os.network.controller == 'onos' %}
44 {% include 'onos.yaml' %}
45 {% elif os.network.controller == 'ocl' %}
46 {% include 'oclphase1.yaml' %}
47 {% endif %}
48 {% if os.ha.mode == 'ha' %}
49 {% include 'haclusters.yaml' %}
50 {% endif %}
51
52   relations:
53     - [ 'ntp:juju-info', 'nodes:juju-info' ]
54 {% if os.ha.mode == 'ha' %}
55 {% include 'harelations.yaml' %}
56 {% endif %}
57
58 openstack-phase2:
59   inherits: openstack-phase1
60   relations:
61 {% include 'relations.yaml' %}
62   services:
63 {% include 'subordinate.yaml' %}