From 37daa80875178444878c47f0787ae651888c44ae Mon Sep 17 00:00:00 2001 From: Brian Freeman Date: Fri, 26 Apr 2019 12:06:11 -0500 Subject: Fix preload mapping for simple VNF Issue-ID: INT-1039 Change-Id: I21558887477664da6b36f2a422f6557dc62dbd4d Signed-off-by: Brian Freeman --- robot/resources/sdngc_interface.robot | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'robot/resources') 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} -- cgit 1.2.3-korg