summaryrefslogtreecommitdiffstats
path: root/ci/bundle_tpl/phase2-overrides.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/phase2-overrides.yaml
parent498d246c5b7398627d929cb50274eb55cba930cf (diff)
[JOID] generate bundle using jinja templates
Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
Diffstat (limited to 'ci/bundle_tpl/phase2-overrides.yaml')
-rw-r--r--ci/bundle_tpl/phase2-overrides.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/ci/bundle_tpl/phase2-overrides.yaml b/ci/bundle_tpl/phase2-overrides.yaml
new file mode 100644
index 00000000..8ec13f70
--- /dev/null
+++ b/ci/bundle_tpl/phase2-overrides.yaml
@@ -0,0 +1,23 @@
+{% if opnfv.spaces_dict.data is defined %}
+ os-data-network: {{ opnfv.spaces_dict.data.cidr }}
+{% endif %}
+{% if opnfv.spaces_dict.storage is defined %}
+ ceph-cluster-network: {{ opnfv.spaces_dict.storage.cidr }}
+{% endif %}
+ prefer-ipv6: {{ os.network.ipv6 }}
+{% if os.network.dvr %}
+ enable-dvr: true
+{% endif %}
+{% if os.network.l2_population %}
+ l2-population: true
+{% endif %}
+ region: {{ os.region }}
+ #source: "cloud:{{ ubuntu.release }}-{{ os.release }}"
+ openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
+ ceph-osd-replication-count: {{ os.storage.ceph_replica }}
+ admin-role: {{ os.admin_role }}
+ keystone-admin-role: {{ os.admin_role }}
+{% if os.beta.public_api %}
+ use-internal-endpoints: true
+ os-public-hostname: api.{{ opnfv.domain }}
+{% endif %}