From 0bc425cd3137db1ffae64d792fb56ba261c34fb3 Mon Sep 17 00:00:00 2001 From: Artem Savinov Date: Fri, 24 Jun 2016 16:10:26 +0300 Subject: [PATCH] Add rally-scenarios test to plugin repo Change-Id: Id229171be113bfd6c952e16404d082443517305d --- .../cinder/create-and-attach-volume.yaml | 33 ++++++++++ .../cinder/create-and-extend-volume.yaml | 27 ++++++++ .../cinder/create-and-list-volume.yaml | 54 ++++++++++++++++ .../glance/create-and-delete-image.yaml | 18 ++++++ .../glance/create-and-list-image.yaml | 18 ++++++ .../rally-scenarios/glance/list_images.yaml | 19 ++++++ .../heat/create-and-delete-stack.yaml | 16 +++++ .../create-and-delete-stack_with_neutron.yaml | 24 +++++++ .../create-and-delete-stack_with_volume.yaml | 21 ++++++ .../heat/create-and-list-stack.yaml | 16 +++++ .../heat/create-check-delete-stack.yaml | 16 +++++ .../create-suspend-resume-delete-stack.yaml | 16 +++++ .../create-update-delete-stack-add-res.yaml | 17 +++++ .../create-update-delete-stack-del-res.yaml | 17 +++++ .../create-update-delete-stack-increase.yaml | 17 +++++ .../create-update-delete-stack-inplace.yaml | 17 +++++ .../create-update-delete-stack-reduce.yaml | 17 +++++ .../create-update-delete-stack-replace.yaml | 17 +++++ .../heat/list-stack-and-resources.yaml | 17 +++++ .../templates/autoscaling_policy.yml.template | 17 +++++ .../heat/templates/default.yml.template | 1 + .../templates/random_strings.yml.template | 13 ++++ .../templates/resource_group.yml.template | 13 ++++ .../templates/server_with_ports.yml.template | 64 +++++++++++++++++++ .../templates/server_with_volume.yml.template | 40 ++++++++++++ ...ed_autoscaling_policy_inplace.yml.template | 23 +++++++ .../updated_random_strings_add.yml.template | 19 ++++++ ...updated_random_strings_delete.yml.template | 11 ++++ ...pdated_random_strings_replace.yml.template | 19 ++++++ ...dated_resource_group_increase.yml.template | 16 +++++ ...updated_resource_group_reduce.yml.template | 16 +++++ .../neutron/create_and_delete_networks.yaml | 19 ++++++ .../neutron/create_and_delete_ports.yaml | 22 +++++++ .../neutron/create_and_delete_routers.yaml | 26 ++++++++ .../neutron/create_and_delete_secgroups.yaml | 24 +++++++ .../neutron/create_and_delete_subnets.yaml | 23 +++++++ .../neutron/create_and_list_networks.yaml | 19 ++++++ .../neutron/create_and_list_ports.yaml | 22 +++++++ .../neutron/create_and_list_routers.yaml | 25 ++++++++ .../neutron/create_and_list_secgroups.yaml | 24 +++++++ .../neutron/create_and_list_subnets.yaml | 23 +++++++ .../neutron/create_and_update_ports.yaml | 27 ++++++++ .../neutron/create_and_update_routers.yaml | 30 +++++++++ .../neutron/create_and_update_subnets.yaml | 26 ++++++++ .../neutron/update_quotas.yaml | 16 +++++ .../nova/boot_and_bounce_server.yaml | 43 +++++++++++++ .../nova/boot_and_delete_server.yaml | 34 ++++++++++ .../boot_and_delete_server_with_keypair.yaml | 35 ++++++++++ ..._delete_server_with_neutron_secgroups.yaml | 38 +++++++++++ ...boot_and_delete_server_with_secgroups.yaml | 38 +++++++++++ .../nova/boot_and_list_server.yaml | 35 ++++++++++ ...oot_and_list_server_batch_all_at_once.yaml | 36 +++++++++++ .../nova/boot_and_list_server_batch_x10.yaml | 36 +++++++++++ .../nova/boot_and_rebuild_server.yaml | 36 +++++++++++ .../nova/create_and_delete_keypair.yaml | 23 +++++++ .../nova/create_and_delete_secgroups.yaml | 24 +++++++ .../nova/create_and_list_keypairs.yaml | 23 +++++++ .../nova/create_and_list_secgroups.yaml | 24 +++++++ .../nova/nova-update-and-delete.yaml | 16 +++++ .../rally-scenarios/nova/resize_server.yaml | 37 +++++++++++ .../rally-scenarios/nova/snapshot_server.yaml | 34 ++++++++++ .../nova/suspend_and_resume.yaml | 35 ++++++++++ 62 files changed, 1522 insertions(+) create mode 100644 plugin_test/rally-scenarios/cinder/create-and-attach-volume.yaml create mode 100644 plugin_test/rally-scenarios/cinder/create-and-extend-volume.yaml create mode 100644 plugin_test/rally-scenarios/cinder/create-and-list-volume.yaml create mode 100644 plugin_test/rally-scenarios/glance/create-and-delete-image.yaml create mode 100644 plugin_test/rally-scenarios/glance/create-and-list-image.yaml create mode 100644 plugin_test/rally-scenarios/glance/list_images.yaml create mode 100644 plugin_test/rally-scenarios/heat/create-and-delete-stack.yaml create mode 100644 plugin_test/rally-scenarios/heat/create-and-delete-stack_with_neutron.yaml create mode 100644 plugin_test/rally-scenarios/heat/create-and-delete-stack_with_volume.yaml create mode 100644 plugin_test/rally-scenarios/heat/create-and-list-stack.yaml create mode 100644 plugin_test/rally-scenarios/heat/create-check-delete-stack.yaml create mode 100644 plugin_test/rally-scenarios/heat/create-suspend-resume-delete-stack.yaml create mode 100644 plugin_test/rally-scenarios/heat/create-update-delete-stack-add-res.yaml create mode 100644 plugin_test/rally-scenarios/heat/create-update-delete-stack-del-res.yaml create mode 100644 plugin_test/rally-scenarios/heat/create-update-delete-stack-increase.yaml create mode 100644 plugin_test/rally-scenarios/heat/create-update-delete-stack-inplace.yaml create mode 100644 plugin_test/rally-scenarios/heat/create-update-delete-stack-reduce.yaml create mode 100644 plugin_test/rally-scenarios/heat/create-update-delete-stack-replace.yaml create mode 100644 plugin_test/rally-scenarios/heat/list-stack-and-resources.yaml create mode 100644 plugin_test/rally-scenarios/heat/templates/autoscaling_policy.yml.template create mode 100644 plugin_test/rally-scenarios/heat/templates/default.yml.template create mode 100644 plugin_test/rally-scenarios/heat/templates/random_strings.yml.template create mode 100644 plugin_test/rally-scenarios/heat/templates/resource_group.yml.template create mode 100644 plugin_test/rally-scenarios/heat/templates/server_with_ports.yml.template create mode 100644 plugin_test/rally-scenarios/heat/templates/server_with_volume.yml.template create mode 100644 plugin_test/rally-scenarios/heat/templates/updated_autoscaling_policy_inplace.yml.template create mode 100644 plugin_test/rally-scenarios/heat/templates/updated_random_strings_add.yml.template create mode 100644 plugin_test/rally-scenarios/heat/templates/updated_random_strings_delete.yml.template create mode 100644 plugin_test/rally-scenarios/heat/templates/updated_random_strings_replace.yml.template create mode 100644 plugin_test/rally-scenarios/heat/templates/updated_resource_group_increase.yml.template create mode 100644 plugin_test/rally-scenarios/heat/templates/updated_resource_group_reduce.yml.template create mode 100644 plugin_test/rally-scenarios/neutron/create_and_delete_networks.yaml create mode 100644 plugin_test/rally-scenarios/neutron/create_and_delete_ports.yaml create mode 100644 plugin_test/rally-scenarios/neutron/create_and_delete_routers.yaml create mode 100644 plugin_test/rally-scenarios/neutron/create_and_delete_secgroups.yaml create mode 100644 plugin_test/rally-scenarios/neutron/create_and_delete_subnets.yaml create mode 100644 plugin_test/rally-scenarios/neutron/create_and_list_networks.yaml create mode 100644 plugin_test/rally-scenarios/neutron/create_and_list_ports.yaml create mode 100644 plugin_test/rally-scenarios/neutron/create_and_list_routers.yaml create mode 100644 plugin_test/rally-scenarios/neutron/create_and_list_secgroups.yaml create mode 100644 plugin_test/rally-scenarios/neutron/create_and_list_subnets.yaml create mode 100644 plugin_test/rally-scenarios/neutron/create_and_update_ports.yaml create mode 100644 plugin_test/rally-scenarios/neutron/create_and_update_routers.yaml create mode 100644 plugin_test/rally-scenarios/neutron/create_and_update_subnets.yaml create mode 100644 plugin_test/rally-scenarios/neutron/update_quotas.yaml create mode 100644 plugin_test/rally-scenarios/nova/boot_and_bounce_server.yaml create mode 100644 plugin_test/rally-scenarios/nova/boot_and_delete_server.yaml create mode 100644 plugin_test/rally-scenarios/nova/boot_and_delete_server_with_keypair.yaml create mode 100644 plugin_test/rally-scenarios/nova/boot_and_delete_server_with_neutron_secgroups.yaml create mode 100644 plugin_test/rally-scenarios/nova/boot_and_delete_server_with_secgroups.yaml create mode 100644 plugin_test/rally-scenarios/nova/boot_and_list_server.yaml create mode 100644 plugin_test/rally-scenarios/nova/boot_and_list_server_batch_all_at_once.yaml create mode 100644 plugin_test/rally-scenarios/nova/boot_and_list_server_batch_x10.yaml create mode 100644 plugin_test/rally-scenarios/nova/boot_and_rebuild_server.yaml create mode 100644 plugin_test/rally-scenarios/nova/create_and_delete_keypair.yaml create mode 100644 plugin_test/rally-scenarios/nova/create_and_delete_secgroups.yaml create mode 100644 plugin_test/rally-scenarios/nova/create_and_list_keypairs.yaml create mode 100644 plugin_test/rally-scenarios/nova/create_and_list_secgroups.yaml create mode 100644 plugin_test/rally-scenarios/nova/nova-update-and-delete.yaml create mode 100644 plugin_test/rally-scenarios/nova/resize_server.yaml create mode 100644 plugin_test/rally-scenarios/nova/snapshot_server.yaml create mode 100644 plugin_test/rally-scenarios/nova/suspend_and_resume.yaml diff --git a/plugin_test/rally-scenarios/cinder/create-and-attach-volume.yaml b/plugin_test/rally-scenarios/cinder/create-and-attach-volume.yaml new file mode 100644 index 0000000..e92192d --- /dev/null +++ b/plugin_test/rally-scenarios/cinder/create-and-attach-volume.yaml @@ -0,0 +1,33 @@ +--- + CinderVolumes.create_and_attach_volume: + - + args: + size: 10 + image: + name: "TestVM-VMDK" + flavor: + name: "m1.nano" + create_vm_params: + availability_zone: "vcenter" + create_volume_params: + availability_zone: "vcenter-cinder" + runner: + type: "constant" + times: {{ compute * 9 }} + concurrency: {{ concurrency }} + context: + users: + tenants: {{ compute * 2 }} + users_per_tenant: 3 + quotas: + cinder: + volumes: -1 + gigabytes: -1 + snapshots: -1 + api_versions: + cinder: + version: 2 + service_name: cinderv2 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/cinder/create-and-extend-volume.yaml b/plugin_test/rally-scenarios/cinder/create-and-extend-volume.yaml new file mode 100644 index 0000000..6fb8712 --- /dev/null +++ b/plugin_test/rally-scenarios/cinder/create-and-extend-volume.yaml @@ -0,0 +1,27 @@ +--- + CinderVolumes.create_and_extend_volume: + - + args: + size: 1 + new_size: 2 + availability_zone: "vcenter-cinder" + runner: + type: "constant" + times: {{ compute * 14 }} + concurrency: {{ concurrency }} + context: + users: + tenants: {{ compute * 2 }} + users_per_tenant: 3 + quotas: + cinder: + volumes: -1 + gigabytes: -1 + snapshots: -1 + api_versions: + cinder: + version: 2 + service_name: cinderv2 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/cinder/create-and-list-volume.yaml b/plugin_test/rally-scenarios/cinder/create-and-list-volume.yaml new file mode 100644 index 0000000..5a63f2a --- /dev/null +++ b/plugin_test/rally-scenarios/cinder/create-and-list-volume.yaml @@ -0,0 +1,54 @@ +--- + CinderVolumes.create_and_list_volume: + - + args: + size: 1 + detailed: True + availability_zone: "vcenter-cinder" + runner: + type: "constant" + times: {{ compute * 14 }} + concurrency: {{ concurrency }} + context: + users: + tenants: {{ compute * 2 }} + users_per_tenant: 3 + quotas: + cinder: + volumes: -1 + gigabytes: -1 + snapshots: -1 + api_versions: + cinder: + version: 2 + service_name: cinderv2 + sla: + failure_rate: + max: 0 + - + args: + size: 1 + detailed: True + image: + name: "TestVM-VMDK" + availability_zone: "vcenter-cinder" + runner: + type: "constant" + times: {{ compute * 14 }} + concurrency: {{ concurrency }} + context: + users: + tenants: {{ compute * 2 }} + users_per_tenant: 3 + quotas: + cinder: + volumes: -1 + gigabytes: -1 + snapshots: -1 + api_versions: + cinder: + version: 2 + service_name: cinderv2 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/glance/create-and-delete-image.yaml b/plugin_test/rally-scenarios/glance/create-and-delete-image.yaml new file mode 100644 index 0000000..c9b2a78 --- /dev/null +++ b/plugin_test/rally-scenarios/glance/create-and-delete-image.yaml @@ -0,0 +1,18 @@ +--- + GlanceImages.create_and_delete_image: + - + args: + image_location: "http://172.18.170.69:5000/distr/nsx/tcl.vmdk" + container_format: "bare" + disk_format: "vmdk" + runner: + type: "constant" + times: {{ compute * 6 }} + concurrency: {{ concurrency }} + context: + users: + tenants: {{ compute * 2 }} + users_per_tenant: 3 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/glance/create-and-list-image.yaml b/plugin_test/rally-scenarios/glance/create-and-list-image.yaml new file mode 100644 index 0000000..2366c8f --- /dev/null +++ b/plugin_test/rally-scenarios/glance/create-and-list-image.yaml @@ -0,0 +1,18 @@ +--- + GlanceImages.create_and_list_image: + - + args: + image_location: "http://172.18.170.69:5000/distr/nsx/tcl.vmdk" + container_format: "bare" + disk_format: "vmdk" + runner: + type: "constant" + times: {{ compute * 6 }} + concurrency: {{ concurrency }} + context: + users: + tenants: {{ compute * 2 }} + users_per_tenant: 3 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/glance/list_images.yaml b/plugin_test/rally-scenarios/glance/list_images.yaml new file mode 100644 index 0000000..5a95e11 --- /dev/null +++ b/plugin_test/rally-scenarios/glance/list_images.yaml @@ -0,0 +1,19 @@ +--- + GlanceImages.list_images: + - + runner: + type: "constant" + times: {{ compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: {{ compute * 2 }} + users_per_tenant: 3 + images: + image_url: "http://172.18.170.69:5000/distr/nsx/tcl.vmdk" + image_type: "vmdk" + image_container: "bare" + images_per_tenant: 3 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/heat/create-and-delete-stack.yaml b/plugin_test/rally-scenarios/heat/create-and-delete-stack.yaml new file mode 100644 index 0000000..99f466f --- /dev/null +++ b/plugin_test/rally-scenarios/heat/create-and-delete-stack.yaml @@ -0,0 +1,16 @@ +--- + HeatStacks.create_and_delete_stack: + - + args: + template_path: "{{ current_path }}/templates/default.yml.template" + runner: + type: "constant" + times: {{ compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 3 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/heat/create-and-delete-stack_with_neutron.yaml b/plugin_test/rally-scenarios/heat/create-and-delete-stack_with_neutron.yaml new file mode 100644 index 0000000..b06b425 --- /dev/null +++ b/plugin_test/rally-scenarios/heat/create-and-delete-stack_with_neutron.yaml @@ -0,0 +1,24 @@ +--- + HeatStacks.create_and_delete_stack: + - + args: + template_path: "{{ current_path }}/templates/server_with_ports.yml.template" + parameters: + public_net: "{{ floating_net }}" + runner: + type: "constant" + times: {{ compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 3 + quotas: + neutron: + port: -1 + network: -1 + subnet: -1 + router: -1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/heat/create-and-delete-stack_with_volume.yaml b/plugin_test/rally-scenarios/heat/create-and-delete-stack_with_volume.yaml new file mode 100644 index 0000000..f6534b4 --- /dev/null +++ b/plugin_test/rally-scenarios/heat/create-and-delete-stack_with_volume.yaml @@ -0,0 +1,21 @@ +--- + HeatStacks.create_and_delete_stack: + - + args: + template_path: "{{ current_path }}/templates/server_with_volume.yml.template" + runner: + timeout: 90 + type: "constant" + times: {{ compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 3 + api_versions: + cinder: + version: 2 + service_name: cinderv2 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/heat/create-and-list-stack.yaml b/plugin_test/rally-scenarios/heat/create-and-list-stack.yaml new file mode 100644 index 0000000..a556a32 --- /dev/null +++ b/plugin_test/rally-scenarios/heat/create-and-list-stack.yaml @@ -0,0 +1,16 @@ +--- + HeatStacks.create_and_list_stack: + - + args: + template_path: "{{ current_path }}/templates/default.yml.template" + runner: + type: "constant" + times: {{ compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: 4 + users_per_tenant: 1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/heat/create-check-delete-stack.yaml b/plugin_test/rally-scenarios/heat/create-check-delete-stack.yaml new file mode 100644 index 0000000..a5c71c3 --- /dev/null +++ b/plugin_test/rally-scenarios/heat/create-check-delete-stack.yaml @@ -0,0 +1,16 @@ +--- + HeatStacks.create_check_delete_stack: + - + args: + template_path: "{{ current_path }}/templates/random_strings.yml.template" + runner: + type: "constant" + times: {{ compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 3 + sla: + failure_rate: + max: 0 \ No newline at end of file diff --git a/plugin_test/rally-scenarios/heat/create-suspend-resume-delete-stack.yaml b/plugin_test/rally-scenarios/heat/create-suspend-resume-delete-stack.yaml new file mode 100644 index 0000000..d93b5f5 --- /dev/null +++ b/plugin_test/rally-scenarios/heat/create-suspend-resume-delete-stack.yaml @@ -0,0 +1,16 @@ +--- + HeatStacks.create_suspend_resume_delete_stack: + - + args: + template_path: "{{ current_path }}/templates/random_strings.yml.template" + runner: + type: "constant" + times: {{ compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: 3 + users_per_tenant: 2 + sla: + failure_rate: + max: 0 \ No newline at end of file diff --git a/plugin_test/rally-scenarios/heat/create-update-delete-stack-add-res.yaml b/plugin_test/rally-scenarios/heat/create-update-delete-stack-add-res.yaml new file mode 100644 index 0000000..c6bdb6c --- /dev/null +++ b/plugin_test/rally-scenarios/heat/create-update-delete-stack-add-res.yaml @@ -0,0 +1,17 @@ +--- + HeatStacks.create_update_delete_stack: + - + args: + template_path: "{{ current_path }}/templates/random_strings.yml.template" + updated_template_path: "{{ current_path }}/templates/updated_random_strings_add.yml.template" + runner: + type: "constant" + times: {{ compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 3 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/heat/create-update-delete-stack-del-res.yaml b/plugin_test/rally-scenarios/heat/create-update-delete-stack-del-res.yaml new file mode 100644 index 0000000..b5102a3 --- /dev/null +++ b/plugin_test/rally-scenarios/heat/create-update-delete-stack-del-res.yaml @@ -0,0 +1,17 @@ +--- + HeatStacks.create_update_delete_stack: + - + args: + template_path: "{{ current_path }}/templates/random_strings.yml.template" + updated_template_path: "{{ current_path }}/templates/updated_random_strings_delete.yml.template" + runner: + type: "constant" + times: {{ compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 3 + sla: + failure_rate: + max: 0 \ No newline at end of file diff --git a/plugin_test/rally-scenarios/heat/create-update-delete-stack-increase.yaml b/plugin_test/rally-scenarios/heat/create-update-delete-stack-increase.yaml new file mode 100644 index 0000000..7242696 --- /dev/null +++ b/plugin_test/rally-scenarios/heat/create-update-delete-stack-increase.yaml @@ -0,0 +1,17 @@ +--- + HeatStacks.create_update_delete_stack: + - + args: + template_path: "{{ current_path }}/templates/resource_group.yml.template" + updated_template_path: "{{ current_path }}/templates/updated_resource_group_increase.yml.template" + runner: + type: "constant" + times: {{ compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 3 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/heat/create-update-delete-stack-inplace.yaml b/plugin_test/rally-scenarios/heat/create-update-delete-stack-inplace.yaml new file mode 100644 index 0000000..dad9de5 --- /dev/null +++ b/plugin_test/rally-scenarios/heat/create-update-delete-stack-inplace.yaml @@ -0,0 +1,17 @@ +--- + HeatStacks.create_update_delete_stack: + - + args: + template_path: "{{ current_path }}/templates/autoscaling_policy.yml.template" + updated_template_path: "{{ current_path }}/templates/updated_autoscaling_policy_inplace.yml.template" + runner: + type: "constant" + times: {{ compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 3 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/heat/create-update-delete-stack-reduce.yaml b/plugin_test/rally-scenarios/heat/create-update-delete-stack-reduce.yaml new file mode 100644 index 0000000..cf36e1e --- /dev/null +++ b/plugin_test/rally-scenarios/heat/create-update-delete-stack-reduce.yaml @@ -0,0 +1,17 @@ +--- + HeatStacks.create_update_delete_stack: + - + args: + template_path: "{{ current_path }}/templates/resource_group.yml.template" + updated_template_path: "{{ current_path }}/templates/updated_resource_group_reduce.yml.template" + runner: + type: "constant" + times: {{ compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 3 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/heat/create-update-delete-stack-replace.yaml b/plugin_test/rally-scenarios/heat/create-update-delete-stack-replace.yaml new file mode 100644 index 0000000..c399f60 --- /dev/null +++ b/plugin_test/rally-scenarios/heat/create-update-delete-stack-replace.yaml @@ -0,0 +1,17 @@ +--- + HeatStacks.create_update_delete_stack: + - + args: + template_path: "{{ current_path }}/templates/random_strings.yml.template" + updated_template_path: "{{ current_path }}/templates/updated_random_strings_replace.yml.template" + runner: + type: "constant" + times: {{ compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 3 + sla: + failure_rate: + max: 0 \ No newline at end of file diff --git a/plugin_test/rally-scenarios/heat/list-stack-and-resources.yaml b/plugin_test/rally-scenarios/heat/list-stack-and-resources.yaml new file mode 100644 index 0000000..82a172c --- /dev/null +++ b/plugin_test/rally-scenarios/heat/list-stack-and-resources.yaml @@ -0,0 +1,17 @@ +--- + HeatStacks.list_stacks_and_resources: + - + runner: + type: "constant" + times: {{ compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 3 + stacks: + stacks_per_tenant: 2 + resources_per_stack: 10 + sla: + failure_rate: + max: 0 \ No newline at end of file diff --git a/plugin_test/rally-scenarios/heat/templates/autoscaling_policy.yml.template b/plugin_test/rally-scenarios/heat/templates/autoscaling_policy.yml.template new file mode 100644 index 0000000..a22487e --- /dev/null +++ b/plugin_test/rally-scenarios/heat/templates/autoscaling_policy.yml.template @@ -0,0 +1,17 @@ +heat_template_version: 2013-05-23 + +resources: + test_group: + type: OS::Heat::AutoScalingGroup + properties: + desired_capacity: 0 + max_size: 0 + min_size: 0 + resource: + type: OS::Heat::RandomString + test_policy: + type: OS::Heat::ScalingPolicy + properties: + adjustment_type: change_in_capacity + auto_scaling_group_id: { get_resource: test_group } + scaling_adjustment: 1 \ No newline at end of file diff --git a/plugin_test/rally-scenarios/heat/templates/default.yml.template b/plugin_test/rally-scenarios/heat/templates/default.yml.template new file mode 100644 index 0000000..eb4f2f2 --- /dev/null +++ b/plugin_test/rally-scenarios/heat/templates/default.yml.template @@ -0,0 +1 @@ +heat_template_version: 2014-10-16 \ No newline at end of file diff --git a/plugin_test/rally-scenarios/heat/templates/random_strings.yml.template b/plugin_test/rally-scenarios/heat/templates/random_strings.yml.template new file mode 100644 index 0000000..2dd676c --- /dev/null +++ b/plugin_test/rally-scenarios/heat/templates/random_strings.yml.template @@ -0,0 +1,13 @@ +heat_template_version: 2014-10-16 + +description: Test template for rally create-update-delete scenario + +resources: + test_string_one: + type: OS::Heat::RandomString + properties: + length: 20 + test_string_two: + type: OS::Heat::RandomString + properties: + length: 20 \ No newline at end of file diff --git a/plugin_test/rally-scenarios/heat/templates/resource_group.yml.template b/plugin_test/rally-scenarios/heat/templates/resource_group.yml.template new file mode 100644 index 0000000..b3f505f --- /dev/null +++ b/plugin_test/rally-scenarios/heat/templates/resource_group.yml.template @@ -0,0 +1,13 @@ +heat_template_version: 2014-10-16 + +description: Test template for rally create-update-delete scenario + +resources: + test_group: + type: OS::Heat::ResourceGroup + properties: + count: 2 + resource_def: + type: OS::Heat::RandomString + properties: + length: 20 \ No newline at end of file diff --git a/plugin_test/rally-scenarios/heat/templates/server_with_ports.yml.template b/plugin_test/rally-scenarios/heat/templates/server_with_ports.yml.template new file mode 100644 index 0000000..921abdc --- /dev/null +++ b/plugin_test/rally-scenarios/heat/templates/server_with_ports.yml.template @@ -0,0 +1,64 @@ +heat_template_version: 2013-05-23 + +parameters: + # set all correct defaults for parameters before launch test + public_net: + type: string + image: + type: string + default: TestVM-VMDK + flavor: + type: string + default: m1.nano + cidr: + type: string + default: 11.11.11.0/24 + +resources: + server: + type: OS::Nova::Server + properties: + image: {get_param: image} + flavor: {get_param: flavor} + availability_zone: vcenter + networks: + - port: { get_resource: server_port } + + router: + type: OS::Neutron::Router + properties: + external_gateway_info: + network: {get_param: public_net} + + router_interface: + type: OS::Neutron::RouterInterface + properties: + router_id: { get_resource: router } + subnet_id: { get_resource: private_subnet } + + private_net: + type: OS::Neutron::Net + + private_subnet: + type: OS::Neutron::Subnet + properties: + network_id: { get_resource: private_net } + cidr: {get_param: cidr} + + port_security_group: + type: OS::Neutron::SecurityGroup + properties: + name: default_port_security_group + description: > + Default security group assigned to port. The neutron default group is not + used because neutron creates several groups with the same name=default and + nova cannot chooses which one should it use. + + server_port: + type: OS::Neutron::Port + properties: + network_id: {get_resource: private_net} + fixed_ips: + - subnet: { get_resource: private_subnet } + security_groups: + - { get_resource: port_security_group } diff --git a/plugin_test/rally-scenarios/heat/templates/server_with_volume.yml.template b/plugin_test/rally-scenarios/heat/templates/server_with_volume.yml.template new file mode 100644 index 0000000..8adbf3a --- /dev/null +++ b/plugin_test/rally-scenarios/heat/templates/server_with_volume.yml.template @@ -0,0 +1,40 @@ +heat_template_version: 2013-05-23 + +parameters: + # set all correct defaults for parameters before launch test + image: + type: string + default: TestVM-VMDK + flavor: + type: string + default: m1.nano + availability_zone: + type: string + description: The Availability Zone to launch the instance. + default: vcenter-cinder + volume_size: + type: number + description: Size of the volume to be created. + default: 1 + constraints: + - range: { min: 1, max: 1024 } + description: must be between 1 and 1024 Gb. + +resources: + server: + type: OS::Nova::Server + properties: + image: {get_param: image} + flavor: {get_param: flavor} + availability_zone: vcenter + cinder_volume: + type: OS::Cinder::Volume + properties: + size: { get_param: volume_size } + availability_zone: { get_param: availability_zone } + volume_attachment: + type: OS::Cinder::VolumeAttachment + properties: + volume_id: { get_resource: cinder_volume } + instance_uuid: { get_resource: server} + mountpoint: /dev/vdc diff --git a/plugin_test/rally-scenarios/heat/templates/updated_autoscaling_policy_inplace.yml.template b/plugin_test/rally-scenarios/heat/templates/updated_autoscaling_policy_inplace.yml.template new file mode 100644 index 0000000..cf34879 --- /dev/null +++ b/plugin_test/rally-scenarios/heat/templates/updated_autoscaling_policy_inplace.yml.template @@ -0,0 +1,23 @@ +heat_template_version: 2013-05-23 + +description: > + Test template for create-update-delete-stack scenario in rally. + The template updates resource parameters without resource re-creation(replacement) + in the stack defined by autoscaling_policy.yaml.template. It allows to measure + performance of "pure" resource update operation only. + +resources: + test_group: + type: OS::Heat::AutoScalingGroup + properties: + desired_capacity: 0 + max_size: 0 + min_size: 0 + resource: + type: OS::Heat::RandomString + test_policy: + type: OS::Heat::ScalingPolicy + properties: + adjustment_type: change_in_capacity + auto_scaling_group_id: { get_resource: test_group } + scaling_adjustment: -1 \ No newline at end of file diff --git a/plugin_test/rally-scenarios/heat/templates/updated_random_strings_add.yml.template b/plugin_test/rally-scenarios/heat/templates/updated_random_strings_add.yml.template new file mode 100644 index 0000000..e06d42e --- /dev/null +++ b/plugin_test/rally-scenarios/heat/templates/updated_random_strings_add.yml.template @@ -0,0 +1,19 @@ +heat_template_version: 2014-10-16 + +description: > + Test template for create-update-delete-stack scenario in rally. + The template updates the stack defined by random_strings.yaml.template with additional resource. + +resources: + test_string_one: + type: OS::Heat::RandomString + properties: + length: 20 + test_string_two: + type: OS::Heat::RandomString + properties: + length: 20 + test_string_three: + type: OS::Heat::RandomString + properties: + length: 20 \ No newline at end of file diff --git a/plugin_test/rally-scenarios/heat/templates/updated_random_strings_delete.yml.template b/plugin_test/rally-scenarios/heat/templates/updated_random_strings_delete.yml.template new file mode 100644 index 0000000..d02593e --- /dev/null +++ b/plugin_test/rally-scenarios/heat/templates/updated_random_strings_delete.yml.template @@ -0,0 +1,11 @@ +heat_template_version: 2014-10-16 + +description: > + Test template for create-update-delete-stack scenario in rally. + The template deletes one resource from the stack defined by random_strings.yaml.template. + +resources: + test_string_one: + type: OS::Heat::RandomString + properties: + length: 20 \ No newline at end of file diff --git a/plugin_test/rally-scenarios/heat/templates/updated_random_strings_replace.yml.template b/plugin_test/rally-scenarios/heat/templates/updated_random_strings_replace.yml.template new file mode 100644 index 0000000..46d8bff --- /dev/null +++ b/plugin_test/rally-scenarios/heat/templates/updated_random_strings_replace.yml.template @@ -0,0 +1,19 @@ +heat_template_version: 2014-10-16 + +description: > + Test template for create-update-delete-stack scenario in rally. + The template deletes one resource from the stack defined by + random_strings.yaml.template and re-creates it with the updated parameters + (so-called update-replace). That happens because some parameters cannot be + changed without resource re-creation. The template allows to measure performance + of update-replace operation. + +resources: + test_string_one: + type: OS::Heat::RandomString + properties: + length: 20 + test_string_two: + type: OS::Heat::RandomString + properties: + length: 40 \ No newline at end of file diff --git a/plugin_test/rally-scenarios/heat/templates/updated_resource_group_increase.yml.template b/plugin_test/rally-scenarios/heat/templates/updated_resource_group_increase.yml.template new file mode 100644 index 0000000..891074e --- /dev/null +++ b/plugin_test/rally-scenarios/heat/templates/updated_resource_group_increase.yml.template @@ -0,0 +1,16 @@ +heat_template_version: 2014-10-16 + +description: > + Test template for create-update-delete-stack scenario in rally. + The template updates one resource from the stack defined by resource_group.yaml.template + and adds children resources to that resource. + +resources: + test_group: + type: OS::Heat::ResourceGroup + properties: + count: 3 + resource_def: + type: OS::Heat::RandomString + properties: + length: 20 \ No newline at end of file diff --git a/plugin_test/rally-scenarios/heat/templates/updated_resource_group_reduce.yml.template b/plugin_test/rally-scenarios/heat/templates/updated_resource_group_reduce.yml.template new file mode 100644 index 0000000..b4d1d17 --- /dev/null +++ b/plugin_test/rally-scenarios/heat/templates/updated_resource_group_reduce.yml.template @@ -0,0 +1,16 @@ +heat_template_version: 2014-10-16 + +description: > + Test template for create-update-delete-stack scenario in rally. + The template updates one resource from the stack defined by resource_group.yaml.template + and deletes children resources from that resource. + +resources: + test_group: + type: OS::Heat::ResourceGroup + properties: + count: 1 + resource_def: + type: OS::Heat::RandomString + properties: + length: 20 \ No newline at end of file diff --git a/plugin_test/rally-scenarios/neutron/create_and_delete_networks.yaml b/plugin_test/rally-scenarios/neutron/create_and_delete_networks.yaml new file mode 100644 index 0000000..1c0290c --- /dev/null +++ b/plugin_test/rally-scenarios/neutron/create_and_delete_networks.yaml @@ -0,0 +1,19 @@ +--- + NeutronNetworks.create_and_delete_networks: + - + args: + network_create_args: {} + runner: + type: "constant" + times: {{ vlan_amount if (not gre_enabled and compute * 8 > vlan_amount) else compute * 8 }} + concurrency: {{ concurrency * 2 }} + context: + users: + tenants: 2 + users_per_tenant: 2 + quotas: + neutron: + network: -1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/neutron/create_and_delete_ports.yaml b/plugin_test/rally-scenarios/neutron/create_and_delete_ports.yaml new file mode 100644 index 0000000..5d4a2fd --- /dev/null +++ b/plugin_test/rally-scenarios/neutron/create_and_delete_ports.yaml @@ -0,0 +1,22 @@ +--- + NeutronNetworks.create_and_delete_ports: + - + args: + network_create_args: {} + port_create_args: {} + ports_per_network: 50 + runner: + type: "constant" + times: {{ vlan_amount if (not gre_enabled and compute > vlan_amount) else compute }} + concurrency: {{ concurrency * 2 }} + context: + users: + tenants: 2 + users_per_tenant: 2 + quotas: + neutron: + network: -1 + port: -1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/neutron/create_and_delete_routers.yaml b/plugin_test/rally-scenarios/neutron/create_and_delete_routers.yaml new file mode 100644 index 0000000..c1c9ba0 --- /dev/null +++ b/plugin_test/rally-scenarios/neutron/create_and_delete_routers.yaml @@ -0,0 +1,26 @@ +--- + NeutronNetworks.create_and_delete_routers: + - + args: + network_create_args: {} + subnet_create_args: {} + subnet_cidr_start: "1.1.0.0/30" + subnets_per_network: 2 + router_create_args: {} + runner: + type: "constant" + times: {{ vlan_amount - 10 if (not gre_enabled and compute * 2 > vlan_amount) else compute * 2 }} + concurrency: {{ concurrency }} + context: + users: + tenants: 1 + users_per_tenant: 1 + quotas: + neutron: + network: -1 + subnet: -1 + port: -1 + router: -1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/neutron/create_and_delete_secgroups.yaml b/plugin_test/rally-scenarios/neutron/create_and_delete_secgroups.yaml new file mode 100644 index 0000000..b9ce1a7 --- /dev/null +++ b/plugin_test/rally-scenarios/neutron/create_and_delete_secgroups.yaml @@ -0,0 +1,24 @@ +--- + NeutronSecGroupPlugin.create_and_delete_secgroups: + - + args: + security_group_count: 10 + rules_per_security_group: 25 + runner: + type: "constant" + times: {{ vlan_amount if (not gre_enabled and compute * 10 > vlan_amount) else compute * 10 }} + concurrency: {{ concurrency }} + context: + users: + tenants: 10 + users_per_tenant: 2 + quotas: + nova: + security_groups: -1 + security_group_rules: -1 + neutron: + security_group: -1 + security_group_rule: -1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/neutron/create_and_delete_subnets.yaml b/plugin_test/rally-scenarios/neutron/create_and_delete_subnets.yaml new file mode 100644 index 0000000..fc6d486 --- /dev/null +++ b/plugin_test/rally-scenarios/neutron/create_and_delete_subnets.yaml @@ -0,0 +1,23 @@ +--- + NeutronNetworks.create_and_delete_subnets: + - + args: + network_create_args: {} + subnet_create_args: {} + subnet_cidr_start: "1.1.0.0/30" + subnets_per_network: 5 + runner: + type: "constant" + times: {{ vlan_amount if (not gre_enabled and compute * 4 > vlan_amount) else compute * 4 }} + concurrency: {{ concurrency * 2 }} + context: + users: + tenants: 2 + users_per_tenant: 2 + quotas: + neutron: + network: -1 + subnet: -1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/neutron/create_and_list_networks.yaml b/plugin_test/rally-scenarios/neutron/create_and_list_networks.yaml new file mode 100644 index 0000000..4b4ad67 --- /dev/null +++ b/plugin_test/rally-scenarios/neutron/create_and_list_networks.yaml @@ -0,0 +1,19 @@ +--- + NeutronNetworks.create_and_list_networks: + - + args: + network_create_args: {} + runner: + type: "constant" + times: {{ vlan_amount - 10 if (not gre_enabled and compute * 10 > vlan_amount) else compute * 10 }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 2 + quotas: + neutron: + network: -1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/neutron/create_and_list_ports.yaml b/plugin_test/rally-scenarios/neutron/create_and_list_ports.yaml new file mode 100644 index 0000000..ec0204f --- /dev/null +++ b/plugin_test/rally-scenarios/neutron/create_and_list_ports.yaml @@ -0,0 +1,22 @@ +--- + NeutronNetworks.create_and_list_ports: + - + args: + network_create_args: {} + port_create_args: {} + ports_per_network: 10 + runner: + type: "constant" + times: {{ vlan_amount - 10 if (not gre_enabled and compute * 2 > vlan_amount) else compute * 2 }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 2 + quotas: + neutron: + network: -1 + port: -1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/neutron/create_and_list_routers.yaml b/plugin_test/rally-scenarios/neutron/create_and_list_routers.yaml new file mode 100644 index 0000000..8068313 --- /dev/null +++ b/plugin_test/rally-scenarios/neutron/create_and_list_routers.yaml @@ -0,0 +1,25 @@ +--- + NeutronNetworks.create_and_list_routers: + - + args: + network_create_args: {} + subnet_create_args: {} + subnet_cidr_start: "1.1.0.0/30" + subnets_per_network: 5 + router_create_args: {} + runner: + type: "constant" + times: {{ vlan_amount - 10 if (not gre_enabled and compute * 8 > vlan_amount) else compute * 8 }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 2 + quotas: + neutron: + network: -1 + subnet: -1 + router: -1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/neutron/create_and_list_secgroups.yaml b/plugin_test/rally-scenarios/neutron/create_and_list_secgroups.yaml new file mode 100644 index 0000000..45ec17a --- /dev/null +++ b/plugin_test/rally-scenarios/neutron/create_and_list_secgroups.yaml @@ -0,0 +1,24 @@ +--- + NeutronSecGroupPlugin.create_and_list_secgroups: + - + args: + security_group_count: 10 + rules_per_security_group: 10 + runner: + type: "constant" + times: 1 + concurrency: {{ concurrency }} + context: + users: + tenants: 10 + users_per_tenant: 2 + quotas: + nova: + security_groups: -1 + security_group_rules: -1 + neutron: + security_group: -1 + security_group_rule: -1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/neutron/create_and_list_subnets.yaml b/plugin_test/rally-scenarios/neutron/create_and_list_subnets.yaml new file mode 100644 index 0000000..0e0a379 --- /dev/null +++ b/plugin_test/rally-scenarios/neutron/create_and_list_subnets.yaml @@ -0,0 +1,23 @@ +--- + NeutronNetworks.create_and_list_subnets: + - + args: + network_create_args: {} + subnet_create_args: {} + subnet_cidr_start: "1.1.0.0/30" + subnets_per_network: 10 + runner: + type: "constant" + times: {{ vlan_amount - 10 if (not gre_enabled and compute * 5 > vlan_amount) else compute * 5 }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 2 + quotas: + neutron: + network: -1 + subnet: -1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/neutron/create_and_update_ports.yaml b/plugin_test/rally-scenarios/neutron/create_and_update_ports.yaml new file mode 100644 index 0000000..a008fa1 --- /dev/null +++ b/plugin_test/rally-scenarios/neutron/create_and_update_ports.yaml @@ -0,0 +1,27 @@ +--- + NeutronNetworks.create_and_update_ports: + - + args: + network_create_args: {} + port_create_args: {} + ports_per_network: 5 + port_update_args: + admin_state_up: False + device_id: "dummy_id" + device_owner: "dummy_owner" + name: "_port_updated" + runner: + type: "constant" + times: {{ vlan_amount - 10 if (not gre_enabled and compute * 2 > vlan_amount) else compute * 2 }} + concurrency: {{ concurrency }} + context: + users: + tenants: 1 + users_per_tenant: 1 + quotas: + neutron: + network: -1 + port: -1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/neutron/create_and_update_routers.yaml b/plugin_test/rally-scenarios/neutron/create_and_update_routers.yaml new file mode 100644 index 0000000..291da7f --- /dev/null +++ b/plugin_test/rally-scenarios/neutron/create_and_update_routers.yaml @@ -0,0 +1,30 @@ +--- + NeutronNetworks.create_and_update_routers: + - + args: + network_create_args: {} + subnet_create_args: {} + subnet_cidr_start: "1.1.0.0/30" + subnets_per_network: 2 + router_create_args: {} + router_update_args: + admin_state_up: False + name: "_router_updated" + runner: + type: "constant" + times: {{ vlan_amount - 10 if (not gre_enabled and compute * 2 > vlan_amount) else compute * 2 }} + concurrency: {{ concurrency }} + context: + users: + tenants: 1 + users_per_tenant: 1 + quotas: + neutron: + network: -1 + subnet: -1 + router: -1 + port: -1 + sla: + failure_rate: + max: 0 + diff --git a/plugin_test/rally-scenarios/neutron/create_and_update_subnets.yaml b/plugin_test/rally-scenarios/neutron/create_and_update_subnets.yaml new file mode 100644 index 0000000..e2bf026 --- /dev/null +++ b/plugin_test/rally-scenarios/neutron/create_and_update_subnets.yaml @@ -0,0 +1,26 @@ +--- + NeutronNetworks.create_and_update_subnets: + - + args: + network_create_args: {} + subnet_create_args: {} + subnet_cidr_start: "1.4.0.0/16" + subnets_per_network: 10 + subnet_update_args: + enable_dhcp: False + name: "_subnet_updated" + runner: + type: "constant" + times: {{ vlan_amount - 10 if (not gre_enabled and compute * 2 > vlan_amount) else compute * 2 }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 2 + quotas: + neutron: + network: -1 + subnet: -1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/neutron/update_quotas.yaml b/plugin_test/rally-scenarios/neutron/update_quotas.yaml new file mode 100644 index 0000000..6e63708 --- /dev/null +++ b/plugin_test/rally-scenarios/neutron/update_quotas.yaml @@ -0,0 +1,16 @@ +--- + Quotas.neutron_update: + - + args: + max_quota: 1024 + runner: + type: "constant" + times: {{ compute * 2 }} + concurrency: {{ concurrency }} + context: + users: + tenants: 20 + users_per_tenant: 1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/nova/boot_and_bounce_server.yaml b/plugin_test/rally-scenarios/nova/boot_and_bounce_server.yaml new file mode 100644 index 0000000..15cac85 --- /dev/null +++ b/plugin_test/rally-scenarios/nova/boot_and_bounce_server.yaml @@ -0,0 +1,43 @@ +--- + NovaServers.boot_and_bounce_server: + - + args: + flavor: + name: "m1.nano" + image: + name: "TestVM-VMDK" + actions: + - + hard_reboot: 1 + - + soft_reboot: 1 + - + stop_start: 1 + - + rescue_unrescue: 1 + runner: + type: "constant" + times: {{ compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 2 + quotas: + nova: + instances: -1 + cores: -1 + ram: -1 + floating_ips: -1 + security_groups: -1 + security_group_rules: -1 + neutron: + network: -1 + subnet: -1 + port: -1 + network: + start_cidr: {{ "100.1.0.0/25" if gre_enabled else "1.0.0.0/25" }} + networks_per_tenant: 1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/nova/boot_and_delete_server.yaml b/plugin_test/rally-scenarios/nova/boot_and_delete_server.yaml new file mode 100644 index 0000000..fb0183f --- /dev/null +++ b/plugin_test/rally-scenarios/nova/boot_and_delete_server.yaml @@ -0,0 +1,34 @@ +--- + NovaServers.boot_and_delete_server: + - + args: + flavor: + name: "m1.nano" + image: + name: "TestVM-VMDK" + runner: + type: "constant" + times: {{ compute * 20 }} + concurrency: {{ concurrency * 4 }} + context: + users: + tenants: 2 + users_per_tenant: 2 + quotas: + nova: + instances: -1 + cores: -1 + ram: -1 + floating_ips: -1 + security_groups: -1 + security_group_rules: -1 + neutron: + network: -1 + subnet: -1 + port: -1 + network: + start_cidr: {{ "100.1.0.0/21" if gre_enabled else "1.0.0.0/21" }} + networks_per_tenant: 1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/nova/boot_and_delete_server_with_keypair.yaml b/plugin_test/rally-scenarios/nova/boot_and_delete_server_with_keypair.yaml new file mode 100644 index 0000000..e641abd --- /dev/null +++ b/plugin_test/rally-scenarios/nova/boot_and_delete_server_with_keypair.yaml @@ -0,0 +1,35 @@ +--- + NovaKeypair.boot_and_delete_server_with_keypair: + - + args: + flavor: + name: "m1.nano" + image: + name: "TestVM-VMDK" + runner: + type: "constant" + times: {{ compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 2 + quotas: + nova: + instances: -1 + cores: -1 + ram: -1 + floating_ips: -1 + security_groups: -1 + security_group_rules: -1 + key_pairs: -1 + neutron: + network: -1 + subnet: -1 + port: -1 + network: + start_cidr: {{ "100.1.0.0/25" if gre_enabled else "1.0.0.0/25" }} + networks_per_tenant: 1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/nova/boot_and_delete_server_with_neutron_secgroups.yaml b/plugin_test/rally-scenarios/nova/boot_and_delete_server_with_neutron_secgroups.yaml new file mode 100644 index 0000000..d9ca1aa --- /dev/null +++ b/plugin_test/rally-scenarios/nova/boot_and_delete_server_with_neutron_secgroups.yaml @@ -0,0 +1,38 @@ +--- + NeutronSecGroupPlugin.boot_and_delete_server_with_secgroups: + - + args: + flavor: + name: "m1.nano" + image: + name: "TestVM-VMDK" + security_group_count: 10 + rules_per_security_group: 10 + runner: + type: "constant" + times: {{ 10 * compute }} + concurrency: {{ concurrency * 4 }} + context: + users: + tenants: 2 + users_per_tenant: 2 + quotas: + nova: + instances: -1 + cores: -1 + ram: -1 + floating_ips: -1 + security_groups: -1 + security_group_rules: -1 + neutron: + network: -1 + subnet: -1 + port: -1 + security_group: -1 + security_group_rule: -1 + network: + start_cidr: {{ "100.1.0.0/22" if gre_enabled else "1.0.0.0/22" }} + networks_per_tenant: 1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/nova/boot_and_delete_server_with_secgroups.yaml b/plugin_test/rally-scenarios/nova/boot_and_delete_server_with_secgroups.yaml new file mode 100644 index 0000000..a1824e9 --- /dev/null +++ b/plugin_test/rally-scenarios/nova/boot_and_delete_server_with_secgroups.yaml @@ -0,0 +1,38 @@ +--- + NovaSecGroup.boot_and_delete_server_with_secgroups: + - + args: + flavor: + name: "m1.nano" + image: + name: "TestVM-VMDK" + security_group_count: 10 + rules_per_security_group: 10 + runner: + type: "constant" + times: {{ 10 * compute }} + concurrency: {{ concurrency * 4 }} + context: + users: + tenants: 2 + users_per_tenant: 2 + quotas: + nova: + instances: -1 + cores: -1 + ram: -1 + floating_ips: -1 + security_groups: -1 + security_group_rules: -1 + neutron: + network: -1 + subnet: -1 + port: -1 + security_group: -1 + security_group_rule: -1 + network: + start_cidr: {{ "100.1.0.0/22" if gre_enabled else "1.0.0.0/22" }} + networks_per_tenant: 1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/nova/boot_and_list_server.yaml b/plugin_test/rally-scenarios/nova/boot_and_list_server.yaml new file mode 100644 index 0000000..6d00134 --- /dev/null +++ b/plugin_test/rally-scenarios/nova/boot_and_list_server.yaml @@ -0,0 +1,35 @@ +--- + NovaServers.boot_and_list_server: + - + args: + flavor: + name: "m1.nano" + image: + name: "TestVM-VMDK" + detailed: True + runner: + type: "constant" + times: {{ compute * 20 }} + concurrency: {{ concurrency }} + context: + users: + tenants: {{ [floating_ip_amount - 5, vlan_amount, compute * 20] | sort | first }} + users_per_tenant: 2 + quotas: + nova: + instances: -1 + cores: -1 + ram: -1 + floating_ips: -1 + security_groups: -1 + security_group_rules: -1 + neutron: + network: -1 + subnet: -1 + port: -1 + network: + start_cidr: {{ "100.1.0.0/21" if gre_enabled else "1.0.0.0/21" }} + networks_per_tenant: 1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/nova/boot_and_list_server_batch_all_at_once.yaml b/plugin_test/rally-scenarios/nova/boot_and_list_server_batch_all_at_once.yaml new file mode 100644 index 0000000..5f4e701 --- /dev/null +++ b/plugin_test/rally-scenarios/nova/boot_and_list_server_batch_all_at_once.yaml @@ -0,0 +1,36 @@ +--- + NovaServers.boot_and_list_server: + - + args: + flavor: + name: "m1.nano" + image: + name: "TestVM-VMDK" + detailed: True + min_count: {{ compute }} + runner: + type: "constant" + times: 1 + concurrency: 1 + context: + users: + tenants: 1 + users_per_tenant: 1 + quotas: + nova: + instances: -1 + cores: -1 + ram: -1 + floating_ips: -1 + security_groups: -1 + security_group_rules: -1 + neutron: + network: -1 + subnet: -1 + port: -1 + network: + start_cidr: {{ "100.1.0.0/25" if gre_enabled else "1.0.0.0/25" }} + networks_per_tenant: 1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/nova/boot_and_list_server_batch_x10.yaml b/plugin_test/rally-scenarios/nova/boot_and_list_server_batch_x10.yaml new file mode 100644 index 0000000..cdfd1b5 --- /dev/null +++ b/plugin_test/rally-scenarios/nova/boot_and_list_server_batch_x10.yaml @@ -0,0 +1,36 @@ +--- + NovaServers.boot_and_list_server: + - + args: + flavor: + name: "m1.nano" + image: + name: "TestVM-VMDK" + detailed: True + min_count: 10 + runner: + type: "constant" + times: {{ compute * 2 }} + concurrency: {{ concurrency }} + context: + users: + tenants: {{ [floating_ip_amount - 5, vlan_amount, compute * 20] | sort | first }} + users_per_tenant: 3 + quotas: + nova: + instances: -1 + cores: -1 + ram: -1 + floating_ips: -1 + security_groups: -1 + security_group_rules: -1 + neutron: + network: -1 + subnet: -1 + port: -1 + network: + start_cidr: {{ "100.1.0.0/24" if gre_enabled else "1.0.0.0/24" }} + networks_per_tenant: 1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/nova/boot_and_rebuild_server.yaml b/plugin_test/rally-scenarios/nova/boot_and_rebuild_server.yaml new file mode 100644 index 0000000..6ecad35 --- /dev/null +++ b/plugin_test/rally-scenarios/nova/boot_and_rebuild_server.yaml @@ -0,0 +1,36 @@ +--- + NovaServers.boot_and_rebuild_server: + - + args: + flavor: + name: "m1.nano" + from_image: + name: "TestVM-VMDK" + to_image: + name: "TestVM-VMDK" + runner: + type: constant + times: {{ compute * 2 }} + concurrency: {{ concurrency }} + context: + users: + tenants: {{ [floating_ip_amount - 10 , vlan_amount, compute * 20] | sort | first }} + users_per_tenant: 3 + quotas: + nova: + instances: -1 + cores: -1 + ram: -1 + floating_ips: -1 + security_groups: -1 + security_group_rules: -1 + neutron: + network: -1 + subnet: -1 + port: -1 + network: + start_cidr: {{ "100.1.0.0/21" if gre_enabled else "1.0.0.0/21" }} + networks_per_tenant: 1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/nova/create_and_delete_keypair.yaml b/plugin_test/rally-scenarios/nova/create_and_delete_keypair.yaml new file mode 100644 index 0000000..08d4773 --- /dev/null +++ b/plugin_test/rally-scenarios/nova/create_and_delete_keypair.yaml @@ -0,0 +1,23 @@ +--- + NovaKeypair.create_and_delete_keypair: + - + runner: + type: "constant" + times: {{ compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 2 + quotas: + nova: + instances: -1 + cores: -1 + ram: -1 + floating_ips: -1 + security_groups: -1 + security_group_rules: -1 + key_pairs: -1 + sla: + failure_rate: + max: 0 \ No newline at end of file diff --git a/plugin_test/rally-scenarios/nova/create_and_delete_secgroups.yaml b/plugin_test/rally-scenarios/nova/create_and_delete_secgroups.yaml new file mode 100644 index 0000000..4b7f3a1 --- /dev/null +++ b/plugin_test/rally-scenarios/nova/create_and_delete_secgroups.yaml @@ -0,0 +1,24 @@ +--- + NovaSecGroup.create_and_delete_secgroups: + - + args: + security_group_count: 10 + rules_per_security_group: 25 + runner: + type: "constant" + times: {{ 10 * compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: 10 + users_per_tenant: 2 + quotas: + nova: + security_groups: -1 + security_group_rules: -1 + neutron: + security_group: -1 + security_group_rule: -1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/nova/create_and_list_keypairs.yaml b/plugin_test/rally-scenarios/nova/create_and_list_keypairs.yaml new file mode 100644 index 0000000..db384f0 --- /dev/null +++ b/plugin_test/rally-scenarios/nova/create_and_list_keypairs.yaml @@ -0,0 +1,23 @@ +--- + NovaKeypair.create_and_list_keypairs: + - + runner: + type: "constant" + times: {{ compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 2 + quotas: + nova: + instances: -1 + cores: -1 + ram: -1 + floating_ips: -1 + security_groups: -1 + security_group_rules: -1 + key_pairs: -1 + sla: + failure_rate: + max: 0 \ No newline at end of file diff --git a/plugin_test/rally-scenarios/nova/create_and_list_secgroups.yaml b/plugin_test/rally-scenarios/nova/create_and_list_secgroups.yaml new file mode 100644 index 0000000..75d415f --- /dev/null +++ b/plugin_test/rally-scenarios/nova/create_and_list_secgroups.yaml @@ -0,0 +1,24 @@ +--- + NovaSecGroup.create_and_list_secgroups: + - + args: + security_group_count: 10 + rules_per_security_group: 10 + runner: + type: "constant" + times: {{ 10 * compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: 10 + users_per_tenant: 2 + quotas: + nova: + security_groups: -1 + security_group_rules: -1 + neutron: + security_group: -1 + security_group_rule: -1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/nova/nova-update-and-delete.yaml b/plugin_test/rally-scenarios/nova/nova-update-and-delete.yaml new file mode 100644 index 0000000..80d49ed --- /dev/null +++ b/plugin_test/rally-scenarios/nova/nova-update-and-delete.yaml @@ -0,0 +1,16 @@ +--- + Quotas.nova_update_and_delete: + - + args: + max_quota: 1024 + runner: + type: "constant" + times: {{ compute }} + concurrency: 1 + context: + users: + tenants: 3 + users_per_tenant: 2 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/nova/resize_server.yaml b/plugin_test/rally-scenarios/nova/resize_server.yaml new file mode 100644 index 0000000..7e32b13 --- /dev/null +++ b/plugin_test/rally-scenarios/nova/resize_server.yaml @@ -0,0 +1,37 @@ +--- + NovaServers.resize_server: + - + args: + flavor: + name: "m1.nano" + image: + name: "TestVM-VMDK" + to_flavor: + name: "m1.small" + confirm: true + runner: + type: "constant" + times: {{ compute * 20 }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 2 + quotas: + nova: + instances: -1 + cores: -1 + ram: -1 + floating_ips: -1 + security_groups: -1 + security_group_rules: -1 + neutron: + network: -1 + subnet: -1 + port: -1 + network: + start_cidr: {{ "100.1.0.0/21" if gre_enabled else "1.0.0.0/21" }} + networks_per_tenant: 1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/nova/snapshot_server.yaml b/plugin_test/rally-scenarios/nova/snapshot_server.yaml new file mode 100644 index 0000000..2e60df8 --- /dev/null +++ b/plugin_test/rally-scenarios/nova/snapshot_server.yaml @@ -0,0 +1,34 @@ +--- + NovaServers.snapshot_server: + - + args: + flavor: + name: "m1.nano" + image: + name: "TestVM-VMDK" + runner: + type: "constant" + times: {{ compute * 12 }} + concurrency: {{ concurrency }} + context: + users: + tenants: 2 + users_per_tenant: 2 + quotas: + nova: + instances: -1 + cores: -1 + ram: -1 + floating_ips: -1 + security_groups: -1 + security_group_rules: -1 + neutron: + network: -1 + subnet: -1 + port: -1 + network: + start_cidr: {{ "100.1.0.0/22" if gre_enabled else "1.0.0.0/22" }} + networks_per_tenant: 1 + sla: + failure_rate: + max: 0 diff --git a/plugin_test/rally-scenarios/nova/suspend_and_resume.yaml b/plugin_test/rally-scenarios/nova/suspend_and_resume.yaml new file mode 100644 index 0000000..ecf7529 --- /dev/null +++ b/plugin_test/rally-scenarios/nova/suspend_and_resume.yaml @@ -0,0 +1,35 @@ +--- + NovaServers.suspend_and_resume_server: + - + args: + flavor: + name: "m1.nano" + image: + name: "TestVM-VMDK" + force_delete: false + runner: + type: "constant" + times: {{ compute }} + concurrency: {{ concurrency }} + context: + users: + tenants: 3 + users_per_tenant: 2 + quotas: + nova: + instances: -1 + cores: -1 + ram: -1 + floating_ips: -1 + security_groups: -1 + security_group_rules: -1 + neutron: + network: -1 + subnet: -1 + port: -1 + network: + start_cidr: {{ "100.1.0.0/21" if gre_enabled else "1.0.0.0/21" }} + networks_per_tenant: 1 + sla: + failure_rate: + max: 0