Port all samples to task format v2

Signed-off-by: Andriy Kurilin <andr.kurilin@gmail.com>
Change-Id: Id9d1c0cd8f2cbc34d22f861af7c2297899aa4e4e
This commit is contained in:
Andriy Kurilin
2025-09-15 10:47:20 +02:00
parent 14e494d197
commit c3c6de9804
747 changed files with 18553 additions and 14044 deletions

View File

@@ -40,6 +40,7 @@ Changed
with setuptools-scm
* Zaqar scenarios now use messaging v2 API, instead of deprecated v1 API.
* Bump minimal required version to Rally 5.0.0. Switch docker image to use it.
* All task samples are ported to Task format V2
Fixed
~~~~~

File diff suppressed because it is too large Load Diff

View File

@@ -1,125 +1,126 @@
{% set image_name = "^(cirros.*-disk|TestVM)$" %}
{% set flavor_name = "m1.tiny" %}
---
NeutronTrunks.create_and_list_trunks:
-
args:
{% set flavor_name = "m1.tiny" %}
---
version: 2
title: Task for rally-task-neutron-trunk job
subtasks:
- title: NeutronTrunks.create_and_list_trunks tests
scenario:
NeutronTrunks.create_and_list_trunks:
network_create_args: {}
subport_count: 5
runner:
type: "constant"
contexts:
users:
tenants: 3
users_per_tenant: 3
quotas:
neutron:
network: -1
port: -1
trunk: -1
runner:
constant:
times: 10
concurrency: 5
context:
users:
tenants: 3
users_per_tenant: 3
quotas:
neutron:
network: -1
port: -1
trunk: -1
sla:
failure_rate:
max: 10
NeutronTrunks.boot_server_with_subports:
-
args:
sla:
failure_rate:
max: 10
- title: NeutronTrunks.boot_server_with_subports tests
scenario:
NeutronTrunks.boot_server_with_subports:
network_create_args: {}
subport_count: 10
flavor:
name: "{{flavor_name}}"
name: '{{flavor_name}}'
image:
name: "{{image_name}}"
runner:
type: "constant"
name: '{{image_name}}'
contexts:
users:
tenants: 3
users_per_tenant: 3
roles:
- admin
quotas:
neutron:
network: -1
subnet: -1
port: -1
trunk: -1
nova:
instances: -1
cores: -1
ram: -1
runner:
constant:
times: 2
concurrency: 1
context:
users:
tenants: 3
users_per_tenant: 3
roles:
- admin
quotas:
neutron:
network: -1
subnet: -1
port: -1
trunk: -1
nova:
instances: -1
cores: -1
ram: -1
sla:
failure_rate:
max: 10
NeutronTrunks.boot_server_and_add_subports:
-
args:
sla:
failure_rate:
max: 10
- title: NeutronTrunks.boot_server_and_add_subports tests
scenario:
NeutronTrunks.boot_server_and_add_subports:
network_create_args: {}
subport_count: 10
flavor:
name: "{{flavor_name}}"
name: '{{flavor_name}}'
image:
name: "{{image_name}}"
runner:
type: "constant"
name: '{{image_name}}'
contexts:
users:
tenants: 3
users_per_tenant: 3
roles:
- admin
quotas:
neutron:
network: -1
subnet: -1
port: -1
trunk: -1
nova:
instances: -1
cores: -1
ram: -1
runner:
constant:
times: 2
concurrency: 1
context:
users:
tenants: 3
users_per_tenant: 3
roles:
- admin
quotas:
neutron:
network: -1
subnet: -1
port: -1
trunk: -1
nova:
instances: -1
cores: -1
ram: -1
sla:
failure_rate:
max: 10
NeutronTrunks.boot_server_and_batch_add_subports:
-
args:
sla:
failure_rate:
max: 10
- title: NeutronTrunks.boot_server_and_batch_add_subports tests
scenario:
NeutronTrunks.boot_server_and_batch_add_subports:
network_create_args: {}
subports_per_batch: 10
batches: 5
flavor:
name: "{{flavor_name}}"
name: '{{flavor_name}}'
image:
name: "{{image_name}}"
runner:
type: "constant"
name: '{{image_name}}'
contexts:
users:
tenants: 3
users_per_tenant: 3
roles:
- admin
quotas:
neutron:
network: -1
subnet: -1
port: -1
trunk: -1
nova:
instances: -1
cores: -1
ram: -1
runner:
constant:
times: 2
concurrency: 1
context:
users:
tenants: 3
users_per_tenant: 3
roles:
- admin
quotas:
neutron:
network: -1
subnet: -1
port: -1
trunk: -1
nova:
instances: -1
cores: -1
ram: -1
sla:
failure_rate:
max: 10
sla:
failure_rate:
max: 10

View File

@@ -1,131 +1,136 @@
{% set flavor_name = flavor_name or "m1.tiny" %}
---
NeutronBGPVPN.create_and_list_bgpvpns:
-
runner:
type: "constant"
version: 2
title: Task for rally-task-neutron-with-extensions job
subtasks:
- title: NeutronBGPVPN.create_and_list_bgpvpns tests
scenario:
NeutronBGPVPN.create_and_list_bgpvpns: {}
contexts:
users:
tenants: 2
users_per_tenant: 1
runner:
constant:
times: 8
concurrency: 4
context:
users:
tenants: 2
users_per_tenant: 1
sla:
failure_rate:
max: 0
NeutronBGPVPN.create_and_update_bgpvpns:
-
runner:
type: "constant"
sla:
failure_rate:
max: 0
- title: NeutronBGPVPN.create_and_update_bgpvpns tests
scenario:
NeutronBGPVPN.create_and_update_bgpvpns: {}
contexts:
users:
tenants: 2
users_per_tenant: 1
runner:
constant:
times: 8
concurrency: 4
context:
users:
tenants: 2
users_per_tenant: 1
sla:
failure_rate:
max: 0
NeutronBGPVPN.create_and_delete_bgpvpns:
-
runner:
type: "constant"
sla:
failure_rate:
max: 0
- title: NeutronBGPVPN.create_and_delete_bgpvpns tests
scenario:
NeutronBGPVPN.create_and_delete_bgpvpns: {}
contexts:
users:
tenants: 2
users_per_tenant: 1
runner:
constant:
times: 8
concurrency: 4
context:
users:
tenants: 2
users_per_tenant: 1
sla:
failure_rate:
max: 0
NeutronBGPVPN.create_bgpvpn_assoc_disassoc_networks:
-
runner:
type: "constant"
sla:
failure_rate:
max: 0
- title: NeutronBGPVPN.create_bgpvpn_assoc_disassoc_networks tests
scenario:
NeutronBGPVPN.create_bgpvpn_assoc_disassoc_networks: {}
contexts:
users:
tenants: 2
users_per_tenant: 1
network: {}
servers:
servers_per_tenant: 1
auto_assign_nic: true
flavor:
name: '{{flavor_name}}'
image:
name: ^cirros.*-disk$
runner:
constant:
times: 8
concurrency: 4
context:
users:
tenants: 2
users_per_tenant: 1
network: {}
servers:
servers_per_tenant: 1
auto_assign_nic: True
flavor:
name: "{{flavor_name}}"
image:
name: "^cirros.*-disk$"
sla:
failure_rate:
max: 0
NeutronBGPVPN.create_bgpvpn_assoc_disassoc_routers:
-
runner:
type: "constant"
sla:
failure_rate:
max: 0
- title: NeutronBGPVPN.create_bgpvpn_assoc_disassoc_routers tests
scenario:
NeutronBGPVPN.create_bgpvpn_assoc_disassoc_routers: {}
contexts:
users:
tenants: 2
users_per_tenant: 1
network: {}
servers:
servers_per_tenant: 1
auto_assign_nic: true
flavor:
name: '{{flavor_name}}'
image:
name: ^cirros.*-disk$
runner:
constant:
times: 8
concurrency: 4
context:
users:
tenants: 2
users_per_tenant: 1
network: {}
servers:
servers_per_tenant: 1
auto_assign_nic: True
flavor:
name: "{{flavor_name}}"
image:
name: "^cirros.*-disk$"
sla:
failure_rate:
max: 0
NeutronBGPVPN.create_and_list_networks_associations:
-
runner:
type: "constant"
sla:
failure_rate:
max: 0
- title: NeutronBGPVPN.create_and_list_networks_associations tests
scenario:
NeutronBGPVPN.create_and_list_networks_associations: {}
contexts:
users:
tenants: 2
users_per_tenant: 1
network: {}
servers:
servers_per_tenant: 1
auto_assign_nic: true
flavor:
name: '{{flavor_name}}'
image:
name: ^cirros.*-disk$
runner:
constant:
times: 8
concurrency: 4
context:
users:
tenants: 2
users_per_tenant: 1
network: {}
servers:
servers_per_tenant: 1
auto_assign_nic: True
flavor:
name: "{{flavor_name}}"
image:
name: "^cirros.*-disk$"
sla:
failure_rate:
max: 0
NeutronBGPVPN.create_and_list_routers_associations:
-
runner:
type: "constant"
sla:
failure_rate:
max: 0
- title: NeutronBGPVPN.create_and_list_routers_associations tests
scenario:
NeutronBGPVPN.create_and_list_routers_associations: {}
contexts:
users:
tenants: 2
users_per_tenant: 1
network: {}
servers:
servers_per_tenant: 1
auto_assign_nic: true
flavor:
name: '{{flavor_name}}'
image:
name: ^cirros.*-disk$
runner:
constant:
times: 8
concurrency: 4
context:
users:
tenants: 2
users_per_tenant: 1
network: {}
servers:
servers_per_tenant: 1
auto_assign_nic: True
flavor:
name: "{{flavor_name}}"
image:
name: "^cirros.*-disk$"
sla:
failure_rate:
max: 0
sla:
failure_rate:
max: 0

