82d390a7a8
This patch refactors rally plugin for senlin. Since the plugin for basic cluster and profile operations has been merged into rally repo, we can remove duplicated util functions and test scenarios from senlin repo. Related test jobs are also changed accordingly. Change-Id: Ic8ac5acac17bd013c25089a7db58d32ac0dfa5ba
63 lines
1.3 KiB
YAML
63 lines
1.3 KiB
YAML
---
|
|
|
|
SenlinClusters.create_and_delete_profile_cluster:
|
|
-
|
|
args:
|
|
profile_spec:
|
|
type: os.nova.server
|
|
version: 1.0
|
|
properties:
|
|
name: cirros_server
|
|
flavor: 1
|
|
image: cirros-0.3.4-x86_64-uec
|
|
networks:
|
|
- network: private
|
|
desired_capacity: 3
|
|
min_size: 0
|
|
max_size: 5
|
|
runner:
|
|
type: "constant"
|
|
times: 3
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
SenlinPlugin.create_resize_delete_cluster:
|
|
-
|
|
args:
|
|
profile_spec:
|
|
type: os.nova.server
|
|
version: 1.0
|
|
properties:
|
|
name: cirros_server
|
|
flavor: 1
|
|
image: cirros-0.3.4-x86_64-uec
|
|
networks:
|
|
- network: private
|
|
create_params:
|
|
desired_capacity: 0
|
|
min_size: 0
|
|
max_size: 1
|
|
resize_params:
|
|
adj_type: CHANGE_IN_CAPACITY
|
|
number: 3
|
|
min_size: 0
|
|
max_size: 3
|
|
strict: false
|
|
runner:
|
|
type: constant
|
|
times: 3
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|