summaryrefslogtreecommitdiffstats
path: root/ci/bundle_tpl/bundle.yaml
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-06-30 14:01:03 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-06-30 16:00:57 -0500
commit8af52f45681275997204080f1cac854b255f2bcc (patch)
tree3f678ed6f8936145f3995f12e5a06df494b838ca /ci/bundle_tpl/bundle.yaml
parent8cc46e65c20745e241b68b3d960fc3c96d64b970 (diff)
modfied to suite the latest code changes.
Change-Id: I36f4f20a9222fe7c4cc75dd3d546a28130c3fbb2 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/bundle_tpl/bundle.yaml')
-rw-r--r--ci/bundle_tpl/bundle.yaml43
1 files changed, 24 insertions, 19 deletions
diff --git a/ci/bundle_tpl/bundle.yaml b/ci/bundle_tpl/bundle.yaml
index 8f1c5546..9343e5be 100644
--- a/ci/bundle_tpl/bundle.yaml
+++ b/ci/bundle_tpl/bundle.yaml
@@ -1,34 +1,23 @@
# vim: set ts=2 et:
{{ ubuntu.release }}-{{ os.release }}-nodes:
inherits: openstack-phase1
-
-
-{{ ubuntu.release }}-{{ os.release }}:
- inherits: openstack-phase2
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"
- relations:
- - - "ntp:juju-info"
- - "nodes:juju-info"
-
-
-openstack-phase2:
- inherits: openstack-phase1
- relations:
-{% include 'relations.yaml' %}
- services:
-{% if os.ha.mode == 'ha' %}
- {% include 'haclusters.yaml' %}
-{% endif %}
{% include 'mysql.yaml' %}
{% include 'ceilometer.yaml' %}
{% include 'ceph.yaml' %}
@@ -43,5 +32,21 @@ openstack-phase2:
{% include 'heat.yaml' %}
{% include 'neutron-api.yaml' %}
{% include 'neutron-gateway.yaml' %}
-{% if os.network.controller == 'nosdn' %}{% include 'neutron-ovs.yaml' %}
-{% elif os.network.controller == 'odl' %}{% include 'odl.yaml' %}{% endif %}
+{% 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' %}