aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <shuya.nakama@okinawaopenlabs.org>2017-09-25 01:44:10 +0000
committerMorgan Richomme <morgan.richomme@orange.com>2017-09-25 06:31:59 +0000
commit6034156f81644bf02b93985acd732afd34c770e1 (patch)
tree3a2fb0bd1a14b174e4a27ce27984058851cf32f3
parentca58c191b40ccd99fa08784862cddd6397b66d1d (diff)
Fix creds still used by vrouter
1. 'CloudifyVrouter' object has no attribute 'creds' 2. 'CloudifyVrouter' object was still use 'creds' 3. Doing test of modified vyos_vrouter on our labs. Refer to following commit. https://gerrit.opnfv.org/gerrit/#/c/41249/ Change-Id: Id1b4dfa4c35aba9bbb4fd64ef58446d3e99468df Signed-off-by: root <shuya.nakama@okinawaopenlabs.org> (cherry picked from commit 233a9bf775c1e9fe66e588ec45266c15bdb142b1)
-rw-r--r--functest/opnfv_tests/vnf/router/cloudify_vrouter.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/functest/opnfv_tests/vnf/router/cloudify_vrouter.py b/functest/opnfv_tests/vnf/router/cloudify_vrouter.py
index edbdb495f..86362368e 100644
--- a/functest/opnfv_tests/vnf/router/cloudify_vrouter.py
+++ b/functest/opnfv_tests/vnf/router/cloudify_vrouter.py
@@ -365,10 +365,10 @@ class CloudifyVrouter(vrouter_base.VrouterOnBoardingBase):
def test_vnf(self):
cfy_client = self.orchestrator['object']
- credentials = {"username": self.creds["username"],
- "password": self.creds["password"],
- "auth_url": self.creds["auth_url"],
- "tenant_name": self.creds["tenant"],
+ credentials = {"username": self.snaps_creds.username,
+ "password": self.snaps_creds.password,
+ "auth_url": self.snaps_creds.auth_url,
+ "tenant_name": self.snaps_creds.project_name,
"region_name": os.environ['OS_REGION_NAME']}
self.util_info = {"credentials": credentials,