rally-openstack/samples/tasks/scenarios/senlin/create-and-delete-profile-cluster.json
yanyanhu 2ac2852583 [senlin]Add context support for Senlin profile
This patch adds context support for Senlin profile. The
following changes were made:
 - Adding Senlin profile context;
 - Revising 'create_and_delete_profile_cluster' scenario
   to make it benchmark cluster creating/deleting only;
 - Revising rally-senlin test job and example jobs accordingly;
 - Minor fix SenlinMixin cleanup resource to make id
   query work correctly;
 - Removing admin requirement from profile util functions
   since profile creating/deleting doesn't need admin role.

Partial-bp: add-support-for-clustering-service-senlin
Change-Id: Ib74803d13f4f89152af3a1ff5e7b6ff9fbac2906
2016-09-05 04:33:07 -04:00

35 lines
952 B
JSON

{
"SenlinClusters.create_and_delete_cluster": [
{
"args": {
"desired_capacity": 3,
"min_size": 0,
"max_size": 5
},
"runner": {
"type": "constant",
"times": 3,
"concurrency": 1
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 1
},
"profiles": {
"type": "os.nova.server",
"version": "1.0",
"properties": {
"name": "cirros_server",
"flavor": 1,
"image": "cirros-0.3.4-x86_64-uec",
"networks": [
{ "network": "private" }
]
}
}
}
}
]
}