Add cold migrate scenario for Nova test
Current Rally provides "boot_and_live_migrate_server" scenario, but doesn't provide cold migration scenario. This patch adds the scenario named "boot_and_migrate_server". Change-Id: I681b66475f1a455e33d78e63abd73f67d3960e52
This commit is contained in:
parent
6ec8c91e04
commit
8c235591f9
25
samples/tasks/scenarios/nova/boot-and-migrate.json
Normal file
25
samples/tasks/scenarios/nova/boot-and-migrate.json
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"NovaServers.boot_and_migrate_server": [
|
||||
{
|
||||
"args": {
|
||||
"flavor": {
|
||||
"name": "m1.nano"
|
||||
},
|
||||
"image": {
|
||||
"name": "^cirros.*uec$"
|
||||
}
|
||||
},
|
||||
"runner": {
|
||||
"type": "constant",
|
||||
"times": 10,
|
||||
"concurrency": 2
|
||||
},
|
||||
"context": {
|
||||
"users": {
|
||||
"tenants": 1,
|
||||
"users_per_tenant": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
15
samples/tasks/scenarios/nova/boot-and-migrate.yaml
Normal file
15
samples/tasks/scenarios/nova/boot-and-migrate.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
NovaServers.boot_and_migrate_server:
|
||||
- args:
|
||||
flavor:
|
||||
name: m1.nano
|
||||
image:
|
||||
name: "^cirros.*uec$"
|
||||
runner:
|
||||
type: constant
|
||||
times: 10
|
||||
concurrency: 2
|
||||
context:
|
||||
users:
|
||||
tenants: 1
|
||||
users_per_tenant: 1
|
Loading…
x
Reference in New Issue
Block a user