aboutsummaryrefslogtreecommitdiffstats
path: root/robot
diff options
context:
space:
mode:
authorDaniel Rose <dr695h@att.com>2019-04-22 19:55:01 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-22 19:55:01 +0000
commitf4ed4b2d76de7b2a0cd3b90095130c630d446e4d (patch)
treec1cf878952023d72f0cf6ff44a49febc775e4c6d /robot
parentc34ef5997cd3c0ba03124b672ca24a43a713ca8f (diff)
parentea834f7d10e7d31452d2f68a7fe632b8104f4872 (diff)
Merge "Fix instantiate preload"
Diffstat (limited to 'robot')
-rw-r--r--robot/resources/sdngc_interface.robot3
1 files changed, 3 insertions, 0 deletions
diff --git a/robot/resources/sdngc_interface.robot b/robot/resources/sdngc_interface.robot
index faa95e25..f7b8f304 100644
--- a/robot/resources/sdngc_interface.robot
+++ b/robot/resources/sdngc_interface.robot
@@ -93,6 +93,9 @@ Preload Vnf
\ ... ELSE IF "${generic_vnf_name}".endswith('1') Get From Mapping With Index ${templates} ${vf_module} 1
\ ... ELSE IF "${generic_vnf_name}".endswith('2') Get From Mapping With Index ${templates} ${vf_module} 2
\ ... ELSE Get From Mapping ${templates} ${vf_module}
+ # skip this iteration if no template
+ \ ${test_dict_length} = Get Length ${dict}
+ \ Continue For Loop If ${test_dict_length} == 0
\ ${filename}= Get From Dictionary ${dict} template
\ ${base_vf_module_type}= Set Variable If '${dict['isBase']}' == 'true' ${vf_module_type} ${base_vf_module_type}
\ ${closedloop_vf_module}= Set Variable If '${dict['isBase']}' == 'false' ${vf_module} ${closedloop_vf_module}