From: Brian Freeman Date: Fri, 26 Apr 2019 14:56:33 +0000 (-0500) Subject: Shorten vnf and vf names X-Git-Tag: 1.4.0~38 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F11%2F86411%2F1;p=testsuite.git Shorten vnf and vf names Issue-ID: INT-1048 Change-Id: Ic83f3b27a9f3ba241d253edebb751c9a85a66e13 Signed-off-by: Brian Freeman --- diff --git a/robot/resources/test_templates/vnf_orchestration_test_template.robot b/robot/resources/test_templates/vnf_orchestration_test_template.robot index b550fac4..31c81181 100644 --- a/robot/resources/test_templates/vnf_orchestration_test_template.robot +++ b/robot/resources/test_templates/vnf_orchestration_test_template.robot @@ -69,7 +69,9 @@ Orchestrate VNF ${vnflist}= Get From Dictionary ${GLOBAL_SERVICE_VNF_MAPPING} ${service} ${generic_vnfs}= Create Dictionary ${vnf_name_index}= Set Variable 0 + ${uuid}= Evaluate str("${uuid}")[:8] :for ${vnf} in @{vnflist} + # APPC max is 50 characters \ ${vnf_name}= Catenate Ete_${vnf}_${uuid}_${vnf_name_index} \ ${vf_module_name}= Catenate Vfmodule_Ete_${vnf}_${uuid}_${vnf_name_index} \ ${vnf_name_index}= Evaluate ${vnf_name_index} + 1