a3da693878
Add possibility to create "security-services" on-fly and attach them to "share-networks". Note that, it is not added to benchmarks as it cannot be tested in CI because requires appropriate services be set up and running. Change-Id: I64aa960f3109bfb576da2c2260b017925d4c7c68
62 lines
2.3 KiB
JSON
62 lines
2.3 KiB
JSON
{% set use_security_services = use_security_services or False %}
|
|
{
|
|
"ManilaShares.create_and_delete_share": [
|
|
{
|
|
"args": {
|
|
"share_proto": "nfs",
|
|
"size": 1,
|
|
"min_sleep": 1,
|
|
"max_sleep": 2
|
|
},
|
|
"runner": {
|
|
"type": "constant",
|
|
"times": 2,
|
|
"concurrency": 2
|
|
},
|
|
"context": {
|
|
"quotas": {
|
|
"manila": {
|
|
"shares": -1,
|
|
"gigabytes": -1,
|
|
"share_networks": -1
|
|
}
|
|
},
|
|
"users": {
|
|
"tenants": 2,
|
|
"users_per_tenant": 1,
|
|
"user_choice_method": "round_robin"
|
|
},
|
|
"network": {
|
|
"networks_per_tenant": 1,
|
|
"start_cidr": "99.0.0.0/24"
|
|
},
|
|
"manila_share_networks": {
|
|
"use_share_networks": true
|
|
}
|
|
{% if use_security_services %}
|
|
,
|
|
"manila_security_services": {
|
|
"security_services": [
|
|
{"security_service_type": "ldap",
|
|
"server": "LDAP server address",
|
|
"user": "User that will be used",
|
|
"password": "Password for specified user"},
|
|
{"security_service_type": "kerberos",
|
|
"dns_ip": "IP address of DNS service to be used",
|
|
"server": "Kerberos server address",
|
|
"domain": "Kerberos realm",
|
|
"user": "User that will be used",
|
|
"password": "Password for specified user"},
|
|
{"security_service_type": "active_directory",
|
|
"dns_ip": "IP address of DNS service to be used",
|
|
"domain": "Domain from 'Active Directory'",
|
|
"user": "User from 'Active Directory'",
|
|
"password": "password for specified user"}
|
|
]
|
|
}
|
|
{% endif %}
|
|
}
|
|
}
|
|
]
|
|
}
|