aboutsummaryrefslogtreecommitdiffstats
path: root/functest/core/vnf_base.py
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-01-20 10:51:50 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2017-01-20 14:30:50 +0100
commit0a786119c7539c28799ee3acfec751215fa10850 (patch)
treee68a6fe2c54f790457ba5ad0f7fbee7b86ca035e /functest/core/vnf_base.py
parent719c13ccf1e321c536d7f7dbba06bdd544ffc968 (diff)
bug fix case name for VNFonboarding
the case paramter was not provided to the anstraction class Change-Id: I42ba63a3b4fd20f6d076f20369fed56715237640 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'functest/core/vnf_base.py')
-rw-r--r--functest/core/vnf_base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/functest/core/vnf_base.py b/functest/core/vnf_base.py
index 9d8b6dc4..4d019858 100644
--- a/functest/core/vnf_base.py
+++ b/functest/core/vnf_base.py
@@ -35,6 +35,7 @@ class VnfOnBoardingBase(base.TestcaseBase):
self.details['orchestrator'] = {}
self.details['vnf'] = {}
self.details['test_vnf'] = {}
+ self.images = {}
try:
self.tenant_name = CONST.__getattribute__(
'vnf_{}_tenant_name'.format(self.case_name))
@@ -44,7 +45,7 @@ class VnfOnBoardingBase(base.TestcaseBase):
raise Exception("Unknown VNF case=" + self.case_name)
try:
- self.tenant_images = CONST.__getattribute__(
+ self.images = CONST.__getattribute__(
'vnf_{}_tenant_images'.format(self.case_name))
except:
self.logger.warn("No tenant image defined for this VNF")