diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-08-28 23:49:16 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-08-29 11:17:46 +0200 |
commit | 53f29de06005a4c70c9a3816cddb98cf87c88757 (patch) | |
tree | 979d9aae6b0c7027b26bf8ef8e6fd1c303ab9a5b /functest/opnfv_tests/openstack/tempest/tempest.py | |
parent | 59e08c4315426edc1a50f2d476403becced765e9 (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>
(cherry picked from commit 7e0f65a25f1c83c90051e13e4aa5333aaaa8c6d5)
Diffstat (limited to 'functest/opnfv_tests/openstack/tempest/tempest.py')
-rw-r--r-- | functest/opnfv_tests/openstack/tempest/tempest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/functest/opnfv_tests/openstack/tempest/tempest.py b/functest/opnfv_tests/openstack/tempest/tempest.py index aaa2d3d3e..934e6c6ef 100644 --- a/functest/opnfv_tests/openstack/tempest/tempest.py +++ b/functest/opnfv_tests/openstack/tempest/tempest.py @@ -298,7 +298,8 @@ class TempestCommon(singlevm.VmReady1): flavor_id=self.flavor.id, compute_cnt=compute_cnt, image_alt_id=self.image_alt.id, - flavor_alt_id=self.flavor_alt.id) + flavor_alt_id=self.flavor_alt.id, + domain_name=self.cloud.auth.get("project_domain_name", "Default")) self.backup_tempest_config(self.conf_file, self.res_dir) def run(self, **kwargs): |