From 639dac66f284f12021b12e95e12c389f0ed1e645 Mon Sep 17 00:00:00 2001 From: Juha Kosonen Date: Wed, 1 Nov 2017 20:11:36 +0200 Subject: [PATCH] Add new nova scenarios for rally sanity/full Several new NovaServers and NovaServerGroups scenarios available along with the recent Rally update. Change-Id: Iee27174923da5a1a25991d8ab5e18f1d404b09ef Signed-off-by: Juha Kosonen --- .../openstack/rally/scenario/full/opnfv-nova.yaml | 98 ++++++++++++++++++++++ .../rally/scenario/sanity/opnfv-nova.yaml | 25 ++++++ 2 files changed, 123 insertions(+) diff --git a/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-nova.yaml b/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-nova.yaml index ce97eea67..512448fd4 100644 --- a/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-nova.yaml +++ b/functest/opnfv_tests/openstack/rally/scenario/full/opnfv-nova.yaml @@ -316,3 +316,101 @@ {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: {{ no_failures_sla() }} + + NovaServers.boot_server_and_list_interfaces: + - + args: + {{ vm_params(image_name, flavor_name) }} + auto_assign_nic: true + context: + {% call user_context(tenants_amount, users_amount, use_existing_users) %} + network: {} + {% endcall %} + runner: + {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} + sla: + {{ no_failures_sla() }} + + NovaServers.boot_and_get_console_url: + - + args: + {{ vm_params(image_name, flavor_name) }} + console_type: "novnc" + auto_assign_nic: true + context: + {% call user_context(tenants_amount, users_amount, use_existing_users) %} + network: {} + {% endcall %} + runner: + {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} + sla: + {{ no_failures_sla() }} + + NovaServers.boot_server_and_attach_interface: + - + args: + {{ vm_params(image_name, flavor_name) }} + network_create_args: {} + subnet_create_args: {} + boot_server_args: + auto_assign_nic: true + context: + {% call user_context(tenants_amount, users_amount, use_existing_users) %} + network: {} + {% endcall %} + runner: + {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} + sla: + {{ no_failures_sla() }} + + NovaServers.boot_server_attach_volume_and_list_attachments: + - + args: + {{ vm_params(image_name, flavor_name) }} + volume_size: 1 + volume_num: 1 + create_volume_kwargs: {} + boot_server_kwargs: + auto_assign_nic: true + context: + {% call user_context(tenants_amount, users_amount, use_existing_users) %} + network: {} + {% endcall %} + runner: + {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} + sla: + {{ no_failures_sla() }} + + NovaServerGroups.create_and_delete_server_group: + - + args: + policies: ["affinity"] + context: + {{ user_context(tenants_amount, users_amount, use_existing_users) }} + runner: + {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} + sla: + {{ no_failures_sla() }} + + NovaServerGroups.create_and_get_server_group: + - + args: + policies: ["affinity"] + context: + {{ user_context(tenants_amount, users_amount, use_existing_users) }} + runner: + {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} + sla: + {{ no_failures_sla() }} + + NovaServerGroups.create_and_list_server_groups: + - + args: + policies: ["affinity"] + all_projects: false + context: + {{ user_context(tenants_amount, users_amount, use_existing_users) }} + runner: + {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} + sla: + {{ no_failures_sla() }} diff --git a/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-nova.yaml b/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-nova.yaml index 7d21db024..801938c4e 100644 --- a/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-nova.yaml +++ b/functest/opnfv_tests/openstack/rally/scenario/sanity/opnfv-nova.yaml @@ -117,3 +117,28 @@ {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} sla: {{ no_failures_sla() }} + + NovaServers.boot_server_and_list_interfaces: + - + args: + {{ vm_params(image_name, flavor_name) }} + auto_assign_nic: true + context: + {% call user_context(tenants_amount, users_amount, use_existing_users) %} + network: {} + {% endcall %} + runner: + {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} + sla: + {{ no_failures_sla() }} + + NovaServerGroups.create_and_delete_server_group: + - + args: + policies: ["affinity"] + context: + {{ user_context(tenants_amount, users_amount, use_existing_users) }} + runner: + {{ constant_runner(concurrency=concurrency, times=iterations, is_smoke=smoke) }} + sla: + {{ no_failures_sla() }} -- 2.16.6