summaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/rally
diff options
context:
space:
mode:
authorJuha Kosonen <juha.kosonen@nokia.com>2017-11-04 18:24:55 +0200
committerJuha Kosonen <juha.kosonen@nokia.com>2017-11-04 18:24:55 +0200
commita9337bc5618bb90cd9502f1ec9dc409e18eae0f7 (patch)
tree63139cbf9c526336d5433451a5a59ec4b051061e /functest/opnfv_tests/openstack/rally
parent4d95f152cda9c7a44df13025341d3d7d472d57c6 (diff)
Fix rally cinder scenarios
Remove network and servers context and set image and flavor as a scenario parameters. Change-Id: I5181ccce61c4f58af3737619d1b7d259cf539937 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
Diffstat (limited to 'functest/opnfv_tests/openstack/rally')
-rw-r--r--functest/opnfv_tests/openstack/rally/scenario/full/opnfv-cinder.yaml12
1 files changed, 2 insertions, 10 deletions
diff --git a/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-cinder.yaml b/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-cinder.yaml
index 5f46f51..d5c2fa6 100644
--- a/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-cinder.yaml
+++ b/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-cinder.yaml
@@ -79,6 +79,7 @@
CinderVolumes.create_nested_snapshots_and_attach_volume:
-
args:
+ {{ vm_params(image_name,flavor_name) }}
nested_level: 1
size:
max: 1
@@ -87,11 +88,6 @@
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
quotas:
{{ unlimited_volumes() }}
- servers:
- {{ vm_params(image_name,flavor_name,none)|indent(2,true) }}
- servers_per_tenant: 1
- auto_assign_nic: true
- network: {}
{% endcall %}
runner:
{{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}
@@ -101,6 +97,7 @@
CinderVolumes.create_snapshot_and_attach_volume:
-
args:
+ {{ vm_params(image_name,flavor_name) }}
size:
min: 1
max: 5
@@ -108,11 +105,6 @@
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
quotas:
{{ unlimited_volumes() }}
- servers:
- {{ vm_params(image_name,flavor_name,none)|indent(2,true) }}
- servers_per_tenant: 2
- auto_assign_nic: true
- network: {}
{% endcall %}
runner:
{{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }}