dcf2d7b074
(types.ImageResourceType.transform method) 1. Changing sample scenario files to store image name as regexp. This will help avoid further issues with current image version of devstack and rally being out of sync. 2. Changing logic of _id_from_name method. name and regex keys from resource_config dictionary are treated the same, (as regexp) with name having priority. Going forward 'name' key should always be used, and 'regexp' key is to there to support legacy configurations. Also, exact check will be performed on resource name. 3. Related unit test changed correspodently.. 4. Added unit test for multiple maches of the same image name. Change-Id: Ie0fc509445a652384f78864ad7d491e34b5a4d88
26 lines
490 B
YAML
26 lines
490 B
YAML
---
|
|
NovaServers.boot_and_bounce_server:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: "m1.nano"
|
|
image:
|
|
name: "^cirros.*uec$"
|
|
actions:
|
|
-
|
|
hard_reboot: 1
|
|
-
|
|
soft_reboot: 1
|
|
-
|
|
stop_start: 1
|
|
-
|
|
rescue_unrescue: 1
|
|
runner:
|
|
type: "constant"
|
|
times: 10
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 2
|