From: Brian Freeman Date: Mon, 22 Apr 2019 19:34:02 +0000 (-0500) Subject: Fix instantiate preload X-Git-Tag: 1.4.0~45^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F86%2F85986%2F1;p=testsuite.git Fix instantiate preload Issue-ID: INT-1039 Change-Id: I18740fdd67a5c3ee3fb29f8140bc7c80f85994dd Signed-off-by: Brian Freeman --- 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}