From 233a9bf775c1e9fe66e588ec45266c15bdb142b1 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 25 Sep 2017 01:44:10 +0000 Subject: 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 --- functest/opnfv_tests/vnf/router/cloudify_vrouter.py | 8 ++++---- 1 file 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, -- cgit 1.2.3-korg