modified to integrete ONOS.
[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 {% include 'mysql.yaml' %}
22 {% include 'ceilometer.yaml' %}
23 {% include 'ceph.yaml' %}
24 {% include 'cinder.yaml' %}
25 {% include 'glance.yaml' %}
26 {% include 'opnfv-promise.yaml' %}
27 {% include 'congress.yaml' %}
28 {% include 'keystone.yaml' %}
29 {% include 'nova-cloud-controller.yaml' %}
30 {% include 'nova-compute.yaml' %}
31 {% include 'openstack-dashboard.yaml' %}
32 {% include 'rabbitmq.yaml' %}
33 {% include 'heat.yaml' %}
34 {% include 'neutron-api.yaml' %}
35 {% include 'neutron-gateway.yaml' %}
36 {% if os.network.controller == 'odl' %}
37     {% include 'odl.yaml' %}
38 {% elif os.network.controller == 'onos' %}
39     {% include 'onos.yaml' %}
40 {% endif %}
41 {% if os.ha.mode == 'ha' %}
42     {% include 'haclusters.yaml' %}
43 {% endif %}
44
45   relations:
46     - - "ntp:juju-info"
47       - "nodes:juju-info"
48 {% if os.ha.mode == 'ha' %}
49     {% include 'harelations.yaml' %}
50 {% endif %}
51
52 openstack-phase2:
53   inherits: openstack-phase1
54   relations:
55 {% include 'relations.yaml' %}
56   services:
57 {% include 'subordinate.yaml' %}