4c207ae082
This change allows to use network context without admin user Change-Id: Ia25148e08e33d80ea9d021d5e16f87153b902d94
137 lines
3.4 KiB
YAML
137 lines
3.4 KiB
YAML
{% set flavor_name = "m1.tiny" %}
|
|
{% set image_name = "^cirros.*-disk$" %}
|
|
{% set cirros_image_url = "https://github.com/cirros-dev/cirros/releases/download/0.3.5/cirros-0.3.5-x86_64-disk.img" %}
|
|
{% set smoke = 0 %}
|
|
|
|
---
|
|
version: 2
|
|
title: Rally task that is called for an evironment with existing users
|
|
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 Neutron actions
|
|
workloads:
|
|
-
|
|
scenario:
|
|
NeutronNetworks.create_and_list_networks: {}
|
|
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
|
|
contexts:
|
|
network: {}
|
|
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
|
|
|
|
- title: Test VMTask scenario
|
|
workloads:
|
|
-
|
|
scenario:
|
|
VMTasks.dd_load_test:
|
|
flavor:
|
|
name: "m1.tiny"
|
|
image:
|
|
name: {{image_name}}
|
|
floating_network: "public"
|
|
force_delete: false
|
|
username: "cirros"
|
|
contexts:
|
|
network: {}
|
|
runner:
|
|
constant:
|
|
times: 2
|
|
concurrency: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|