summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/bundle_tpl/ceph.yaml
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-10-07 08:28:53 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-10-07 08:44:08 -0500
commitd7321f8223363ac26878a22d1fd1f04c201732fe (patch)
treee7ac1553c766ea12040d908ee22f4666ef69fcf4 /ci/config_tpl/bundle_tpl/ceph.yaml
parent18edc25759537951d6c5cdc3575c3d1b5c0d9fbc (diff)
enabling heat cluster for experiment.
Change-Id: Id8192abb141596a2b6b5144447985f02d74b513f Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl/bundle_tpl/ceph.yaml')
-rw-r--r--ci/config_tpl/bundle_tpl/ceph.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/ci/config_tpl/bundle_tpl/ceph.yaml b/ci/config_tpl/bundle_tpl/ceph.yaml
index faddbc35..53fa5df4 100644
--- a/ci/config_tpl/bundle_tpl/ceph.yaml
+++ b/ci/config_tpl/bundle_tpl/ceph.yaml
@@ -6,6 +6,9 @@
monitor-count: {{ unit_ceph_qty() }}
fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
+{% if os.network.ipv6 %}
+ prefer-ipv6: {{ os.network.ipv6 }}
+{% endif %}
{% if opnfv.spaces_dict.storage is defined %}
#ceph-cluster-network: {{ opnfv.spaces_dict.storage.cidr }}
{% endif %}
@@ -35,6 +38,9 @@
options:
osd-devices: {{ opnfv.storage_dict.ceph.disk }}
osd-reformat: 'yes'
+{% if os.network.ipv6 %}
+ prefer-ipv6: {{ os.network.ipv6 }}
+{% endif %}
to:
{% if os.hyperconverged %}
{% for unit_id in range(0, opnfv.units) %}
@@ -58,6 +64,9 @@
region: {{ os.region }}
use-embedded-webserver: true
operator-roles: "Member,admin"
+{% if os.network.ipv6 %}
+ prefer-ipv6: {{ os.network.ipv6 }}
+{% endif %}
{% if opnfv.storage_dict.ceph is defined %}
ceph-osd-replication-count: {{ unit_ceph_qty() }}
{% endif %}