[VNF_base] Support existing tenant and user 89/33589/3
authorboucherv <valentin.boucher@orange.com>
Thu, 20 Apr 2017 14:20:57 +0000 (16:20 +0200)
committerboucherv <valentin.boucher@orange.com>
Thu, 20 Apr 2017 16:03:13 +0000 (18:03 +0200)
commit0e12e2e5ac8f1ae46a1c19436675da5075ea8f44
tree36eb524760d45080c75af995adb59faeb15a5ec6
parent6dbdeb1edc2d92be2c55a1b0dfdcf1fffc05c0a7
[VNF_base] Support existing tenant and user

Support existing tenant and user with a get_or_create_tenant method.
If the tenant and user already exist it only get the id of those

JIRA: FUNCTEST-799

Change-Id: Id5daf2904592e42199471bdd3547e861e6db6e32
Signed-off-by: boucherv <valentin.boucher@orange.com>
functest/core/vnf_base.py
functest/utils/openstack_utils.py