summaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-vm.yaml
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2015-12-19 08:38:21 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-12-19 08:38:21 +0000
commitec0ee75e9576319f0bf1e4bc2a41dea099fbbce7 (patch)
tree9d5bb5cc177b7c9fd529aa44d75d699cd30f2a9b /testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-vm.yaml
parent1603c0810fbfc872dada41e5af84e7b5587169e9 (diff)
parent955b592a7d4aab0a9685bd19bf77f959f59ffd22 (diff)
Merge "Parameterize Rally scenarios"
Diffstat (limited to 'testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-vm.yaml')
-rw-r--r--testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-vm.yaml37
1 files changed, 37 insertions, 0 deletions
diff --git a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-vm.yaml b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-vm.yaml
new file mode 100644
index 000000000..ae3230f54
--- /dev/null
+++ b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-vm.yaml
@@ -0,0 +1,37 @@
+ VMTasks.boot_runcommand_delete:
+ -
+ args:
+ {{ vm_params(image_name, flavor_name) }}
+ floating_network: {{ floating_network }}
+ force_delete: false
+ interpreter: /bin/sh
+ script: {{ sup_dir }}/instance_dd_test.sh
+ username: admin
+ context:
+ {% call user_context(tenants_amount, users_amount, use_existing_users) %}
+ network: {}
+ {% endcall %}
+ runner:
+ {{ constant_runner(concurrency=2*controllers_amount, times=10*controllers_amount, is_smoke=smoke) }}
+ sla:
+ {{ no_failures_sla() }}
+
+ VMTasks.boot_runcommand_delete:
+ -
+ args:
+ {{ vm_params(image_name, flavor_name) }}
+ fixed_network: private
+ floating_network: {{ floating_network }}
+ force_delete: false
+ interpreter: /bin/sh
+ script: {{ sup_dir }}/instance_dd_test.sh
+ use_floatingip: true
+ username: admin
+ volume_args:
+ size: 2
+ context:
+ {{ user_context(tenants_amount, users_amount, use_existing_users) }}
+ runner:
+ {{ constant_runner(concurrency=2*controllers_amount, times=10*controllers_amount, is_smoke=smoke) }}
+ sla:
+ {{ no_failures_sla() }}