summaryrefslogtreecommitdiffstats
path: root/ci/bundle_tpl/bundle.yaml
diff options
context:
space:
mode:
authorDavid Blaisonneau <david.blaisonneau@orange.com>2016-06-30 18:43:58 +0200
committerDavid Blaisonneau <david.blaisonneau@orange.com>2016-06-30 18:44:23 +0200
commit8cc46e65c20745e241b68b3d960fc3c96d64b970 (patch)
tree04f110498124cab3108d4992dc465146102e21ed /ci/bundle_tpl/bundle.yaml
parent498d246c5b7398627d929cb50274eb55cba930cf (diff)
[JOID] generate bundle using jinja templates
Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
Diffstat (limited to 'ci/bundle_tpl/bundle.yaml')
-rw-r--r--ci/bundle_tpl/bundle.yaml47
1 files changed, 47 insertions, 0 deletions
diff --git a/ci/bundle_tpl/bundle.yaml b/ci/bundle_tpl/bundle.yaml
new file mode 100644
index 00000000..8f1c5546
--- /dev/null
+++ b/ci/bundle_tpl/bundle.yaml
@@ -0,0 +1,47 @@
+# 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' %}
+
+
+openstack-phase1:
+ services:
+ nodes:
+ charm: "cs:{{ ubuntu.release }}/ubuntu"
+ num_units: 2
+ 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' %}
+{% 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 == 'nosdn' %}{% include 'neutron-ovs.yaml' %}
+{% elif os.network.controller == 'odl' %}{% include 'odl.yaml' %}{% endif %}