aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/test_templates/vnf_orchestration_test_template.robot
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-05-24 15:05:03 -0400
committerDR695H <dr695h@att.com>2019-07-22 18:00:55 -0400
commit102f3207fbec080e81d4abaa9c7277cbf5d52a37 (patch)
tree54d33855afdfc35271a78d7c4ae0913b111d9806 /robot/resources/test_templates/vnf_orchestration_test_template.robot
parentc1103fba68e3461b136b044daec3339d0e6575f7 (diff)
move the main so interface to use onaplibrary
left some cloud config and direct instantiate seperate Change-Id: I4c508d5403c660f83b14b98585111b9219bae6b7 Issue-ID: TEST-158 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/test_templates/vnf_orchestration_test_template.robot')
-rw-r--r--robot/resources/test_templates/vnf_orchestration_test_template.robot6
1 files changed, 3 insertions, 3 deletions
diff --git a/robot/resources/test_templates/vnf_orchestration_test_template.robot b/robot/resources/test_templates/vnf_orchestration_test_template.robot
index 6c21e4a4..3311c8bb 100644
--- a/robot/resources/test_templates/vnf_orchestration_test_template.robot
+++ b/robot/resources/test_templates/vnf_orchestration_test_template.robot
@@ -50,7 +50,7 @@ Orchestrate VNF
Login To VID GUI
${service_instance_id}= Wait Until Keyword Succeeds 300s 5s Create VID Service Instance ${customer_name} ${service_model_type} ${service} ${service_name} ${project_name} ${owning_entity}
Validate Service Instance ${service_instance_id} ${service} ${customer_name}
- ServiceMapping.Set Directory default ./demo/service_mapping
+ ServiceMapping.Set Directory default ${GLOBAL_SERVICE_MAPPING_DIRECTORY}
${vnflist}= ServiceMapping.Get Service Vnf Mapping default ${service}
${generic_vnfs}= Create Dictionary
${vnf_name_index}= Set Variable 0
@@ -95,7 +95,7 @@ Orchestrate Demo VNF
Login To VID GUI
${service_instance_id}= Wait Until Keyword Succeeds 300s 5s Create VID Service Instance ${customer_name} ${service_model_type} ${service} ${service_name} ${project_name} ${owning_entity}
Validate Service Instance ${service_instance_id} ${service} ${customer_name}
- ServiceMapping.Set Directory default ./demo/service_mapping
+ ServiceMapping.Set Directory default ${GLOBAL_SERVICE_MAPPING_DIRECTORY}
${vnflist}= ServiceMapping.Get Service Vnf Mapping default ${service}
${generic_vnfs}= Create Dictionary
:FOR ${vnf} IN @{vnflist}
@@ -147,7 +147,7 @@ Get Catalog Resource
Get Name Pattern
[Documentation] To support services with multiple VNFs, we need to dig the vnf type out of the SDC catalog resources to select in the VID UI
[Arguments] ${vnf} ${service}
- ServiceMapping.Set Directory default ./demo/service_mapping
+ ServiceMapping.Set Directory default ${GLOBAL_SERVICE_MAPPING_DIRECTORY}
${list}= ServiceMapping.Get Service Template Mapping default ${service} ${vnf}
:FOR ${dict} IN @{list}
\ ${base_name}= Get From Dictionary ${dict} name_pattern