summaryrefslogtreecommitdiffstats
path: root/robot/resources
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2019-04-26 12:06:11 -0500
committerBrian Freeman <bf1936@att.com>2019-04-26 12:06:22 -0500
commit37daa80875178444878c47f0787ae651888c44ae (patch)
tree6db1f08a6076b0e1ee91aef799d09ac01b32752c /robot/resources
parent4faf821c83647df9dd4d78c1b0072cfb724ab68d (diff)
Fix preload mapping for simple VNF
Issue-ID: INT-1039 Change-Id: I21558887477664da6b36f2a422f6557dc62dbd4d Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot/resources')
-rw-r--r--robot/resources/sdngc_interface.robot6
1 files changed, 4 insertions, 2 deletions
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}