File diff suppressed because it is too large Load Diff

View File

@@ -1,15 +1,22 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Dummy Allow Ssh",
"description": "Test allow ssh operations",
"subtasks": [
{
"args": {
"sleep": 0.1
"title": "Dummy allow ssh",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
"constant": {
"times": 4,
"concurrency": 2
}
},
"context": {
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2

View File

@@ -1,14 +1,18 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
allow_ssh: null
version: 2
title: Dummy Allow Ssh
description: Test allow ssh operations
subtasks:
- title: Dummy allow ssh
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 2
allow_ssh: null

View File

@@ -1,15 +1,22 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Dummy Api Versions",
"description": "Test api versions operations",
"subtasks": [
{
"args": {
"sleep": 0.1
"title": "Dummy api versions",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
"constant": {
"times": 4,
"concurrency": 2
}
},
"context": {
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2

View File

@@ -1,19 +1,23 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
api_versions:
nova:
version: 2.2
cinder:
version: 3.1
service_type: "volumev3"
version: 2
title: Dummy Api Versions
description: Test api versions operations
subtasks:
- title: Dummy api versions
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 2
api_versions:
nova:
version: 2.2
cinder:
version: 3.1
service_type: volumev3

View File

@@ -1,15 +1,22 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Dummy Audit Templates",
"description": "Test audit templates operations",
"subtasks": [
{
"args": {
"sleep": 0.1
"title": "Dummy audit templates",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
"constant": {
"times": 4,
"concurrency": 2
}
},
"context": {
"contexts": {
"audit_templates": {
"audit_templates_per_admin": 5,
"fill_strategy": "random",

View File

@@ -1,22 +1,26 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
audit_templates:
audit_templates_per_admin: 5
fill_strategy: "random"
params:
- goal:
name: "workload_balancing"
strategy:
name: "workload_stabilization"
- goal:
name: "dummy"
strategy:
name: "dummy"
version: 2
title: Dummy Audit Templates
description: Test audit templates operations
subtasks:
- title: Dummy audit templates
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
audit_templates:
audit_templates_per_admin: 5
fill_strategy: random
params:
- goal:
name: workload_balancing
strategy:
name: workload_stabilization
- goal:
name: dummy
strategy:
name: dummy

View File

@@ -1,66 +1,77 @@
{
"Dummy.openstack": [
{
"args": {
"sleep": 0.1
},
"runner": {
"type": "constant",
"concurrency": 1,
"times": 1
},
"context": {
"ca_certs": {
"directory": "/home/stack"
"version": 2,
"title": "Dummy Ca Certs",
"description": "Test ca certs operations",
"subtasks": [
{
"title": "Dummy Ca Certs (variant 1)",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"constant": {
"concurrency": 1,
"times": 1
}
},
"contexts": {
"ca_certs": {
"directory": "/home/stack"
},
"clusters": {
"node_count": 2
},
"cluster_templates": {
"dns_nameserver": "8.8.8.8",
"external_network_id": "public",
"flavor_id": "m1.small",
"docker_volume_size": 5,
"coe": "kubernetes",
"image_id": "fedora-atomic-latest",
"network_driver": "flannel"
},
"users": {
"users_per_tenant": 1,
"tenants": 1
}
}
},
"clusters": {
"node_count": 2
},
"cluster_templates": {
"dns_nameserver": "8.8.8.8",
"external_network_id": "public",
"flavor_id": "m1.small",
"docker_volume_size": 5,
"coe": "kubernetes",
"image_id": "fedora-atomic-latest",
"network_driver": "flannel"
},
"users": {
"users_per_tenant": 1,
"tenants": 1
{
"title": "Dummy Ca Certs (variant 2)",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"constant": {
"concurrency": 1,
"times": 1
}
},
"contexts": {
"ca_certs": {
"directory": "/home/stack"
},
"clusters": {
"node_count": 2
},
"cluster_templates": {
"dns_nameserver": "8.8.8.8",
"external_network_id": "public",
"flavor_id": "m1.small",
"docker_volume_size": 5,
"coe": "swarm",
"image_id": "fedora-atomic-latest",
"network_driver": "docker"
},
"users": {
"users_per_tenant": 1,
"tenants": 1
}
}
}
}
},
{
"args": {
"sleep": 0.1
},
"runner": {
"type": "constant",
"concurrency": 1,
"times": 1
},
"context": {
"ca_certs": {
"directory": "/home/stack"
},
"clusters": {
"node_count": 2
},
"cluster_templates": {
"dns_nameserver": "8.8.8.8",
"external_network_id": "public",
"flavor_id": "m1.small",
"docker_volume_size": 5,
"coe": "swarm",
"image_id": "fedora-atomic-latest",
"network_driver": "docker"
},
"users": {
"users_per_tenant": 1,
"tenants": 1
}
}
}
]
]
}

View File

@@ -1,48 +1,53 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 1
concurrency: 1
context:
users:
tenants: 1
users_per_tenant: 1
cluster_templates:
image_id: "fedora-atomic-latest"
external_network_id: "public"
dns_nameserver: "8.8.8.8"
flavor_id: "m1.small"
docker_volume_size: 5
network_driver: "flannel"
coe: "kubernetes"
clusters:
node_count: 2
ca_certs:
directory: "/home/stack"
-
args:
sleep: 0.1
runner:
type: "constant"
times: 1
concurrency: 1
context:
users:
tenants: 1
users_per_tenant: 1
cluster_templates:
image_id: "fedora-atomic-latest"
external_network_id: "public"
dns_nameserver: "8.8.8.8"
flavor_id: "m1.small"
docker_volume_size: 5
network_driver: "docker"
coe: "swarm"
clusters:
node_count: 2
ca_certs:
directory: "/home/stack"
version: 2
title: Dummy Ca Certs
description: Test ca certs operations
subtasks:
- title: Dummy Ca Certs (variant 1)
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 1
concurrency: 1
contexts:
users:
tenants: 1
users_per_tenant: 1
cluster_templates:
image_id: fedora-atomic-latest
external_network_id: public
dns_nameserver: 8.8.8.8
flavor_id: m1.small
docker_volume_size: 5
network_driver: flannel
coe: kubernetes
clusters:
node_count: 2
ca_certs:
directory: /home/stack
- title: Dummy Ca Certs (variant 2)
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 1
concurrency: 1
contexts:
users:
tenants: 1
users_per_tenant: 1
cluster_templates:
image_id: fedora-atomic-latest
external_network_id: public
dns_nameserver: 8.8.8.8
flavor_id: m1.small
docker_volume_size: 5
network_driver: docker
coe: swarm
clusters:
node_count: 2
ca_certs:
directory: /home/stack

View File

@@ -1,78 +1,105 @@
{
"Dummy.openstack": [
{
"args": {
"sleep": 0.1
"version": 2,
"title": "Task template with cluster templates context",
"description": "This sample demonstrates the usage of cluster templates context for setting up Magnum cluster templates with different COE types.",
"subtasks": [
{
"title": "Test with Kubernetes cluster template",
"workloads": [
{
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"constant": {
"concurrency": 1,
"times": 1
}
},
"contexts": {
"cluster_templates": {
"dns_nameserver": "8.8.8.8",
"external_network_id": "public",
"flavor_id": "m1.small",
"docker_volume_size": 5,
"coe": "kubernetes",
"image_id": "fedora-atomic-latest",
"network_driver": "flannel"
},
"users": {
"users_per_tenant": 1,
"tenants": 1
}
}
}
]
},
"runner": {
"type": "constant",
"concurrency": 1,
"times": 1
{
"title": "Test with Swarm cluster template",
"workloads": [
{
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"constant": {
"concurrency": 1,
"times": 1
}
},
"contexts": {
"cluster_templates": {
"dns_nameserver": "8.8.8.8",
"external_network_id": "public",
"flavor_id": "m1.small",
"docker_volume_size": 5,
"coe": "swarm",
"image_id": "fedora-atomic-latest",
"network_driver": "docker"
},
"users": {
"users_per_tenant": 1,
"tenants": 1
}
}
}
]
},
"context": {
"cluster_templates": {
"dns_nameserver": "8.8.8.8",
"external_network_id": "public",
"flavor_id": "m1.small",
"docker_volume_size": 5,
"coe": "kubernetes",
"image_id": "fedora-atomic-latest",
"network_driver": "flannel"
},
"users": {
"users_per_tenant": 1,
"tenants": 1
}
{
"title": "Test with Mesos cluster template",
"workloads": [
{
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"constant": {
"concurrency": 1,
"times": 1
}
},
"contexts": {
"cluster_templates": {
"dns_nameserver": "8.8.8.8",
"external_network_id": "public",
"flavor_id": "m1.small",
"coe": "mesos",
"image_id": "ubuntu-mesos",
"network_driver": "docker"
},
"users": {
"users_per_tenant": 1,
"tenants": 1
}
}
}
]
}
},
{
"args": {
"sleep": 0.1
},
"runner": {
"type": "constant",
"concurrency": 1,
"times": 1
},
"context": {
"cluster_templates": {
"dns_nameserver": "8.8.8.8",
"external_network_id": "public",
"flavor_id": "m1.small",
"docker_volume_size": 5,
"coe": "swarm",
"image_id": "fedora-atomic-latest",
"network_driver": "docker"
},
"users": {
"users_per_tenant": 1,
"tenants": 1
}
}
},
{
"args": {
"sleep": 0.1
},
"runner": {
"type": "constant",
"concurrency": 1,
"times": 1
},
"context": {
"cluster_templates": {
"dns_nameserver": "8.8.8.8",
"external_network_id": "public",
"flavor_id": "m1.small",
"coe": "mesos",
"image_id": "ubuntu-mesos",
"network_driver": "docker"
},
"users": {
"users_per_tenant": 1,
"tenants": 1
}
}
}
]
]
}

View File

@@ -1,58 +1,67 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 1
concurrency: 1
context:
users:
tenants: 1
users_per_tenant: 1
cluster_templates:
image_id: "fedora-atomic-latest"
external_network_id: "public"
dns_nameserver: "8.8.8.8"
flavor_id: "m1.small"
docker_volume_size: 5
network_driver: "flannel"
coe: "kubernetes"
-
args:
sleep: 0.1
runner:
type: "constant"
times: 1
concurrency: 1
context:
users:
tenants: 1
users_per_tenant: 1
cluster_templates:
image_id: "fedora-atomic-latest"
external_network_id: "public"
dns_nameserver: "8.8.8.8"
flavor_id: "m1.small"
docker_volume_size: 5
network_driver: "docker"
coe: "swarm"
-
args:
sleep: 0.1
runner:
type: "constant"
times: 1
concurrency: 1
context:
users:
tenants: 1
users_per_tenant: 1
cluster_templates:
image_id: "ubuntu-mesos"
external_network_id: "public"
dns_nameserver: "8.8.8.8"
flavor_id: "m1.small"
network_driver: "docker"
coe: "mesos"
version: 2
title: "Task template with cluster templates context"
description: "This sample demonstrates the usage of cluster templates context for setting up Magnum cluster templates with different COE types."
subtasks:
- title: "Test with Kubernetes cluster template"
workloads:
- scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 1
concurrency: 1
contexts:
users:
tenants: 1
users_per_tenant: 1
cluster_templates:
image_id: "fedora-atomic-latest"
external_network_id: "public"
dns_nameserver: "8.8.8.8"
flavor_id: "m1.small"
docker_volume_size: 5
network_driver: "flannel"
coe: "kubernetes"
- title: "Test with Swarm cluster template"
workloads:
- scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 1
concurrency: 1
contexts:
users:
tenants: 1
users_per_tenant: 1
cluster_templates:
image_id: "fedora-atomic-latest"
external_network_id: "public"
dns_nameserver: "8.8.8.8"
flavor_id: "m1.small"
docker_volume_size: 5
network_driver: "docker"
coe: "swarm"
- title: "Test with Mesos cluster template"
workloads:
- scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 1
concurrency: 1
contexts:
users:
tenants: 1
users_per_tenant: 1
cluster_templates:
image_id: "ubuntu-mesos"
external_network_id: "public"
dns_nameserver: "8.8.8.8"
flavor_id: "m1.small"
network_driver: "docker"
coe: "mesos"

View File

@@ -1,87 +1,102 @@
{
"Dummy.openstack": [
{
"args": {
"sleep": 0.1
},
"runner": {
"type": "constant",
"concurrency": 1,
"times": 1
},
"context": {
"clusters": {
"node_count": 2
"version": 2,
"title": "Dummy Clusters",
"description": "Test clusters operations",
"subtasks": [
{
"title": "Dummy Clusters (variant 1)",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"constant": {
"concurrency": 1,
"times": 1
}
},
"contexts": {
"clusters": {
"node_count": 2
},
"cluster_templates": {
"dns_nameserver": "8.8.8.8",
"external_network_id": "public",
"flavor_id": "m1.small",
"docker_volume_size": 5,
"coe": "kubernetes",
"image_id": "fedora-atomic-latest",
"network_driver": "flannel"
},
"users": {
"users_per_tenant": 1,
"tenants": 1
}
}
},
"cluster_templates": {
"dns_nameserver": "8.8.8.8",
"external_network_id": "public",
"flavor_id": "m1.small",
"docker_volume_size": 5,
"coe": "kubernetes",
"image_id": "fedora-atomic-latest",
"network_driver": "flannel"
{
"title": "Dummy Clusters (variant 2)",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"constant": {
"concurrency": 1,
"times": 1
}
},
"contexts": {
"clusters": {
"node_count": 2
},
"cluster_templates": {
"dns_nameserver": "8.8.8.8",
"external_network_id": "public",
"flavor_id": "m1.small",
"docker_volume_size": 5,
"coe": "swarm",
"image_id": "fedora-atomic-latest",
"network_driver": "docker"
},
"users": {
"users_per_tenant": 1,
"tenants": 1
}
}
},
"users": {
"users_per_tenant": 1,
"tenants": 1
{
"title": "Dummy Clusters (variant 3)",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"constant": {
"concurrency": 1,
"times": 1
}
},
"contexts": {
"clusters": {
"node_count": 2
},
"cluster_templates": {
"dns_nameserver": "8.8.8.8",
"external_network_id": "public",
"flavor_id": "m1.small",
"coe": "mesos",
"image_id": "ubuntu-mesos",
"network_driver": "docker"
},
"users": {
"users_per_tenant": 1,
"tenants": 1
}
}
}
}
},
{
"args": {
"sleep": 0.1
},
"runner": {
"type": "constant",
"concurrency": 1,
"times": 1
},
"context": {
"clusters": {
"node_count": 2
},
"cluster_templates": {
"dns_nameserver": "8.8.8.8",
"external_network_id": "public",
"flavor_id": "m1.small",
"docker_volume_size": 5,
"coe": "swarm",
"image_id": "fedora-atomic-latest",
"network_driver": "docker"
},
"users": {
"users_per_tenant": 1,
"tenants": 1
}
}
},
{
"args": {
"sleep": 0.1
},
"runner": {
"type": "constant",
"concurrency": 1,
"times": 1
},
"context": {
"clusters": {
"node_count": 2
},
"cluster_templates": {
"dns_nameserver": "8.8.8.8",
"external_network_id": "public",
"flavor_id": "m1.small",
"coe": "mesos",
"image_id": "ubuntu-mesos",
"network_driver": "docker"
},
"users": {
"users_per_tenant": 1,
"tenants": 1
}
}
}
]
]
}

View File

@@ -1,64 +1,70 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 1
concurrency: 1
context:
users:
tenants: 1
users_per_tenant: 1
cluster_templates:
image_id: "fedora-atomic-latest"
external_network_id: "public"
dns_nameserver: "8.8.8.8"
flavor_id: "m1.small"
docker_volume_size: 5
network_driver: "flannel"
coe: "kubernetes"
clusters:
node_count: 2
-
args:
sleep: 0.1
runner:
type: "constant"
times: 1
concurrency: 1
context:
users:
tenants: 1
users_per_tenant: 1
cluster_templates:
image_id: "fedora-atomic-latest"
external_network_id: "public"
dns_nameserver: "8.8.8.8"
flavor_id: "m1.small"
docker_volume_size: 5
network_driver: "docker"
coe: "swarm"
clusters:
node_count: 2
-
args:
sleep: 0.1
runner:
type: "constant"
times: 1
concurrency: 1
context:
users:
tenants: 1
users_per_tenant: 1
cluster_templates:
image_id: "ubuntu-mesos"
external_network_id: "public"
dns_nameserver: "8.8.8.8"
flavor_id: "m1.small"
network_driver: "docker"
coe: "mesos"
clusters:
node_count: 2
version: 2
title: Dummy Clusters
description: Test clusters operations
subtasks:
- title: Dummy Clusters (variant 1)
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 1
concurrency: 1
contexts:
users:
tenants: 1
users_per_tenant: 1
cluster_templates:
image_id: fedora-atomic-latest
external_network_id: public
dns_nameserver: 8.8.8.8
flavor_id: m1.small
docker_volume_size: 5
network_driver: flannel
coe: kubernetes
clusters:
node_count: 2
- title: Dummy Clusters (variant 2)
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 1
concurrency: 1
contexts:
users:
tenants: 1
users_per_tenant: 1
cluster_templates:
image_id: fedora-atomic-latest
external_network_id: public
dns_nameserver: 8.8.8.8
flavor_id: m1.small
docker_volume_size: 5
network_driver: docker
coe: swarm
clusters:
node_count: 2
- title: Dummy Clusters (variant 3)
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 1
concurrency: 1
contexts:
users:
tenants: 1
users_per_tenant: 1
cluster_templates:
image_id: ubuntu-mesos
external_network_id: public
dns_nameserver: 8.8.8.8
flavor_id: m1.small
network_driver: docker
coe: mesos
clusters:
node_count: 2

View File

@@ -1,15 +1,22 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Dummy Dummy Context",
"description": "Test dummy context operations",
"subtasks": [
{
"args": {
"sleep": 0.1
"title": "Dummy dummy context",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
"constant": {
"times": 4,
"concurrency": 2
}
},
"context": {
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2

View File

@@ -1,16 +1,20 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
dummy_context:
fail_setup: false
fail_cleanup: false
version: 2
title: Dummy Dummy Context
description: Test dummy context operations
subtasks:
- title: Dummy dummy context
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 2
dummy_context:
fail_setup: false
fail_cleanup: false

View File

@@ -1,15 +1,22 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Dummy Existing Network",
"description": "Test existing network operations",
"subtasks": [
{
"args": {
"sleep": 0.1
"title": "Dummy existing network",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
"constant": {
"times": 4,
"concurrency": 2
}
},
"context": {
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2

View File

@@ -1,14 +1,18 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
existing_network: {}
version: 2
title: Dummy Existing Network
description: Test existing network operations
subtasks:
- title: Dummy existing network
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 2
existing_network: {}

View File

@@ -1,15 +1,23 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Flavors Context Configuration",
"description": "Sample configuration for Rally flavors context showing custom flavor creation",
"subtasks": [
{
"args": {
"sleep": 0.1
"title": "Custom flavor context",
"description": "Create custom flavors for use in testing scenarios",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
"constant": {
"times": 4,
"concurrency": 2
}
},
"context": {
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2

View File

@@ -1,17 +1,21 @@
---
Dummy.openstack:
-
args:
version: 2
title: "Flavors Context Configuration"
description: "Sample configuration for Rally flavors context showing custom flavor creation"
subtasks:
- title: "Custom flavor context"
description: "Create custom flavors for use in testing scenarios"
scenario:
Dummy.openstack:
sleep: 0.1
runner:
type: "constant"
runner:
constant:
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
flavors:
-
name: "ram64"
ram: 64
contexts:
users:
tenants: 1
users_per_tenant: 2
flavors:
- name: "ram64"
ram: 64

View File

@@ -1,15 +1,22 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Dummy Heat Dataplane",
"description": "Test heat dataplane operations",
"subtasks": [
{
"args": {
"sleep": 0.1
"title": "Dummy heat dataplane",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
"constant": {
"times": 4,
"concurrency": 2
}
},
"context": {
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2
@@ -19,7 +26,9 @@
"networks_per_tenant": 1,
"subnets_per_network": 1,
"network_create_args": {},
"dns_nameservers": ["10.2.0.1"]
"dns_nameservers": [
"10.2.0.1"
]
},
"heat_dataplane": {
"stacks_per_tenant": 1,

View File

@@ -1,30 +1,34 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
network:
start_cidr: "10.2.0.0/24"
networks_per_tenant: 1
subnets_per_network: 1
network_create_args: {}
dns_nameservers:
- "10.2.0.1"
heat_dataplane:
stacks_per_tenant: 1
template: "samples/tasks/scenarios/heat/templates/resource-group-with-constraint.yaml.template"
files:
file1: "f1.yaml"
file2: "f2.yaml"
parameters:
count: 40
delay: 0.1
context_parameters: {}
version: 2
title: Dummy Heat Dataplane
description: Test heat dataplane operations
subtasks:
- title: Dummy heat dataplane
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 2
network:
start_cidr: 10.2.0.0/24
networks_per_tenant: 1
subnets_per_network: 1
network_create_args: {}
dns_nameservers:
- 10.2.0.1
heat_dataplane:
stacks_per_tenant: 1
template: samples/tasks/scenarios/heat/templates/resource-group-with-constraint.yaml.template
files:
file1: f1.yaml
file2: f2.yaml
parameters:
count: 40
delay: 0.1
context_parameters: {}

View File

@@ -1,32 +1,43 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Task template with image command customizer context",
"description": "This sample demonstrates the usage of image command customizer context for creating customized images with pre-installed commands.",
"subtasks": [
{
"args": {
"sleep": 0.1
},
"runner": {
"type": "constant",
"times": 1,
"concurrency": 1,
"timeout": 3000
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 1
},
"image_command_customizer": {
"image": {"name": "Fedora-x86_64-20-20140618-sda"},
"flavor": {"name": "m1.small"},
"command": {
"local_path": "rally-jobs/extra/install_benchmark.sh",
"remote_path": "./install_benchmark.sh"
"title": "Test with image command customizer",
"workloads": [
{
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"username": "root",
"userdata": "#cloud-config\ndisable_root: 0\nssh_pwauth: 1"
},
"network": {}
}
"runner": {
"constant": {
"times": 1,
"concurrency": 1,
"timeout": 3000
}
},
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 1
},
"image_command_customizer": {
"image": {"name": "Fedora-x86_64-20-20140618-sda"},
"flavor": {"name": "m1.small"},
"command": {
"local_path": "rally-jobs/extra/install_benchmark.sh",
"remote_path": "./install_benchmark.sh"
},
"username": "root",
"userdata": "#cloud-config\ndisable_root: 0\nssh_pwauth: 1"
},
"network": {}
}
}
]
}
]
}

View File

@@ -1,25 +1,30 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
concurrency: 1
timeout: 3000
times: 1
type: "constant"
context:
image_command_customizer:
command:
local_path: "rally-jobs/extra/install_benchmark.sh"
remote_path: "./install_benchmark.sh"
flavor:
name: m1.small
image:
name: "Fedora-x86_64-20-20140618-sda"
userdata: "#cloud-config\ndisable_root: 0\nssh_pwauth: 1"
username: root
network: {}
users:
tenants: 1
users_per_tenant: 1
version: 2
title: "Task template with image command customizer context"
description: "This sample demonstrates the usage of image command customizer context for creating customized images with pre-installed commands."
subtasks:
- title: "Test with image command customizer"
workloads:
- scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
concurrency: 1
timeout: 3000
times: 1
contexts:
image_command_customizer:
command:
local_path: "rally-jobs/extra/install_benchmark.sh"
remote_path: "./install_benchmark.sh"
flavor:
name: m1.small
image:
name: "Fedora-x86_64-20-20140618-sda"
userdata: "#cloud-config\ndisable_root: 0\nssh_pwauth: 1"
username: root
network: {}
users:
tenants: 1
users_per_tenant: 1

View File

@@ -1,15 +1,23 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Images Context Configuration",
"description": "Sample configuration for Rally images context showing image creation setup",
"subtasks": [
{
"args": {
"sleep": 0.1
"title": "Custom images context",
"description": "Create custom images from remote URL for use in testing scenarios",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 2,
"concurrency": 1
"constant": {
"times": 2,
"concurrency": 1
}
},
"context": {
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2

View File

@@ -1,18 +1,23 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 2
concurrency: 1
context:
users:
tenants: 1
users_per_tenant: 2
images:
image_url: "http://download.cirros-cloud.net/0.5.2/cirros-0.5.2-x86_64-disk.img"
image_type: "qcow2"
image_container: "bare"
images_per_tenant: 4
version: 2
title: Images Context Configuration
description: Sample configuration for Rally images context showing image creation setup
subtasks:
- title: Custom images context
description: Create custom images from remote URL for use in testing scenarios
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 2
concurrency: 1
contexts:
users:
tenants: 1
users_per_tenant: 2
images:
image_url: http://download.cirros-cloud.net/0.5.2/cirros-0.5.2-x86_64-disk.img
image_type: qcow2
image_container: bare
images_per_tenant: 4

View File

@@ -1,19 +1,27 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Keypair Context Configuration",
"description": "Sample configuration for Rally keypair context showing SSH key pair setup",
"subtasks": [
{
"args": {
"sleep": 0.1
"title": "Basic keypair context",
"description": "Create SSH key pairs for use in testing scenarios",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
"constant": {
"times": 4,
"concurrency": 2
}
},
"context": {
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2
},
},
"keypair": {}
}
}

View File

@@ -1,14 +1,19 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
keypair: {}
version: 2
title: Keypair Context Configuration
description: Sample configuration for Rally keypair context showing SSH key pair setup
subtasks:
- title: Basic keypair context
description: Create SSH key pairs for use in testing scenarios
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 2
keypair: {}

View File

@@ -1,45 +1,64 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Task template with LBaaS context",
"description": "This sample demonstrates the usage of LBaaS context for setting up load balancer pools with different configurations.",
"subtasks": [
{
"args": {
"sleep": 0.1
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 2
},
"lbaas": {
"pool": {}
}
}
},
{
"args": {
"sleep": 0.1
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 2
},
"lbaas": {
"pool": {
"lb_method": "ROUND_ROBIN",
"protocol": "HTTP"
"title": "Test with basic LBaaS pool",
"workloads": [
{
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"constant": {
"times": 4,
"concurrency": 2
}
},
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2
},
"lbaas": {
"pool": {}
}
}
}
}
]
},
{
"title": "Test with configured LBaaS pool",
"workloads": [
{
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"constant": {
"times": 4,
"concurrency": 2
}
},
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2
},
"lbaas": {
"pool": {
"lb_method": "ROUND_ROBIN",
"protocol": "HTTP"
}
}
}
}
]
}
]
}

View File

@@ -1,30 +1,37 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
lbaas:
pool: {}
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
lbaas:
pool:
lb_method: "ROUND_ROBIN"
protocol: "HTTP"
version: 2
title: "Task template with LBaaS context"
description: "This sample demonstrates the usage of LBaaS context for setting up load balancer pools with different configurations."
subtasks:
- title: "Test with basic LBaaS pool"
workloads:
- scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 2
lbaas:
pool: {}
- title: "Test with configured LBaaS pool"
workloads:
- scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 2
lbaas:
pool:
lb_method: "ROUND_ROBIN"
protocol: "HTTP"

View File

@@ -1,39 +1,58 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Task template with loadbalancer contexts",
"description": "This sample demonstrates the usage of load balancer contexts for setting up LBaaS resources.",
"subtasks": [
{
"args": {
"sleep": 0.1
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 2
},
"lbaas": {
"pool": {}
"title": "Test with LBaaS pool context",
"workloads": [
{
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"constant": {
"times": 4,
"concurrency": 2
}
},
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2
},
"lbaas": {
"pool": {}
}
}
}
}
]
},
{
"args": {
"sleep": 0.1
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 2
"title": "Test without LBaaS context",
"workloads": [
{
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"constant": {
"times": 4,
"concurrency": 2
}
},
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2
}
}
}
}
]
}
]
}

View File

@@ -1,26 +1,33 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
lbaas:
pool: {}
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
version: 2
title: "Task template with loadbalancer contexts"
description: "This sample demonstrates the usage of load balancer contexts for setting up LBaaS resources."
subtasks:
- title: "Test with LBaaS pool context"
workloads:
- scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 2
lbaas:
pool: {}
- title: "Test without LBaaS context"
workloads:
- scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 2

View File

@@ -1,15 +1,22 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Dummy Manila Security Services",
"description": "Test manila security services operations",
"subtasks": [
{
"args": {
"sleep": 0.1
"title": "Dummy manila security services",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
"constant": {
"times": 4,
"concurrency": 2
}
},
"context": {
"contexts": {
"quotas": {
"manila": {
"shares": -1,

View File

@@ -1,42 +1,44 @@
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
quotas:
manila:
shares: -1
gigabytes: -1
share_networks: -1
users:
tenants: 1
users_per_tenant: 1
manila_share_networks:
use_share_networks: True
manila_security_services:
security_services:
-
type: "ldap"
server: "LDAP server address"
user: "User that will be used"
password: "Password for specified user"
-
type: "kerberos"
dns_ip: "IP address of DNS service to be used"
server: "Kerberos server address"
domain: "Kerberos realm"
user: "User that will be used"
password: "Password for specified user"
-
type: "active_directory"
dns_ip: "IP address of DNS service to be used"
domain: "Domain from 'Active Directory'"
user: "User from 'Active Directory'"
password: "password for specified user"
sla:
failure_rate:
max: 0
---
version: 2
title: Dummy Manila Security Services
description: Test manila security services operations
subtasks:
- title: Dummy manila security services
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
quotas:
manila:
shares: -1
gigabytes: -1
share_networks: -1
users:
tenants: 1
users_per_tenant: 1
manila_share_networks:
use_share_networks: true
manila_security_services:
security_services:
- type: ldap
server: LDAP server address
user: User that will be used
password: Password for specified user
- type: kerberos
dns_ip: IP address of DNS service to be used
server: Kerberos server address
domain: Kerberos realm
user: User that will be used
password: Password for specified user
- type: active_directory
dns_ip: IP address of DNS service to be used
domain: Domain from 'Active Directory'
user: User from 'Active Directory'
password: password for specified user
sla:
failure_rate:
max: 0

View File

@@ -1,15 +1,22 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Dummy Manila Share Networks",
"description": "Test manila share networks operations",
"subtasks": [
{
"args": {
"sleep": 0.1
"title": "Dummy manila share networks",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
"constant": {
"times": 4,
"concurrency": 2
}
},
"context": {
"contexts": {
"quotas": {
"manila": {
"shares": -1,

View File

@@ -1,27 +1,32 @@
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
quotas:
manila:
shares: -1
gigabytes: -1
share_networks: -1
users:
tenants: 1
users_per_tenant: 1
manila_share_networks:
use_share_networks: True
manila_shares:
shares_per_tenant: 1
share_proto: "NFS"
size: 1
share_type: "dhss_true"
sla:
failure_rate:
max: 0
---
version: 2
title: Dummy Manila Share Networks
description: Test manila share networks operations
subtasks:
- title: Dummy manila share networks
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
quotas:
manila:
shares: -1
gigabytes: -1
share_networks: -1
users:
tenants: 1
users_per_tenant: 1
manila_share_networks:
use_share_networks: true
manila_shares:
shares_per_tenant: 1
share_proto: NFS
size: 1
share_type: dhss_true
sla:
failure_rate:
max: 0

View File

@@ -1,41 +1,52 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Task template with Manila shares context",
"description": "This sample demonstrates the usage of Manila shares context for setting up shared filesystem resources.",
"subtasks": [
{
"args": {
"sleep": 0.1
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
},
"context": {
"quotas": {
"manila": {
"shares": -1,
"gigabytes": -1,
"share_networks": -1
"title": "Test with Manila shares context",
"workloads": [
{
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"constant": {
"times": 4,
"concurrency": 2
}
},
"contexts": {
"quotas": {
"manila": {
"shares": -1,
"gigabytes": -1,
"share_networks": -1
}
},
"users": {
"tenants": 1,
"users_per_tenant": 1
},
"manila_share_networks": {
"use_share_networks": true
},
"manila_shares": {
"shares_per_tenant": 1,
"share_proto": "NFS",
"size": 1,
"share_type": "dhss_true"
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
},
"users": {
"tenants": 1,
"users_per_tenant": 1
},
"manila_share_networks": {
"use_share_networks": true
},
"manila_shares": {
"shares_per_tenant": 1,
"share_proto": "NFS",
"size": 1,
"share_type": "dhss_true"
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
]
}
]
}

View File

@@ -1,27 +1,32 @@
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
quotas:
manila:
shares: -1
gigabytes: -1
share_networks: -1
users:
tenants: 1
users_per_tenant: 1
manila_share_networks:
use_share_networks: True
manila_shares:
shares_per_tenant: 1
share_proto: "NFS"
size: 1
share_type: "dhss_true"
sla:
failure_rate:
max: 0
version: 2
title: "Task template with Manila shares context"
description: "This sample demonstrates the usage of Manila shares context for setting up shared filesystem resources."
subtasks:
- title: "Test with Manila shares context"
workloads:
- scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
quotas:
manila:
shares: -1
gigabytes: -1
share_networks: -1
users:
tenants: 1
users_per_tenant: 1
manila_share_networks:
use_share_networks: True
manila_shares:
shares_per_tenant: 1
share_proto: "NFS"
size: 1
share_type: "dhss_true"
sla:
failure_rate:
max: 0

View File

@@ -1,15 +1,23 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Network Context Configuration",
"description": "Sample configurations for Rally network context showing network setup options",
"subtasks": [
{
"args": {
"sleep": 0.1
"title": "Default network context",
"description": "Basic network context with default settings",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
"constant": {
"times": 4,
"concurrency": 2
}
},
"context": {
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2
@@ -18,15 +26,20 @@
}
},
{
"args": {
"sleep": 0.1
"title": "Custom network context",
"description": "Network context with custom CIDR, DNS, and router configuration",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
"constant": {
"times": 4,
"concurrency": 2
}
},
"context": {
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2

View File

@@ -1,34 +1,41 @@
---
Dummy.openstack:
-
args:
version: 2
title: "Network Context Configuration"
description: "Sample configurations for Rally network context showing network setup options"
subtasks:
- title: "Default network context"
description: "Basic network context with default settings"
scenario:
Dummy.openstack:
sleep: 0.1
runner:
type: "constant"
runner:
constant:
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
network: {}
-
args:
contexts:
users:
tenants: 1
users_per_tenant: 2
network: {}
- title: "Custom network context"
description: "Network context with custom CIDR, DNS, and router configuration"
scenario:
Dummy.openstack:
sleep: 0.1
runner:
type: "constant"
runner:
constant:
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
network:
start_cidr: "10.2.0.0/24"
networks_per_tenant: 1
subnets_per_network: 1
network_create_args: {}
dns_nameservers:
- "10.2.0.1"
router:
external: false
contexts:
users:
tenants: 1
users_per_tenant: 2
network:
start_cidr: "10.2.0.0/24"
networks_per_tenant: 1
subnets_per_network: 1
network_create_args: {}
dns_nameservers:
- "10.2.0.1"
router:
external: false

View File

@@ -1,15 +1,22 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Dummy Networking Agents",
"description": "Test networking agents operations",
"subtasks": [
{
"args": {
"sleep": 0.1
"title": "Dummy networking agents",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
"constant": {
"times": 4,
"concurrency": 2
}
},
"context": {
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2

View File

@@ -1,14 +1,18 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
networking_agents: {}
version: 2
title: Dummy Networking Agents
description: Test networking agents operations
subtasks:
- title: Dummy networking agents
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 2
networking_agents: {}

View File

@@ -1,46 +1,65 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Task template with quotas context",
"description": "This sample demonstrates the usage of quotas context for setting up resource quotas for different services.",
"subtasks": [
{
"args": {
"sleep": 0.1
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 1
},
"quotas": {
"manila": {
"share_networks": -1
"title": "Test with Manila quotas",
"workloads": [
{
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"constant": {
"times": 4,
"concurrency": 2
}
},
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 1
},
"quotas": {
"manila": {
"share_networks": -1
}
}
}
}
}
]
},
{
"args": {
"sleep": 0.1
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 1
},
"quotas": {
"cinder": {
"volumes": -1
"title": "Test with Cinder quotas",
"workloads": [
{
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"constant": {
"times": 4,
"concurrency": 2
}
},
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 1
},
"quotas": {
"cinder": {
"volumes": -1
}
}
}
}
}
]
}
]
}

View File

@@ -1,30 +1,37 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 1
quotas:
manila:
share_networks: -1
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 1
quotas:
cinder:
volumes: -1
version: 2
title: "Task template with quotas context"
description: "This sample demonstrates the usage of quotas context for setting up resource quotas for different services."
subtasks:
- title: "Test with Manila quotas"
workloads:
- scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 1
quotas:
manila:
share_networks: -1
- title: "Test with Cinder quotas"
workloads:
- scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 1
quotas:
cinder:
volumes: -1

View File

@@ -1,21 +1,32 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Task template with roles context",
"description": "This sample demonstrates the usage of roles context for setting up Keystone roles.",
"subtasks": [
{
"args": {
"sleep": 0.1
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 2
},
"roles": ["role"]
}
"title": "Test with roles context",
"workloads": [
{
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"constant": {
"times": 4,
"concurrency": 2
}
},
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2
},
"roles": ["role"]
}
}
]
}
]
}

View File

@@ -1,15 +1,20 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
roles:
- "role"
version: 2
title: "Task template with roles context"
description: "This sample demonstrates the usage of roles context for setting up Keystone roles."
subtasks:
- title: "Test with roles context"
workloads:
- scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 2
roles:
- "role"

View File

@@ -1,15 +1,22 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Dummy Router",
"description": "Test router operations",
"subtasks": [
{
"args": {
"sleep": 0.1
"title": "Dummy Router (variant 1)",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
"constant": {
"times": 4,
"concurrency": 2
}
},
"context": {
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2
@@ -18,15 +25,19 @@
}
},
{
"args": {
"sleep": 0.1
"title": "Dummy Router (variant 2)",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
"constant": {
"times": 4,
"concurrency": 2
}
},
"context": {
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2

View File

@@ -1,27 +1,32 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
router: {}
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
router:
routers_per_tenant: 1
version: 2
title: Dummy Router
description: Test router operations
subtasks:
- title: Dummy Router (variant 1)
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 2
router: {}
- title: Dummy Router (variant 2)
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 2
router:
routers_per_tenant: 1

View File

@@ -1,16 +1,23 @@
{% set flavor_name = flavor_name or "m1.tiny" %}
{
"Dummy.openstack": [
"version": 2,
"title": "Server Context Configuration",
"description": "Example of using servers context to pre-create instances for testing",
"subtasks": [
{
"args": {
"sleep": 0.1
"title": "OpenStack Test with Server Context",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 1,
"concurrency": 1
"constant": {
"times": 1,
"concurrency": 1
}
},
"context": {
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2

View File

@@ -1,20 +1,24 @@
{% set flavor_name = flavor_name or "m1.tiny" %}
---
Dummy.openstack:
-
args:
version: 2
title: "Server Context Configuration"
description: "Example of using servers context to pre-create instances for testing"
subtasks:
- title: "OpenStack Test with Server Context"
scenario:
Dummy.openstack:
sleep: 0.1
runner:
type: "constant"
runner:
constant:
times: 1
concurrency: 1
context:
users:
tenants: 1
users_per_tenant: 2
servers:
flavor:
name: "{{flavor_name}}"
image:
name: "^cirros.*-disk$"
servers_per_tenant: 2
contexts:
users:
tenants: 1
users_per_tenant: 2
servers:
flavor:
name: "{{flavor_name}}"
image:
name: "^cirros.*-disk$"
servers_per_tenant: 2

View File

@@ -1,24 +1,35 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Task template with stacks context",
"description": "This sample demonstrates the usage of stacks context for setting up Heat stacks.",
"subtasks": [
{
"args": {
"sleep": 0.1
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 1
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 1
},
"stacks": {
"stacks_per_tenant": 2,
"resources_per_stack": 10
"title": "Test with Heat stacks context",
"workloads": [
{
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"constant": {
"times": 4,
"concurrency": 1
}
},
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 1
},
"stacks": {
"stacks_per_tenant": 2,
"resources_per_stack": 10
}
}
}
}
]
}
]
}

View File

@@ -1,16 +1,21 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 1
context:
users:
tenants: 1
users_per_tenant: 1
stacks:
stacks_per_tenant: 2
resources_per_stack: 10
version: 2
title: "Task template with stacks context"
description: "This sample demonstrates the usage of stacks context for setting up Heat stacks."
subtasks:
- title: "Test with Heat stacks context"
workloads:
- scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 1
contexts:
users:
tenants: 1
users_per_tenant: 1
stacks:
stacks_per_tenant: 2
resources_per_stack: 10

View File

@@ -1,28 +1,39 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Task template with Swift objects context",
"description": "This sample demonstrates the usage of Swift objects context for setting up object storage resources.",
"subtasks": [
{
"args": {
"sleep": 0.1
},
"runner": {
"type": "constant",
"times": 6,
"concurrency": 3
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 1
},
"roles": [
"admin"
],
"swift_objects": {
"containers_per_tenant": 1,
"objects_per_container": 10,
"object_size": 1024
"title": "Test with Swift objects context",
"workloads": [
{
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"constant": {
"times": 6,
"concurrency": 3
}
},
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 1
},
"roles": [
"admin"
],
"swift_objects": {
"containers_per_tenant": 1,
"objects_per_container": 10,
"object_size": 1024
}
}
}
}
]
}
]
}

View File

@@ -1,19 +1,24 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 6
concurrency: 3
context:
users:
tenants: 1
users_per_tenant: 1
roles:
- "admin"
swift_objects:
containers_per_tenant: 1
objects_per_container: 10
object_size: 1024
version: 2
title: "Task template with Swift objects context"
description: "This sample demonstrates the usage of Swift objects context for setting up object storage resources."
subtasks:
- title: "Test with Swift objects context"
workloads:
- scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 6
concurrency: 3
contexts:
users:
tenants: 1
users_per_tenant: 1
roles:
- "admin"
swift_objects:
containers_per_tenant: 1
objects_per_container: 10
object_size: 1024

View File

@@ -1,15 +1,23 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Users Context Configuration",
"description": "Sample configurations for Rally users context showing tenant and user creation options",
"subtasks": [
{
"args": {
"sleep": 0.1
"title": "Basic users context",
"description": "Simple users context with basic tenant and user configuration",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
"constant": {
"times": 4,
"concurrency": 2
}
},
"context": {
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2
@@ -17,15 +25,20 @@
}
},
{
"args": {
"sleep": 0.1
"title": "Advanced users context",
"description": "Users context with advanced options including domain configuration and user selection",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
"constant": {
"times": 4,
"concurrency": 2
}
},
"context": {
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2,

View File

@@ -1,28 +1,35 @@
---
Dummy.openstack:
-
args:
version: 2
title: "Users Context Configuration"
description: "Sample configurations for Rally users context showing tenant and user creation options"
subtasks:
- title: "Basic users context"
description: "Simple users context with basic tenant and user configuration"
scenario:
Dummy.openstack:
sleep: 0.1
runner:
type: "constant"
runner:
constant:
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
-
args:
contexts:
users:
tenants: 1
users_per_tenant: 2
- title: "Advanced users context"
description: "Users context with advanced options including domain configuration and user selection"
scenario:
Dummy.openstack:
sleep: 0.1
runner:
type: "constant"
runner:
constant:
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
resource_management_workers: 1
project_domain: "project"
user_domain: "demo"
user_choice_method: "random"
contexts:
users:
tenants: 1
users_per_tenant: 2
resource_management_workers: 1
project_domain: "project"
user_domain: "demo"
user_choice_method: "random"

View File

@@ -1,21 +1,30 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Dummy Volume Types",
"description": "Test volume types operations",
"subtasks": [
{
"args": {
"sleep": 0.1
"title": "Dummy volume types",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
"constant": {
"times": 4,
"concurrency": 2
}
},
"context": {
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2
},
"volume_types": ["test"]
"volume_types": [
"test"
]
}
}
]
}
}

View File

@@ -1,15 +1,19 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
volume_types:
- test
version: 2
title: Dummy Volume Types
description: Test volume types operations
subtasks:
- title: Dummy volume types
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 2
volume_types:
- test

View File

@@ -1,15 +1,23 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Volumes Context Configuration",
"description": "Sample configuration for Rally volumes context showing volume creation setup",
"subtasks": [
{
"args": {
"sleep": 0.1
"title": "Basic volumes context",
"description": "Create volumes for use in testing scenarios",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
"constant": {
"times": 4,
"concurrency": 2
}
},
"context": {
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2

View File

@@ -1,16 +1,21 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
volumes:
size: 1
volumes_per_tenant: 4
version: 2
title: Volumes Context Configuration
description: Sample configuration for Rally volumes context showing volume creation setup
subtasks:
- title: Basic volumes context
description: Create volumes for use in testing scenarios
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 2
volumes:
size: 1
volumes_per_tenant: 4

View File

@@ -1,15 +1,22 @@
{
"Dummy.openstack": [
"version": 2,
"title": "Dummy Zones",
"description": "Test zones operations",
"subtasks": [
{
"args": {
"sleep": 0.1
"title": "Dummy zones",
"scenario": {
"Dummy.openstack": {
"sleep": 0.1
}
},
"runner": {
"type": "constant",
"times": 4,
"concurrency": 2
"constant": {
"times": 4,
"concurrency": 2
}
},
"context": {
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 2

View File

@@ -1,15 +1,19 @@
---
Dummy.openstack:
-
args:
sleep: 0.1
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 1
users_per_tenant: 2
zones:
zones_per_tenant: 1
version: 2
title: Dummy Zones
description: Test zones operations
subtasks:
- title: Dummy zones
scenario:
Dummy.openstack:
sleep: 0.1
runner:
constant:
times: 4
concurrency: 2
contexts:
users:
tenants: 1
users_per_tenant: 2
zones:
zones_per_tenant: 1

View File

@@ -1,13 +1,21 @@
{
"Dummy.dummy": [
"version": 2,
"title": "Constant For Duration Runner",
"description": "Demonstrates using constant runner with duration-based execution",
"subtasks": [
{
"args": {
"sleep": 5
"title": "Constant concurrency for duration",
"description": "Run with constant concurrency level for a specified duration",
"scenario": {
"Dummy.dummy": {
"sleep": 5
}
},
"runner": {
"type": "constant_for_duration",
"concurrency": 5,
"duration": 30
"constant_for_duration": {
"concurrency": 5,
"duration": 30
}
}
}
]

View File

@@ -1,9 +1,14 @@
---
Dummy.dummy:
-
args:
version: 2
title: "Constant For Duration Runner"
description: "Demonstrates using constant runner with duration-based execution"
subtasks:
- title: "Constant concurrency for duration"
description: "Run with constant concurrency level for a specified duration"
scenario:
Dummy.dummy:
sleep: 5
runner:
type: "constant_for_duration"
runner:
constant_for_duration:
concurrency: 5
duration: 30

View File

@@ -1,14 +1,22 @@
{
"Dummy.dummy": [
"version": 2,
"title": "Constant Runner with Timeout",
"description": "Demonstrates using constant runner with timeout configuration",
"subtasks": [
{
"args": {
"sleep": 10
"title": "Constant runner with timeout",
"description": "Run iterations with constant concurrency and timeout limit",
"scenario": {
"Dummy.dummy": {
"sleep": 10
}
},
"runner": {
"type": "constant",
"times": 20,
"concurrency": 5,
"timeout": 5
"constant": {
"times": 20,
"concurrency": 5,
"timeout": 5
}
}
}
]

View File

@@ -1,10 +1,15 @@
---
Dummy.dummy:
-
args:
version: 2
title: "Constant Runner with Timeout"
description: "Demonstrates using constant runner with timeout configuration"
subtasks:
- title: "Constant runner with timeout"
description: "Run iterations with constant concurrency and timeout limit"
scenario:
Dummy.dummy:
sleep: 10
runner:
type: "constant"
runner:
constant:
times: 20
concurrency: 5
timeout: 5

View File

@@ -1,14 +1,22 @@
{
"Dummy.dummy": [
"version": 2,
"title": "RPS (Requests Per Second) Runner",
"description": "Demonstrates using RPS runner for rate-limited execution",
"subtasks": [
{
"args": {
"sleep": 5
"title": "Rate-limited execution",
"description": "Execute iterations at a specific rate (requests per second)",
"scenario": {
"Dummy.dummy": {
"sleep": 5
}
},
"runner": {
"type": "rps",
"times": 20,
"rps": 3,
"timeout": 6
"rps": {
"times": 20,
"rps": 3,
"timeout": 6
}
}
}
]

View File

@@ -1,10 +1,15 @@
---
Dummy.dummy:
-
args:
version: 2
title: "RPS (Requests Per Second) Runner"
description: "Demonstrates using RPS runner for rate-limited execution"
subtasks:
- title: "Rate-limited execution"
description: "Execute iterations at a specific rate (requests per second)"
scenario:
Dummy.dummy:
sleep: 5
runner:
type: "rps"
runner:
rps:
times: 20
rps: 3
timeout: 6

View File

@@ -1,12 +1,20 @@
{
"Dummy.dummy": [
"version": 2,
"title": "Serial Runner",
"description": "Demonstrates using serial runner for sequential execution",
"subtasks": [
{
"args": {
"sleep": 5
"title": "Sequential execution",
"description": "Execute iterations one after another in sequence",
"scenario": {
"Dummy.dummy": {
"sleep": 5
}
},
"runner": {
"type": "serial",
"times": 20
"serial": {
"times": 20
}
}
}
]

View File

@@ -1,8 +1,13 @@
---
Dummy.dummy:
-
args:
version: 2
title: "Serial Runner"
description: "Demonstrates using serial runner for sequential execution"
subtasks:
- title: "Sequential execution"
description: "Execute iterations one after another in sequence"
scenario:
Dummy.dummy:
sleep: 5
runner:
type: "serial"
runner:
serial:
times: 20

View File

@@ -1,12 +1,20 @@
{
"Authenticate.keystone": [
"version": 2,
"title": "Keystone Authentication Test",
"description": "Test Keystone authentication performance with multiple users",
"subtasks": [
{
"runner": {
"type": "constant",
"times": 100,
"concurrency": 5
"title": "Keystone Authentication",
"scenario": {
"Authenticate.keystone": {}
},
"context": {
"runner": {
"constant": {
"times": 100,
"concurrency": 5
}
},
"contexts": {
"users": {
"tenants": 3,
"users_per_tenant": 50

View File

@@ -1,14 +1,19 @@
---
Authenticate.keystone:
-
runner:
type: "constant"
version: 2
title: "Keystone Authentication Test"
description: "Test Keystone authentication performance with multiple users"
subtasks:
- title: "Keystone Authentication"
scenario:
Authenticate.keystone: {}
runner:
constant:
times: 100
concurrency: 5
context:
users:
tenants: 3
users_per_tenant: 50
sla:
failure_rate:
max: 0
contexts:
users:
tenants: 3
users_per_tenant: 50
sla:
failure_rate:
max: 0

View File

@@ -1,15 +1,22 @@
{
"Authenticate.validate_ceilometer": [
"version": 2,
"title": "Ceilometer Token Validation Test",
"description": "Test Ceilometer token validation performance",
"subtasks": [
{
"args": {
"repetitions": 2
"title": "Ceilometer Token Validation",
"scenario": {
"Authenticate.validate_ceilometer": {
"repetitions": 2
}
},
"runner": {
"type": "constant",
"times": 10,
"concurrency": 5
"constant": {
"times": 10,
"concurrency": 5
}
},
"context": {
"contexts": {
"users": {
"tenants": 3,
"users_per_tenant": 5

View File

@@ -1,16 +1,20 @@
---
Authenticate.validate_ceilometer:
-
args:
version: 2
title: "Ceilometer Token Validation Test"
description: "Test Ceilometer token validation performance"
subtasks:
- title: "Ceilometer Token Validation"
scenario:
Authenticate.validate_ceilometer:
repetitions: 2
runner:
type: "constant"
runner:
constant:
times: 10
concurrency: 5
context:
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0
contexts:
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0

View File

@@ -1,15 +1,22 @@
{
"Authenticate.validate_cinder": [
"version": 2,
"title": "Cinder Token Validation Test",
"description": "Test Cinder token validation performance",
"subtasks": [
{
"args": {
"repetitions": 2
"title": "Cinder Token Validation",
"scenario": {
"Authenticate.validate_cinder": {
"repetitions": 2
}
},
"runner": {
"type": "constant",
"times": 10,
"concurrency": 5
"constant": {
"times": 10,
"concurrency": 5
}
},
"context": {
"contexts": {
"users": {
"tenants": 3,
"users_per_tenant": 5

View File

@@ -1,16 +1,20 @@
---
Authenticate.validate_cinder:
-
args:
version: 2
title: "Cinder Token Validation Test"
description: "Test Cinder token validation performance"
subtasks:
- title: "Cinder Token Validation"
scenario:
Authenticate.validate_cinder:
repetitions: 2
runner:
type: "constant"
runner:
constant:
times: 10
concurrency: 5
context:
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0
contexts:
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0

View File

@@ -1,15 +1,22 @@
{
"Authenticate.validate_glance": [
"version": 2,
"title": "Glance Token Validation Test",
"description": "Test Glance token validation performance",
"subtasks": [
{
"args": {
"repetitions": 2
"title": "Glance Token Validation",
"scenario": {
"Authenticate.validate_glance": {
"repetitions": 2
}
},
"runner": {
"type": "constant",
"times": 10,
"concurrency": 5
"constant": {
"times": 10,
"concurrency": 5
}
},
"context": {
"contexts": {
"users": {
"tenants": 3,
"users_per_tenant": 5

View File

@@ -1,16 +1,20 @@
---
Authenticate.validate_glance:
-
args:
version: 2
title: "Glance Token Validation Test"
description: "Test Glance token validation performance"
subtasks:
- title: "Glance Token Validation"
scenario:
Authenticate.validate_glance:
repetitions: 2
runner:
type: "constant"
runner:
constant:
times: 10
concurrency: 5
context:
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0
contexts:
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0

View File

@@ -1,15 +1,22 @@
{
"Authenticate.validate_heat": [
"version": 2,
"title": "Heat Token Validation Test",
"description": "Test Heat token validation performance",
"subtasks": [
{
"args": {
"repetitions": 2
"title": "Heat Token Validation",
"scenario": {
"Authenticate.validate_heat": {
"repetitions": 2
}
},
"runner": {
"type": "constant",
"times": 10,
"concurrency": 5
"constant": {
"times": 10,
"concurrency": 5
}
},
"context": {
"contexts": {
"users": {
"tenants": 3,
"users_per_tenant": 5

View File

@@ -1,16 +1,20 @@
---
Authenticate.validate_heat:
-
args:
version: 2
title: "Heat Token Validation Test"
description: "Test Heat token validation performance"
subtasks:
- title: "Heat Token Validation"
scenario:
Authenticate.validate_heat:
repetitions: 2
runner:
type: "constant"
runner:
constant:
times: 10
concurrency: 5
context:
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0
contexts:
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0

View File

@@ -1,15 +1,22 @@
{
"Authenticate.validate_neutron": [
"version": 2,
"title": "Neutron Token Validation Test",
"description": "Test Neutron token validation performance",
"subtasks": [
{
"args": {
"repetitions": 2
"title": "Neutron Token Validation",
"scenario": {
"Authenticate.validate_neutron": {
"repetitions": 2
}
},
"runner": {
"type": "constant",
"times": 10,
"concurrency": 5
"constant": {
"times": 10,
"concurrency": 5
}
},
"context": {
"contexts": {
"users": {
"tenants": 3,
"users_per_tenant": 5

View File

@@ -1,16 +1,20 @@
---
Authenticate.validate_neutron:
-
args:
version: 2
title: "Neutron Token Validation Test"
description: "Test Neutron token validation performance"
subtasks:
- title: "Neutron Token Validation"
scenario:
Authenticate.validate_neutron:
repetitions: 2
runner:
type: "constant"
runner:
constant:
times: 10
concurrency: 5
context:
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0
contexts:
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0

View File

@@ -1,15 +1,22 @@
{
"Authenticate.validate_nova": [
"version": 2,
"title": "Nova Token Validation Test",
"description": "Test Nova token validation performance with multiple repetitions",
"subtasks": [
{
"args": {
"repetitions": 2
"title": "Nova Token Validation",
"scenario": {
"Authenticate.validate_nova": {
"repetitions": 2
}
},
"runner": {
"type": "constant",
"times": 10,
"concurrency": 5
"constant": {
"times": 10,
"concurrency": 5
}
},
"context": {
"contexts": {
"users": {
"tenants": 3,
"users_per_tenant": 5

View File

@@ -1,16 +1,20 @@
---
Authenticate.validate_nova:
-
args:
version: 2
title: "Nova Token Validation Test"
description: "Test Nova token validation performance with multiple repetitions"
subtasks:
- title: "Nova Token Validation"
scenario:
Authenticate.validate_nova:
repetitions: 2
runner:
type: "constant"
runner:
constant:
times: 10
concurrency: 5
context:
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0
contexts:
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0

View File

@@ -1,15 +1,22 @@
{
"Authenticate.validate_octavia": [
"version": 2,
"title": "Octavia Token Validation Test",
"description": "Test Octavia token validation performance",
"subtasks": [
{
"args": {
"repetitions": 2
"title": "Octavia Token Validation",
"scenario": {
"Authenticate.validate_octavia": {
"repetitions": 2
}
},
"runner": {
"type": "constant",
"times": 10,
"concurrency": 5
"constant": {
"times": 10,
"concurrency": 5
}
},
"context": {
"contexts": {
"users": {
"tenants": 3,
"users_per_tenant": 5

View File

@@ -1,16 +1,20 @@
---
Authenticate.validate_octavia:
-
args:
version: 2
title: "Octavia Token Validation Test"
description: "Test Octavia token validation performance"
subtasks:
- title: "Octavia Token Validation"
scenario:
Authenticate.validate_octavia:
repetitions: 2
runner:
type: "constant"
runner:
constant:
times: 10
concurrency: 5
context:
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0
contexts:
users:
tenants: 3
users_per_tenant: 5
sla:
failure_rate:
max: 0

View File

@@ -1,22 +1,30 @@
{
"BarbicanContainers.create_and_add": [
{
"runner": {
"type": "constant",
"times": 2,
"concurrency": 1
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 1
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
"version": 2,
"title": "Barbican container creation and secret addition",
"description": "Test creating containers and adding secrets in Barbican key management service",
"subtasks": [
{
"title": "Create containers and add secrets",
"scenario": {
"BarbicanContainers.create_and_add": {}
},
"runner": {
"constant": {
"times": 2,
"concurrency": 1
}
]
},
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 1
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}

View File

@@ -1,15 +1,19 @@
---
BarbicanContainers.create_and_add:
-
runner:
type: "constant"
version: 2
title: "Barbican container creation and secret addition"
description: "Test creating containers and adding secrets in Barbican key management service"
subtasks:
- title: "Create containers and add secrets"
scenario:
BarbicanContainers.create_and_add: {}
runner:
constant:
times: 2
concurrency: 1
context:
users:
tenants: 1
users_per_tenant: 1
sla:
failure_rate:
max: 0
contexts:
users:
tenants: 1
users_per_tenant: 1
sla:
failure_rate:
max: 0

View File

@@ -1,12 +1,20 @@
{
"BarbicanOrders.create_asymmetric_and_delete": [
"version": 2,
"title": "Barbican Create And Delete Asymmetric",
"description": "Test creating Barbican security resources",
"subtasks": [
{
"runner": {
"type": "constant",
"times": 2,
"concurrency": 1
"title": "Create and delete asymmetric",
"scenario": {
"BarbicanOrders.create_asymmetric_and_delete": {}
},
"context": {
"runner": {
"constant": {
"times": 2,
"concurrency": 1
}
},
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 1

View File

@@ -1,15 +1,19 @@
---
BarbicanOrders.create_asymmetric_and_delete:
-
runner:
type: "constant"
times: 2
concurrency: 1
context:
users:
tenants: 1
users_per_tenant: 1
sla:
failure_rate:
max: 0
version: 2
title: Barbican Create And Delete Asymmetric
description: Test creating Barbican security resources
subtasks:
- title: Create and delete asymmetric
scenario:
BarbicanOrders.create_asymmetric_and_delete: {}
runner:
constant:
times: 2
concurrency: 1
contexts:
users:
tenants: 1
users_per_tenant: 1
sla:
failure_rate:
max: 0

View File

@@ -1,22 +1,30 @@
{
"BarbicanContainers.create_certificate_and_delete": [
"version": 2,
"title": "Barbican Create And Delete Certificate",
"description": "Test creating Barbican security resources",
"subtasks": [
{
"runner": {
"type": "constant",
"times": 2,
"concurrency": 1
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 1
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
"title": "Create and delete certificate",
"scenario": {
"BarbicanContainers.create_certificate_and_delete": {}
},
"runner": {
"constant": {
"times": 2,
"concurrency": 1
}
},
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 1
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}

View File

@@ -1,15 +1,19 @@
---
BarbicanContainers.create_certificate_and_delete:
-
runner:
type: "constant"
times: 2
concurrency: 1
context:
users:
tenants: 1
users_per_tenant: 1
sla:
failure_rate:
max: 0
version: 2
title: Barbican Create And Delete Certificate
description: Test creating Barbican security resources
subtasks:
- title: Create and delete certificate
scenario:
BarbicanContainers.create_certificate_and_delete: {}
runner:
constant:
times: 2
concurrency: 1
contexts:
users:
tenants: 1
users_per_tenant: 1
sla:
failure_rate:
max: 0

View File

@@ -1,22 +1,30 @@
{
"BarbicanContainers.create_and_delete": [
{
"runner": {
"type": "constant",
"times": 2,
"concurrency": 1
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 1
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
"version": 2,
"title": "Barbican container creation and deletion",
"description": "Test creating and deleting containers in Barbican key management service",
"subtasks": [
{
"title": "Create and delete containers",
"scenario": {
"BarbicanContainers.create_and_delete": {}
},
"runner": {
"constant": {
"times": 2,
"concurrency": 1
}
]
},
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 1
}
},
"sla": {
"failure_rate": {
"max": 0
}
}
}
]
}

View File

@@ -1,15 +1,19 @@
---
BarbicanContainers.create_and_delete:
-
runner:
type: "constant"
times: 2
concurrency: 1
context:
users:
tenants: 1
users_per_tenant: 1
sla:
failure_rate:
max: 0
version: 2
title: Barbican container creation and deletion
description: Test creating and deleting containers in Barbican key management service
subtasks:
- title: Create and delete containers
scenario:
BarbicanContainers.create_and_delete: {}
runner:
constant:
times: 2
concurrency: 1
contexts:
users:
tenants: 1
users_per_tenant: 1
sla:
failure_rate:
max: 0

View File

@@ -1,12 +1,20 @@
{
"BarbicanOrders.create_key_and_delete": [
"version": 2,
"title": "Barbican Create And Delete Keys",
"description": "Test creating Barbican security resources",
"subtasks": [
{
"runner": {
"type": "constant",
"times": 2,
"concurrency": 1
"title": "Create and delete keys",
"scenario": {
"BarbicanOrders.create_key_and_delete": {}
},
"context": {
"runner": {
"constant": {
"times": 2,
"concurrency": 1
}
},
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 1

View File

@@ -1,15 +1,19 @@
---
BarbicanOrders.create_key_and_delete:
-
runner:
type: "constant"
times: 2
concurrency: 1
context:
users:
tenants: 1
users_per_tenant: 1
sla:
failure_rate:
max: 0
version: 2
title: Barbican Create And Delete Keys
description: Test creating Barbican security resources
subtasks:
- title: Create and delete keys
scenario:
BarbicanOrders.create_key_and_delete: {}
runner:
constant:
times: 2
concurrency: 1
contexts:
users:
tenants: 1
users_per_tenant: 1
sla:
failure_rate:
max: 0

View File

@@ -1,12 +1,20 @@
{
"BarbicanOrders.create_certificate_and_delete": [
"version": 2,
"title": "Barbican Create And Delete Order Certificate",
"description": "Test creating Barbican security resources",
"subtasks": [
{
"runner": {
"type": "constant",
"times": 2,
"concurrency": 1
"title": "Create and delete order certificate",
"scenario": {
"BarbicanOrders.create_certificate_and_delete": {}
},
"context": {
"runner": {
"constant": {
"times": 2,
"concurrency": 1
}
},
"contexts": {
"users": {
"tenants": 1,
"users_per_tenant": 1

Some files were not shown because too many files have changed in this diff Show More