723d76c783
This submission adds three methods to rally/benchmark/scenarios/nova/utils.py 1) def create_keypair 2) def list_keypairs 3) def delete_keypair Adds new file test_keypairs.py for nova keypair scenarios Added configuration files for keypair operations under samples/tasks/scenarios/nova 1) create-and-list-keypairs.json 2) create-and-list-keypairs.yaml 3) create-and-delete-keypair.json 4) create-and-delete-keypair.yaml 5) boot-and-delete-server-with-keypairs.json 6) boot-and-delete-server-with-keypairs.yaml Added unittests to test_utils.py and test_keypairs.py under tests/unit/benchmark/scenarios/nova Change-Id: Ic90d94d3dc925a9f225f760bfc550bf3e82e80b8
29 lines
691 B
JSON
29 lines
691 B
JSON
{
|
|
"NovaKeypair.boot_and_delete_server_with_keypair": [
|
|
{
|
|
"args": {
|
|
"flavor": {
|
|
"name": "m1.nano"
|
|
},
|
|
"image": {
|
|
"name": "^cirros.*uec$"
|
|
}
|
|
},
|
|
"runner": {
|
|
"type": "constant",
|
|
"times": 5,
|
|
"concurrency": 2
|
|
},
|
|
"context": {
|
|
"users": {
|
|
"tenants": 2,
|
|
"users_per_tenant": 1
|
|
},
|
|
"network": {
|
|
"start_cidr": "100.1.0.0/26"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|