summaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/rally/macro/macro.yaml
diff options
context:
space:
mode:
authorJuha Kosonen <juha.kosonen@nokia.com>2019-04-08 14:36:10 +0300
committerJuha Kosonen <juha.kosonen@nokia.com>2019-04-09 11:30:20 +0000
commitbd5c0ff59646d6725f664a3d20eb4db29306d80c (patch)
tree3126d8fd0f345191a2ec2f354213fe45926f87b7 /functest/opnfv_tests/openstack/rally/macro/macro.yaml
parent397e5e45220d64ffc23de01dad2010d7d925862c (diff)
Set cinder service type in rally tests
As a precondition for executing scenarios requiring volume, Rally expects the presence of service named as "cinder". In a case when there is only cinderv2 and cinderv3 configured in the system, Rally fails to validate a testcase even the volume service is working ok. Testcases in question changed to use v3. Change-Id: I42e7f846e80d3647df274b2e03add94c9f0a34d6 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit ebc2b41505299846faeb2163d34d820a8ef2bdb2)
Diffstat (limited to 'functest/opnfv_tests/openstack/rally/macro/macro.yaml')
-rw-r--r--functest/opnfv_tests/openstack/rally/macro/macro.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/functest/opnfv_tests/openstack/rally/macro/macro.yaml b/functest/opnfv_tests/openstack/rally/macro/macro.yaml
index 48c0333e9..2536c92f0 100644
--- a/functest/opnfv_tests/openstack/rally/macro/macro.yaml
+++ b/functest/opnfv_tests/openstack/rally/macro/macro.yaml
@@ -95,3 +95,9 @@
disk_format: {{ type }}
image_location: {{ location }}
{%- endmacro %}
+
+{%- macro volume_service(version, service_type) %}
+ cinder:
+ version: {{ version }}
+ service_type: {{ service_type }}
+{%- endmacro %}