summaryrefslogtreecommitdiffstats
path: root/ci/bundle_tpl/bundle.yaml
blob: 9343e5be54dca6ecb2e853af9d058e3ccdc8ae42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# vim: set ts=2 et:
{{ ubuntu.release }}-{{ os.release }}-nodes:
  inherits: openstack-phase1
  overrides:
{% include 'phase2-overrides.yaml' %}

{{ ubuntu.release }}-{{ os.release }}:
  inherits: openstack-phase2

openstack-phase1:
  services:
    nodes:
      charm: "cs:{{ ubuntu.release }}/ubuntu"
{% if os.ha.mode == 'ha' %}
      num_units: 5
{% else %}
      num_units: 2
{% endif %}
    ntp:
      charm: "local:{{ ubuntu.release }}/ntp"
{% include 'mysql.yaml' %}
{% include 'ceilometer.yaml' %}
{% include 'ceph.yaml' %}
{% include 'cinder.yaml' %}
{% include 'glance.yaml' %}
{% include 'opnfv-promise.yaml' %}
{% include 'keystone.yaml' %}
{% include 'nova-cloud-controller.yaml' %}
{% include 'nova-compute.yaml' %}
{% include 'openstack-dashboard.yaml' %}
{% include 'rabbitmq.yaml' %}
{% include 'heat.yaml' %}
{% include 'neutron-api.yaml' %}
{% include 'neutron-gateway.yaml' %}
{% if os.network.controller == 'odl' %}{% include 'odl.yaml' %}{% endif %}
{% if os.ha.mode == 'ha' %}
    {% include 'haclusters.yaml' %}
{% endif %}

  relations:
    - - "ntp:juju-info"
      - "nodes:juju-info"
{% if os.ha.mode == 'ha' %}
    {% include 'harelations.yaml' %}
{% endif %}

openstack-phase2:
  inherits: openstack-phase1
  relations:
{% include 'relations.yaml' %}
  services:
{% include 'subordinate.yaml' %}