Fix rally cinder scenarios 57/46757/1
authorJuha Kosonen <juha.kosonen@nokia.com>
Sat, 4 Nov 2017 16:24:55 +0000 (18:24 +0200)
committerJuha Kosonen <juha.kosonen@nokia.com>
Mon, 6 Nov 2017 14:03:54 +0000 (14:03 +0000)
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>
(cherry picked from commit a9337bc5618bb90cd9502f1ec9dc409e18eae0f7)

functest/opnfv_tests/openstack/rally/scenario/full/opnfv-cinder.yaml

index 5f46f51..d5c2fa6 100644 (file)
@@ -79,6 +79,7 @@
   CinderVolumes.create_nested_snapshots_and_attach_volume:
     -
       args:
+        {{ vm_params(image_name,flavor_name) }}
         nested_level: 1
         size:
           max: 1
         {% 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) }}
   CinderVolumes.create_snapshot_and_attach_volume:
     -
       args:
+        {{ vm_params(image_name,flavor_name) }}
         size:
           min: 1
           max: 5
         {% 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) }}