aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/vnf/ims/orchestra_openims.py
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2018-01-18 03:38:46 +0000
committerCédric Ollivier <cedric.ollivier@orange.com>2018-01-20 14:44:48 +0100
commit45fdfedc5b5573926c53264ff5eb3e48a43345d9 (patch)
treeb019258489c75e48e86046e6d30c2d49297b7bc0 /functest/opnfv_tests/vnf/ims/orchestra_openims.py
parentd181f61205869adef1b8763feb531cc3df52669f (diff)
Configure password for the user in vnf
For some SUTs, the password for creating user is not allowed to be the same as user name, and some even is required to contain at least 8 characters and three types of characters for security. It also turns yamllint warnings into errors and fixes the remaining warnings. Change-Id: Icf25a7b9ff1c8cee55899198f1e519c9209877ff Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'functest/opnfv_tests/vnf/ims/orchestra_openims.py')
-rw-r--r--functest/opnfv_tests/vnf/ims/orchestra_openims.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/functest/opnfv_tests/vnf/ims/orchestra_openims.py b/functest/opnfv_tests/vnf/ims/orchestra_openims.py
index d609a0fba..572eaa9a0 100644
--- a/functest/opnfv_tests/vnf/ims/orchestra_openims.py
+++ b/functest/opnfv_tests/vnf/ims/orchestra_openims.py
@@ -206,9 +206,9 @@ class OpenImsVnf(vnf.VnfOnBoarding):
self.logger.info("Additional pre-configuration steps")
self.creds = {
- "tenant": self.tenant_name,
- "username": self.tenant_name,
- "password": self.tenant_name,
+ "tenant": self.snaps_creds.project_name,
+ "username": self.snaps_creds.username,
+ "password": self.snaps_creds.password,
"auth_url": public_auth_url
}
self.prepare_images()