aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/vnf/router/cloudify_vrouter.py
diff options
context:
space:
mode:
authorroot <shuya.nakama@okinawaopenlabs.org>2017-09-25 01:44:10 +0000
committerroot <shuya.nakama@okinawaopenlabs.org>2017-09-25 01:44:29 +0000
commit233a9bf775c1e9fe66e588ec45266c15bdb142b1 (patch)
treeea768acf86d77c1c8b16b6228160a8c7bfa999f8 /functest/opnfv_tests/vnf/router/cloudify_vrouter.py
parent1a6f7b2483590e73ab2bc6092d10fed1933e2961 (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>
Diffstat (limited to 'functest/opnfv_tests/vnf/router/cloudify_vrouter.py')
-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 edbdb495..86362368 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,