aboutsummaryrefslogtreecommitdiffstats
path: root/robot
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2019-04-26 09:56:33 -0500
committerBrian Freeman <bf1936@att.com>2019-04-26 09:56:44 -0500
commit4faf821c83647df9dd4d78c1b0072cfb724ab68d (patch)
tree4a1507ed67c11789ed50e62f3411035fbcdb0df4 /robot
parentec6c4bd601916103f68a4c2a22d5e3dc878ecd43 (diff)
Shorten vnf and vf names
Issue-ID: INT-1048 Change-Id: Ic83f3b27a9f3ba241d253edebb751c9a85a66e13 Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot')
-rw-r--r--robot/resources/test_templates/vnf_orchestration_test_template.robot2
1 files changed, 2 insertions, 0 deletions
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