Add Nova shelve and unshelve scenario

This scenario covers "shelve" and "unshelve" commands

Change-Id: I326f97cba1363956820fac75c75d191b9ba91d14
This commit is contained in:
Pradeep K Surisetty 2015-04-21 13:02:59 +05:30
parent 09c01e755e
commit a171d779d9
4 changed files with 82 additions and 0 deletions

View File

@ -320,6 +320,26 @@
# Server unpause poll interval (floating point value)
#nova_server_unpause_poll_interval = 2.0
# Time to sleep after shelve before polling for status (floating
# point value)
#nova_server_shelve_prepoll_delay = 2.0
# Server shelve timeout (floating point value)
#nova_server_shelve_timeout = 300.0
# Server shelve poll interval (floating point value)
#nova_server_shelve_poll_interval = 2.0
# Time to sleep after unshelve before polling for status (floating
# point value)
#nova_server_unshelve_prepoll_delay = 2.0
# Server unshelve timeout (floating point value)
#nova_server_unshelve_timeout = 300.0
# Server unshelve poll interval (floating point value)
#nova_server_unshelve_poll_interval = 2.0
# Time to sleep after image_create before polling for status (floating
# point value)
#nova_server_image_create_prepoll_delay = 0.0

View File

@ -1099,6 +1099,25 @@
failure_rate:
max: 0
NovaServers.shelve_and_unshelve_server:
-
args:
flavor:
name: "m1.tiny"
image:
name: {{image_name}}
runner:
type: "constant"
times: 3
concurrency: 3
context:
users:
tenants: 3
users_per_tenant: 1
sla:
failure_rate:
max: 0
NovaServers.boot_and_rebuild_server:
-
args:

View File

@ -0,0 +1,26 @@
{
"NovaServers.shelve_and_unshelve_server": [
{
"args": {
"flavor": {
"name": "m1.nano"
},
"image": {
"name": "^cirros.*uec$"
},
"force_delete": false
},
"runner": {
"type": "constant",
"times": 10,
"concurrency": 2
},
"context": {
"users": {
"tenants": 3,
"users_per_tenant": 2
}
}
}
]
}

View File

@ -0,0 +1,17 @@
---
NovaServers.shelve_and_unshelve_server:
-
args:
flavor:
name: "m1.nano"
image:
name: "^cirros.*uec$"
force_delete: false
runner:
type: "constant"
times: 10
concurrency: 2
context:
users:
tenants: 3
users_per_tenant: 2