266 lines
6.1 KiB
YAML
266 lines
6.1 KiB
YAML
{% set image_name = "^cirros.*uec$" %}
|
|
{% set flavor_name = "m1.nano" %}
|
|
{% set smoke = 0 %}
|
|
---
|
|
|
|
NovaSecGroup.boot_and_delete_server_with_secgroups:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
security_group_count: 5
|
|
rules_per_security_group: 5
|
|
runner:
|
|
type: "constant"
|
|
times: 4
|
|
concurrency: 4
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 2
|
|
network:
|
|
start_cidr: "100.1.0.0/26"
|
|
quotas:
|
|
neutron:
|
|
security_group: -1
|
|
security_group_rule: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.boot_server_from_volume_and_delete:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
volume_size: 1
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
NovaServers.boot_server_from_volume:
|
|
-
|
|
args:
|
|
flavor:
|
|
name: {{flavor_name}}
|
|
image:
|
|
name: {{image_name}}
|
|
volume_size: 1
|
|
runner:
|
|
type: "constant"
|
|
times: 2
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
CeilometerResource.get_tenant_resources:
|
|
-
|
|
runner:
|
|
type: "constant"
|
|
times: 10
|
|
concurrency: 5
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
ceilometer:
|
|
counter_name: "cpu_util"
|
|
counter_type: "gauge"
|
|
counter_volume: 1.0
|
|
counter_unit: "instance"
|
|
resources_per_tenant: 3
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
CeilometerAlarms.create_alarm:
|
|
-
|
|
args:
|
|
meter_name: "ram_util"
|
|
threshold: 10.0
|
|
type: "threshold"
|
|
statistic: "avg"
|
|
alarm_actions: ["http://localhost:8776/alarm"]
|
|
ok_actions: ["http://localhost:8776/ok"]
|
|
insufficient_data_actions: ["http://localhost:8776/notok"]
|
|
runner:
|
|
type: "constant"
|
|
times: 10
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
CeilometerAlarms.create_and_delete_alarm:
|
|
-
|
|
args:
|
|
meter_name: "ram_util"
|
|
threshold: 10.0
|
|
type: "threshold"
|
|
statistic: "avg"
|
|
alarm_actions: ["http://localhost:8776/alarm"]
|
|
ok_actions: ["http://localhost:8776/ok"]
|
|
insufficient_data_actions: ["http://localhost:8776/notok"]
|
|
runner:
|
|
type: "constant"
|
|
times: 10
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
CeilometerAlarms.create_and_list_alarm:
|
|
-
|
|
args:
|
|
meter_name: "ram_util"
|
|
threshold: 10.0
|
|
type: "threshold"
|
|
statistic: "avg"
|
|
alarm_actions: ["http://localhost:8776/alarm"]
|
|
ok_actions: ["http://localhost:8776/ok"]
|
|
insufficient_data_actions: ["http://localhost:8776/notok"]
|
|
runner:
|
|
type: "constant"
|
|
times: 10
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
CeilometerAlarms.create_and_update_alarm:
|
|
-
|
|
args:
|
|
meter_name: "ram_util"
|
|
threshold: 10.0
|
|
type: "threshold"
|
|
statistic: "avg"
|
|
alarm_actions: ["http://localhost:8776/alarm"]
|
|
ok_actions: ["http://localhost:8776/ok"]
|
|
insufficient_data_actions: ["http://localhost:8776/notok"]
|
|
runner:
|
|
type: "constant"
|
|
times: 10
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
CeilometerAlarms.create_alarm_and_get_history:
|
|
-
|
|
args:
|
|
meter_name: "ram_util"
|
|
threshold: 10.0
|
|
type: "threshold"
|
|
state: "ok"
|
|
statistic: "avg"
|
|
alarm_actions: ["http://localhost:8776/alarm"]
|
|
ok_actions: ["http://localhost:8776/ok"]
|
|
insufficient_data_actions: ["http://localhost:8776/notok"]
|
|
runner:
|
|
type: "constant"
|
|
times: 10
|
|
concurrency: 5
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
CeilometerAlarms.list_alarms:
|
|
-
|
|
runner:
|
|
type: "constant"
|
|
times: 10
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
CeilometerQueries.create_and_query_alarms:
|
|
-
|
|
args:
|
|
filter: {"and": [{"!=": {"state": "dummy_state"}},{"=": {"type": "threshold"}}]}
|
|
orderby: !!null
|
|
limit: 10
|
|
meter_name: "ram_util"
|
|
threshold: 10.0
|
|
type: "threshold"
|
|
statistic: "avg"
|
|
alarm_actions: ["http://localhost:8776/alarm"]
|
|
ok_actions: ["http://localhost:8776/ok"]
|
|
insufficient_data_actions: ["http://localhost:8776/notok"]
|
|
runner:
|
|
type: "constant"
|
|
times: 20
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
CeilometerQueries.create_and_query_alarm_history:
|
|
-
|
|
args:
|
|
orderby: !!null
|
|
limit: !!null
|
|
meter_name: "ram_util"
|
|
threshold: 10.0
|
|
type: "threshold"
|
|
statistic: "avg"
|
|
alarm_actions: ["http://localhost:8776/alarm"]
|
|
ok_actions: ["http://localhost:8776/ok"]
|
|
insufficient_data_actions: ["http://localhost:8776/notok"]
|
|
runner:
|
|
type: "constant"
|
|
times: 20
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|