a136480678
Change-Id: I8a98e216070da16805cc49f35ff0807d478f2dcf
129 lines
3.2 KiB
YAML
129 lines
3.2 KiB
YAML
{% set flavor_name = "m1.tiny" %}
|
|
{% set image_name = "^cirros.*-disk$" %}
|
|
{% set cirros_image_url = "http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img" %}
|
|
{% set smoke = 0 %}
|
|
|
|
---
|
|
version: 2
|
|
title: rally-neutron-existing-users.yaml
|
|
description: >
|
|
The task contains various scenarios that do not require admin user
|
|
subtasks:
|
|
-
|
|
title: Test main Cinder actions
|
|
workloads:
|
|
-
|
|
scenario:
|
|
CinderVolumes.create_volume:
|
|
size: 1
|
|
runner:
|
|
constant:
|
|
times: 2
|
|
concurrency: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
-
|
|
scenario:
|
|
CinderVolumes.create_volume:
|
|
size: 1
|
|
image:
|
|
name: {{image_name}}
|
|
runner:
|
|
constant:
|
|
times: 1
|
|
concurrency: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
-
|
|
scenario:
|
|
CinderVolumes.create_snapshot_and_attach_volume:
|
|
volume_type: "lvmdriver-1"
|
|
size:
|
|
min: 1
|
|
max: 1
|
|
image:
|
|
name: {{image_name}}
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
runner:
|
|
constant:
|
|
times: 2
|
|
concurrency: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
-
|
|
title: Test main Nova actions
|
|
workloads:
|
|
-
|
|
scenario:
|
|
NovaServers.boot_and_list_server:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
detailed: True
|
|
runner:
|
|
constant:
|
|
times: 2
|
|
concurrency: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
-
|
|
title: Test main Glance actions
|
|
workloads:
|
|
-
|
|
scenario:
|
|
GlanceImages.create_and_delete_image:
|
|
image_location: "{{ cirros_image_url }}"
|
|
container_format: "bare"
|
|
disk_format: "qcow2"
|
|
runner:
|
|
constant:
|
|
times: 1
|
|
concurrency: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 100
|
|
-
|
|
title: Test main Neutron actions
|
|
workloads:
|
|
-
|
|
scenario:
|
|
NeutronNetworks.create_and_list_networks:
|
|
network_create_args:
|
|
runner:
|
|
constant:
|
|
times: 2
|
|
concurrency: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
-
|
|
scenario:
|
|
NeutronNetworks.create_and_list_subnets:
|
|
subnet_cidr_start: "1.1.0.0/30"
|
|
subnets_per_network: 2
|
|
runner:
|
|
constant:
|
|
times: 2
|
|
concurrency: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
-
|
|
scenario:
|
|
NeutronNetworks.create_and_list_floating_ips:
|
|
floating_network: "public"
|
|
floating_ip_args: {}
|
|
runner:
|
|
constant:
|
|
times: 2
|
|
concurrency: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|