
This patch adds support for the scenario boot_vm_attach_detach_volume - Boots a VM - Waits for the VM to be pingable - Creates a Volume - Attaches the Volume to VM, then - Detaches the Volume from VM - Deletes the VM Change-Id: I37a1a6d5a661973b1b249045f9261316c380f7e6
52 lines
1.4 KiB
YAML
52 lines
1.4 KiB
YAML
{% set image_name = image_name or "centos7" %}
|
|
{% set flavor_name = flavor_name or "m1.small" %}
|
|
{% 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 %}
|
|
---
|
|
BrowbeatPlugin.create_vm_attach_and_detach_volume:
|
|
-
|
|
args:
|
|
size: 1
|
|
image:
|
|
name: {{ image_name }}
|
|
flavor:
|
|
name: {{ flavor_name }}
|
|
ext_net_id: {{ ext_net_id }}
|
|
floating: True
|
|
network_create_args: {}
|
|
router_create_args: {}
|
|
subnet_create_args: {}
|
|
runner:
|
|
concurrency: {{ concurrency }}
|
|
times: {{ times }}
|
|
type: "constant"
|
|
context:
|
|
network:
|
|
start_cidr: "10.0.0.0/16"
|
|
networks_per_tenant: 1
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
quotas:
|
|
neutron:
|
|
network: -1
|
|
port: -1
|
|
router: -1
|
|
subnet: -1
|
|
floatingip: -1
|
|
security_group: -1
|
|
security_group_rule: -1
|
|
nova:
|
|
instances: -1
|
|
cores: -1
|
|
ram: -1
|
|
cinder:
|
|
gigabytes: -1
|
|
volumes: -1
|
|
sla:
|
|
max_avg_duration: {{sla_max_avg_duration}}
|
|
max_seconds_per_iteration: {{sla_max_seconds}}
|
|
failure_rate:
|
|
max: {{sla_max_failure}}
|