aboutsummaryrefslogtreecommitdiffstats
path: root/functest/utils
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-09-12 11:15:06 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-09-12 20:31:12 +0200
commitfd1ec71146ed7c0ec415374ab47e83b631f3c444 (patch)
tree91e68d864f590beb3411ae1ea489b5be8c5a1499 /functest/utils
parent13f93e5557d7635d5be40c97d7567cf9c71677ae (diff)
Allow skipping list_services
Shade forces the use of admin endpoints when listing services [1]. A new env var is added to allow running Functest when only public endpoints are reachable (e.g. testing from a VM as proposed for ONAP integration). It seems the best approach as list_services provides key data and we do avoid blocking requests. It seems easier and more generic than listing all calls in testcases.yaml. [1] https://github.com/openstack/shade/blob/master/shade/openstackcloud.py#L9956 Change-Id: Idcbe5d364f4230ffe1da34e7da0e99e863f15c5e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f3072c8b1f32feacc9785165477efee9a328eb2e)
Diffstat (limited to 'functest/utils')
-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 892d1749d..ba8d6ce55 100644
--- a/functest/utils/env.py
+++ b/functest/utils/env.py
@@ -39,7 +39,8 @@ INPUTS = {
'NEW_USER_ROLE': 'Member',
'USE_DYNAMIC_CREDENTIALS': 'True',
'BLOCK_MIGRATION': 'True',
- 'CLEAN_ORPHAN_SECURITY_GROUPS': 'True'
+ 'CLEAN_ORPHAN_SECURITY_GROUPS': 'True',
+ 'PUBLIC_ENDPOINT_ONLY': 'False'
}