Fix the issue of unexpected keyword argument 'endpoint_type' 61/26061/2
authorhelenyao <yaohelan@huawei.com>
Fri, 16 Dec 2016 03:49:06 +0000 (22:49 -0500)
committerhelenyao <yaohelan@huawei.com>
Fri, 16 Dec 2016 06:14:37 +0000 (01:14 -0500)
commit384a9784d2deb3aa07ef28d0efb767c0932452b3
tree8ae1ccb952559788131736f1297315a21380ed9c
parentad77594f5846ebc4a28f52aa827db7e6c7970088
Fix the issue of unexpected keyword argument 'endpoint_type'

JIRA: FUNCTEST-662

Different OpenStack has different version of RC file thus the environment variables vary.
The keystoneauth1 initialization only support limited input.
This patch only feed the required input to keystoneauth1.
Moreover, the patch optimized the code by removing hardcode and improved the scalability.

Change-Id: Id6815f96a11f2918bc2c7bc1c33f38c3f5754e11
Signed-off-by: helenyao <yaohelan@huawei.com>
functest/utils/openstack_tacker.py [changed mode: 0644->0755]
functest/utils/openstack_utils.py