modified to maximize use of resource available at time of
[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       num_units: {{ opnfv.units }}
15     ntp:
16       charm: "local:{{ ubuntu.release }}/ntp"
17 {% if os.network.controller == 'ocl' %}
18       options:
19         source: "0.ubuntu.pool.ntp.org 1.ubuntu.pool.ntp.org 2.ubuntu.pool.ntp.org 3.ubuntu.pool.ntp.org"
20         auto_peers: false
21 {% endif %}
22 {% include 'mysql.yaml' %}
23 {% include 'ceilometer.yaml' %}
24 {% include 'ceph.yaml' %}
25 {% include 'cinder.yaml' %}
26 {% include 'glance.yaml' %}
27 {% include 'opnfv-promise.yaml' %}
28 {% include 'congress.yaml' %}
29 {% include 'keystone.yaml' %}
30 {% include 'nova-cloud-controller.yaml' %}
31 {% include 'nova-compute.yaml' %}
32 {% include 'openstack-dashboard.yaml' %}
33 {% include 'rabbitmq.yaml' %}
34 {% include 'heat.yaml' %}
35 {% include 'neutron-api.yaml' %}
36 {% include 'neutron-gateway.yaml' %}
37 {% if os.network.controller == 'odl' %}
38 {% include 'odl.yaml' %}
39 {% elif os.network.controller == 'onos' %}
40 {% include 'onos.yaml' %}
41 {% elif os.network.controller == 'ocl' %}
42 {% include 'oclphase1.yaml' %}
43 {% endif %}
44 {% if os.ha.mode == 'ha' %}
45 {% include 'haclusters.yaml' %}
46 {% endif %}
47
48   relations:
49     - [ 'ntp:juju-info', 'nodes:juju-info' ]
50 {% if os.ha.mode == 'ha' %}
51 {% include 'harelations.yaml' %}
52 {% endif %}
53
54 openstack-phase2:
55   inherits: openstack-phase1
56   relations:
57 {% include 'relations.yaml' %}
58   services:
59 {% include 'subordinate.yaml' %}