Merge "Add new cinder scenarios for rally sanity/full"
authorCedric Ollivier <cedric.ollivier@orange.com>
Sun, 5 Nov 2017 13:34:11 +0000 (13:34 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Sun, 5 Nov 2017 13:34:11 +0000 (13:34 +0000)
functest/ci/tier_handler.py
functest/opnfv_tests/openstack/rally/scenario/full/opnfv-cinder.yaml

index cbabe63..dd3e77c 100644 (file)
@@ -121,9 +121,6 @@ class TestCase(object):
 
     def is_compatible(self, ci_installer, ci_scenario):
         try:
-            if (self.is_none(ci_installer) and not
-                    self.is_none(self.dependency.get_installer())):
-                return False
             if not self.is_none(ci_installer):
                 if re.search(self.dependency.get_installer(),
                              ci_installer) is None:
index 7840a29..87fae11 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) }}