Adds Designate server-list scenario

This submission adds method to
rally/benchmark/scenarios/designate/basic.py

1)def list_servers

Added configuration files for server operations under
samples/tasks/scenarios/designate

1) list-servers.json
2) list-servers.yaml
Also, added unittests to test_basic.py under
tests/unit/benchmark/scenarios/designate

Change-Id: I948f5e0c8beca963a9d6f1d388ea0410f2d107e3
This commit is contained in:
nayna-patel 2015-02-20 07:58:59 +00:00
parent 458a7c83cf
commit e3694c4eaf
3 changed files with 43 additions and 0 deletions

View File

@ -100,3 +100,18 @@
sla:
failure_rate:
max: 0
DesignateBasic.list_servers:
-
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0

View File

@ -0,0 +1,17 @@
{
"DesignateBasic.list_servers": [
{
"runner": {
"type": "constant",
"times": 3,
"concurrency": 2
},
"context": {
"users": {
"tenants": 2,
"users_per_tenant": 2
}
}
}
]
}

View File

@ -0,0 +1,11 @@
---
DesignateBasic.list_servers:
-
runner:
type: "constant"
times: 3
concurrency: 2
context:
users:
tenants: 2
users_per_tenant: 2