From: Brian Freeman Date: Fri, 26 Apr 2019 17:06:11 +0000 (-0500) Subject: Fix preload mapping for simple VNF X-Git-Tag: 1.4.0~37 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=37daa80875178444878c47f0787ae651888c44ae;p=testsuite.git Fix preload mapping for simple VNF Issue-ID: INT-1039 Change-Id: I21558887477664da6b36f2a422f6557dc62dbd4d Signed-off-by: Brian Freeman --- diff --git a/robot/resources/sdngc_interface.robot b/robot/resources/sdngc_interface.robot index f7b8f304..81642bef 100644 --- a/robot/resources/sdngc_interface.robot +++ b/robot/resources/sdngc_interface.robot @@ -119,7 +119,8 @@ Get From Mapping With Index ${vf_module_name}= Get From DIctionary ${vf_module} name :for ${template} in @{templates} \ Return From Keyword If '${template['name_pattern']}' in '${vf_module_name}' and ('${template['vnf_index']}' == '${vnf_index}') ${template} - [Return] None + ${result}= Create Dictionary + [Return] ${result} Get From Mapping [Documentation] Retrieve the appropriate prelad template entry for the passed vf_module @@ -127,7 +128,8 @@ Get From Mapping ${vf_module_name}= Get From DIctionary ${vf_module} name :for ${template} in @{templates} \ Return From Keyword If '${template['name_pattern']}' in '${vf_module_name}' ${template} - [Return] None + ${result}= Create Dictionary + [Return] ${result} Preload One Vnf Topology [Arguments] ${service_type_uuid} ${generic_vnf_name} ${generic_vnf_type} ${vf_module_name} ${vf_module_type} ${service} ${filename} ${uuid}