-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add nova_boot_in_batches_with_delay workload
This patch adds a workload which adds a delay after booting a given number of servers. Change-Id: Icb92782d487a67f146c395c03a86034418ff9dc7
- Loading branch information
1 parent
96ce2c8
commit c00ff2d
Showing
3 changed files
with
103 additions
and
0 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
47 changes: 47 additions & 0 deletions
47
rally/rally-plugins/nova/nova_boot_in_batches_with_delay.yml
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,47 @@ | ||
{% set image_name = image_name or 'cirro5' %} | ||
{% set flavor_name = flavor_name or 'm1.tiny-cirros' %} | ||
{% set delay_time = delay_time or 600 %} | ||
{% set iterations_per_batch = iterations_per_batch or 5 %} | ||
{% set num_iterations_to_delay = num_iterations_to_delay or 1 %} | ||
{% set num_tenant_networks = num_tenant_networks or 1 %} | ||
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %} | ||
{% set sla_max_failure = sla_max_failure or 0 %} | ||
{% set sla_max_seconds = sla_max_seconds or 60 %} | ||
--- | ||
BrowbeatNova.nova_boot_in_batches_with_delay: | ||
- | ||
args: | ||
flavor: | ||
name: '{{flavor_name}}' | ||
image: | ||
name: '{{image_name}}' | ||
delay_time: {{delay_time}} | ||
iterations_per_batch: {{iterations_per_batch}} | ||
num_iterations_to_delay: {{num_iterations_to_delay}} | ||
num_tenant_networks: {{num_tenant_networks}} | ||
concurrency: {{concurrency}} | ||
runner: | ||
concurrency: {{concurrency}} | ||
times: {{times}} | ||
type: 'constant' | ||
context: | ||
users: | ||
tenants: 1 | ||
users_per_tenant: 8 | ||
network: | ||
networks_per_tenant: {{num_tenant_networks}} | ||
quotas: | ||
neutron: | ||
network: -1 | ||
port: -1 | ||
router: -1 | ||
subnet: -1 | ||
nova: | ||
instances: -1 | ||
cores: -1 | ||
ram: -1 | ||
sla: | ||
max_avg_duration: {{sla_max_avg_duration}} | ||
max_seconds_per_iteration: {{sla_max_seconds}} | ||
failure_rate: | ||
max: {{sla_max_failure}} |