Add Nova shelve and unshelve scenario
This scenario covers "shelve" and "unshelve" commands Change-Id: I326f97cba1363956820fac75c75d191b9ba91d14
This commit is contained in:
parent
09c01e755e
commit
a171d779d9
@ -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
|
||||
|
@ -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:
|
||||
|
26
samples/tasks/scenarios/nova/shelve-and-unshelve.json
Normal file
26
samples/tasks/scenarios/nova/shelve-and-unshelve.json
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
17
samples/tasks/scenarios/nova/shelve-and-unshelve.yaml
Normal file
17
samples/tasks/scenarios/nova/shelve-and-unshelve.yaml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user