Signed-off-by: Andriy Kurilin <andr.kurilin@gmail.com> Change-Id: Id9d1c0cd8f2cbc34d22f861af7c2297899aa4e4e
65 lines
2.0 KiB
JSON
65 lines
2.0 KiB
JSON
{
|
|
"version": 2,
|
|
"title": "Task template with LBaaS context",
|
|
"description": "This sample demonstrates the usage of LBaaS context for setting up load balancer pools with different configurations.",
|
|
"subtasks": [
|
|
{
|
|
"title": "Test with basic LBaaS pool",
|
|
"workloads": [
|
|
{
|
|
"scenario": {
|
|
"Dummy.openstack": {
|
|
"sleep": 0.1
|
|
}
|
|
},
|
|
"runner": {
|
|
"constant": {
|
|
"times": 4,
|
|
"concurrency": 2
|
|
}
|
|
},
|
|
"contexts": {
|
|
"users": {
|
|
"tenants": 1,
|
|
"users_per_tenant": 2
|
|
},
|
|
"lbaas": {
|
|
"pool": {}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"title": "Test with configured LBaaS pool",
|
|
"workloads": [
|
|
{
|
|
"scenario": {
|
|
"Dummy.openstack": {
|
|
"sleep": 0.1
|
|
}
|
|
},
|
|
"runner": {
|
|
"constant": {
|
|
"times": 4,
|
|
"concurrency": 2
|
|
}
|
|
},
|
|
"contexts": {
|
|
"users": {
|
|
"tenants": 1,
|
|
"users_per_tenant": 2
|
|
},
|
|
"lbaas": {
|
|
"pool": {
|
|
"lb_method": "ROUND_ROBIN",
|
|
"protocol": "HTTP"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|