aboutsummaryrefslogtreecommitdiffstats
path: root/robot
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-11-09 14:44:54 -0800
committerGary Wu <gary.i.wu@huawei.com>2018-11-09 14:44:54 -0800
commitfe4a8260e4e28c6a15c4e76b2a7572278a36699b (patch)
tree773b82c007c88efca8752535a028b5150007868a /robot
parent2b8a20c2653864dd4fe90d16caa67e33201ccbe0 (diff)
Fix use of wrong key for generic_vnfs dictionary
Change-Id: I2702d496363ac4b3f20a104d332e74263280552b Issue-ID: INT-715 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'robot')
-rw-r--r--robot/resources/test_templates/vnf_orchestration_test_template.robot4
1 files changed, 2 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 e3c3b7f9..e670dac2 100644
--- a/robot/resources/test_templates/vnf_orchestration_test_template.robot
+++ b/robot/resources/test_templates/vnf_orchestration_test_template.robot
@@ -78,7 +78,7 @@ Orchestrate VNF
\ ${vf_module_type} ${closedloop_vf_module}= Preload Vnf ${service_instance_id} ${vnf_name} ${vnf_type} ${vf_module_name} ${vf_module} ${vnf} ${uuid}
\ ${vf_module_id}= Create VID VNF module ${service_instance_id} ${vf_module_name} ${lcp_region} ${tenant} ${vf_module_type} ${CUSTOMER_NAME} ${vnf_name}
\ ${generic_vnf}= Validate Generic VNF ${vnf_name} ${vnf_type} ${service_instance_id}
- \ Set To Dictionary ${generic_vnfs} ${vf_module} ${generic_vnf}
+ \ Set To Dictionary ${generic_vnfs} ${vf_module_type} ${generic_vnf}
\ Run Keyword If '${service}' == 'vLB' VLB Closed Loop Hack ${service} ${generic_vnf} ${closedloop_vf_module}
\ Set Test Variable ${STACK_NAME} ${vf_module_name}
# TODO: Need to look at a better way to default ipv4_oam_interface search for Heatbridge
@@ -124,7 +124,7 @@ Orchestrate Demo VNF
\ ${vf_module_type} ${closedloop_vf_module}= Preload Vnf ${service_instance_id} ${vnf_name} ${vnf_type} ${vf_module_name} ${vf_modules} ${vnf} ${uuid}
\ ${vf_module_id}= Create VID VNF module ${service_instance_id} ${vf_module_name} ${lcp_region} ${tenant} ${vf_module_type} ${CUSTOMER_NAME} ${vnf_name}
\ ${generic_vnf}= Validate Generic VNF ${vnf_name} ${vnf_type} ${service_instance_id}
- \ Set To Dictionary ${generic_vnfs} ${vf_module} ${generic_vnf}
+ \ Set To Dictionary ${generic_vnfs} ${vf_module_type} ${generic_vnf}
\ Run Keyword If '${service}' == 'vLB' VLB Closed Loop Hack ${service} ${generic_vnf} ${closedloop_vf_module}
\ Set Test Variable ${STACK_NAME} ${vf_module_name}
# TODO: Need to look at a better way to default ipv4_oam_interface search for Heatbridge