aboutsummaryrefslogtreecommitdiffstats
path: root/functest/utils
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2017-05-04 12:11:59 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-04 12:11:59 +0000
commit55d0b662f08ef3c648acfb8d3f1c6f6c71992187 (patch)
tree6af1ad3fd93e12ed18472b345fa1f536e8f7aefe /functest/utils
parent392cae434cce5dcf5a5e8dedc18b2791e3dd8e94 (diff)
parent4d86cd2a8934a247319ea13d1be19bb4e631afd5 (diff)
Merge "Add the choice of interface for keystoneclient"
Diffstat (limited to 'functest/utils')
-rw-r--r--functest/utils/openstack_utils.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/functest/utils/openstack_utils.py b/functest/utils/openstack_utils.py
index 929a761e..49b9c840 100644
--- a/functest/utils/openstack_utils.py
+++ b/functest/utils/openstack_utils.py
@@ -198,7 +198,9 @@ def get_keystone_client_version():
def get_keystone_client(other_creds={}):
sess = get_session(other_creds)
- return keystoneclient.Client(get_keystone_client_version(), session=sess)
+ return keystoneclient.Client(get_keystone_client_version(),
+ session=sess,
+ interface=os.getenv('OS_INTERFACE', 'admin'))
def get_nova_client_version():