aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/test_templates
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2019-02-04 20:36:08 -0500
committerBrian Freeman <bf1936@att.com>2019-02-04 20:36:17 -0500
commitee02b31d7cf9f52b09b78095f26f2f05241cc6b0 (patch)
tree742aa617c8cf0dd55850a02ff4ca2e6890042ba7 /robot/resources/test_templates
parent4dda2603994b846e5d697210f53138a274ab142d (diff)
Dynamic Service Mapping & vFW ip port references
Issue-ID: INT-829 Change-Id: I10f229996cdeb049840fdefe78b35187186a5517 Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot/resources/test_templates')
-rw-r--r--robot/resources/test_templates/vnf_orchestration_test_template.robot6
1 files changed, 4 insertions, 2 deletions
diff --git a/robot/resources/test_templates/vnf_orchestration_test_template.robot b/robot/resources/test_templates/vnf_orchestration_test_template.robot
index e670dac2..86af5833 100644
--- a/robot/resources/test_templates/vnf_orchestration_test_template.robot
+++ b/robot/resources/test_templates/vnf_orchestration_test_template.robot
@@ -68,9 +68,11 @@ Orchestrate VNF
Validate Service Instance ${service_instance_id} ${service} ${customer_name}
${vnflist}= Get From Dictionary ${GLOBAL_SERVICE_VNF_MAPPING} ${service}
${generic_vnfs}= Create Dictionary
+ ${vnf_name_index}= Set Variable 0
:for ${vnf} in @{vnflist}
- \ ${vnf_name}= Catenate Ete_${vnf}_${uuid}
- \ ${vf_module_name}= Catenate Vfmodule_Ete_${vnf}_${uuid}
+ \ ${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
\ ${vnf_type}= Get VNF Type ${catalog_resources} ${vnf}
\ ${vf_module}= Get VF Module ${catalog_resources} ${vnf}
\ Append To List ${STACK_NAMES} ${vf_module_name}