aboutsummaryrefslogtreecommitdiffstats
path: root/functest/utils/env.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-08-28 23:49:16 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-08-28 23:53:50 +0200
commit7e0f65a25f1c83c90051e13e4aa5333aaaa8c6d5 (patch)
treebdaf057ac6fe17a45e41875e66e1c97498033a67 /functest/utils/env.py
parentea596bbf094c8e45961b1b1379e58631942e4864 (diff)
Support pre-Provisioned credentials
If USE_DYNAMIC_CREDENTIALS = False, Functest is expected for /home/opnfv/functest/data/accounts.yaml which contains the set of pre-existing credentials to use for testing [1]. It also sets admin_domain_scope and default_credentials_domain_name. [1] https://docs.openstack.org/tempest/latest/configuration.html Change-Id: Ie7b81f0c56049260ca99b8e3a6d58cb8a2660659 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/utils/env.py')
-rw-r--r--functest/utils/env.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/functest/utils/env.py b/functest/utils/env.py
index 5f414f1f4..1f649834d 100644
--- a/functest/utils/env.py
+++ b/functest/utils/env.py
@@ -33,7 +33,8 @@ INPUTS = {
'ENERGY_RECORDER_API_PASSWORD': env.INPUTS['ENERGY_RECORDER_API_PASSWORD'],
'VOLUME_DEVICE_NAME': 'vdb',
'NAMESERVER': '8.8.8.8',
- 'NEW_USER_ROLE': 'Member'
+ 'NEW_USER_ROLE': 'Member',
+ 'USE_DYNAMIC_CREDENTIALS': 'True'
}