rally/rally-jobs/rally-manila.yaml
Valeriy Ponomaryov 57fa652a98 [Manila] Add create_and_list_share scenario for Manila
Add 'create_and_list_share' scenario and task samples and update manila
tasks for CI.

Change-Id: I9317e40f8f62eb84d26833f7efbe32337cdfb770
2016-10-21 19:52:08 +03:00

167 lines
3.4 KiB
YAML

---
Dummy.dummy:
-
runner:
type: "constant"
times: 1
concurrency: 1
context:
users:
tenants: 1
users_per_tenant: 1
quotas:
manila:
shares: -1
gigabytes: -1
snapshots: -1
snapshot_gigabytes: -1
share_networks: -1
ManilaShares.list_shares:
-
args:
detailed: True
runner:
type: "constant"
times: 12
concurrency: 1
context:
users:
tenants: 3
users_per_tenant: 4
user_choice_method: "round_robin"
sla:
failure_rate:
max: 0
{% for s in ("create_and_delete_share", "create_and_list_share") %}
ManilaShares.{{s}}:
-
args:
share_proto: "nfs"
size: 1
min_sleep: 1
max_sleep: 2
runner:
type: "constant"
times: 4
concurrency: 4
context:
quotas:
manila:
shares: -1
gigabytes: -1
share_networks: -1
users:
tenants: 2
users_per_tenant: 1
user_choice_method: "round_robin"
network:
networks_per_tenant: 2
start_cidr: "99.0.0.0/24"
manila_share_networks:
use_share_networks: True
sla:
failure_rate:
max: 0
{% endfor %}
ManilaShares.create_share_network_and_delete:
-
args:
name: "rally"
runner:
type: "constant"
times: 10
concurrency: 10
context:
quotas:
manila:
share_networks: -1
users:
tenants: 2
users_per_tenant: 1
sla:
failure_rate:
max: 0
ManilaShares.create_share_network_and_list:
-
args:
name: "rally"
detailed: True
search_opts:
name: "rally"
runner:
type: "constant"
times: 10
concurrency: 10
context:
quotas:
manila:
share_networks: -1
users:
tenants: 2
users_per_tenant: 1
sla:
failure_rate:
max: 0
ManilaShares.list_share_servers:
-
args:
search_opts: {}
runner:
type: "constant"
times: 10
concurrency: 10
sla:
failure_rate:
max: 0
ManilaShares.create_security_service_and_delete:
{% for s in ("ldap", "kerberos", "active_directory") %}
-
args:
security_service_type: {{s}}
dns_ip: "fake_dns_ip"
server: "fake-server"
domain: "fake_domain"
user: "fake_user"
password: "fake_password"
name: "fake_name"
description: "fake_description"
runner:
type: "constant"
times: 10
concurrency: 10
context:
users:
tenants: 1
users_per_tenant: 1
sla:
failure_rate:
max: 0
{% endfor %}
ManilaShares.attach_security_service_to_share_network:
{% for s in ("ldap", "kerberos", "active_directory") %}
-
args:
security_service_type: {{s}}
runner:
type: "constant"
times: 10
concurrency: 10
context:
users:
tenants: 1
users_per_tenant: 1
quotas:
manila:
share_networks: -1
sla:
failure_rate:
max: 0
{% endfor %}