forked from openstack/rally
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add create-check-delete stack scenario
The patch includes scenario that measures performance for the following scenario steps: - Create a new stack from template in Heat - Check the created stack and its resources in Heat. - Delete the stack. The patch includes samples and unittests. Change-Id: I512f5d5c01d8f5973b68672476e970c54000470b
- Loading branch information
1 parent
354ab30
commit 3874076
Showing
8 changed files
with
130 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
samples/tasks/scenarios/heat/create-check-delete-stack.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"HeatStacks.create_check_delete_stack": [ | ||
{ | ||
"args": { | ||
"template_path": "templates/random_strings.yaml.template" | ||
}, | ||
"runner": { | ||
"type": "constant", | ||
"times": 10, | ||
"concurrency": 2 | ||
}, | ||
"context": { | ||
"users": { | ||
"tenants": 2, | ||
"users_per_tenant": 3 | ||
} | ||
} | ||
} | ||
] | ||
} |
13 changes: 13 additions & 0 deletions
13
samples/tasks/scenarios/heat/create-check-delete-stack.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
HeatStacks.create_check_delete_stack: | ||
- | ||
args: | ||
template_path: "templates/random_strings.yaml.template" | ||
runner: | ||
type: "constant" | ||
times: 10 | ||
concurrency: 2 | ||
context: | ||
users: | ||
tenants: 2 | ||
users_per_tenant: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters