Update rally_conf.json for creating deployment 21/33921/1
authorLinda Wang <wangwulin@huawei.com>
Thu, 27 Apr 2017 07:36:32 +0000 (07:36 +0000)
committerLinda Wang <wangwulin@huawei.com>
Thu, 27 Apr 2017 07:42:58 +0000 (07:42 +0000)
commit07add72756bcfbc010887c8c41077c65c8edd5c9
treee189c35b6596821e8187c0710deea2b6366b63f3
parent0acb8eb018afd993c363c05da8a45091abc59fd9
Update rally_conf.json for creating deployment

1. The rally_conf.json is obtained via def get_credentials_for_rally(),
   where the parameter endpoint_type is supposed to get from the env
   OS_ENDPOINT_TYPE or OS_INTERFACE, just as the def
   get_creds_from_env_vars() in rally project [1].

[1] https://github.com/openstack/rally/blob/master/rally/cli/envutils.py

JIRA: FUNCTEST-801

Change-Id: I6b6be82b9ff7f04948b47c4fca836d415fe13f8b
Signed-off-by: Linda Wang <wangwulin@huawei.com>
functest/utils/openstack_utils.py