Introduces support for suth_version config flag in lib/tempest.
The variable is named TEMPEST_AUTH_VERSION, and it can be set
via localrc, so that the devstack-vm-gate-wrap may control it.
The aim is to setup a keystone v3 based experimental check
job in tempest experimental pipeline.
Partially implements bp multi-keystone-api-version-tests
Change-Id: Ia6832d87308c6c7109e6ae0dbd8dff61134718ee
| ... | ... |
@@ -267,6 +267,7 @@ function configure_tempest {
|
| 267 | 267 |
iniset $TEMPEST_CONFIG identity admin_username $ADMIN_USERNAME |
| 268 | 268 |
iniset $TEMPEST_CONFIG identity admin_password "$password" |
| 269 | 269 |
iniset $TEMPEST_CONFIG identity admin_tenant_name $ADMIN_TENANT_NAME |
| 270 |
+ iniset $TEMPEST_CONFIG identity auth_version ${TEMPEST_AUTH_VERSION:-v2}
|
|
| 270 | 271 |
|
| 271 | 272 |
# Image |
| 272 | 273 |
# for the gate we want to be able to override this variable so we aren't |