From d2aa352ef40729242b0dd19049e44dbe337b3080 Mon Sep 17 00:00:00 2001 From: Brian Freeman Date: Tue, 24 Nov 2020 09:41:38 -0500 Subject: Remove Heatbridge for testing Issue-ID: INT-1791 Change-Id: I6363d90a77afae2663b481d1d942b3c7ed9bdd92 Signed-off-by: Brian Freeman --- .../test_templates/vnf_orchestration_test_template.robot | 8 ++++++-- robot/resources/vid/teardown_vid.robot | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'robot/resources') diff --git a/robot/resources/test_templates/vnf_orchestration_test_template.robot b/robot/resources/test_templates/vnf_orchestration_test_template.robot index ac5c9cd1..e4b44270 100644 --- a/robot/resources/test_templates/vnf_orchestration_test_template.robot +++ b/robot/resources/test_templates/vnf_orchestration_test_template.robot @@ -76,7 +76,10 @@ Orchestrate VNF \ ${generic_vnf}= Validate Generic VNF ${vnf_name} ${vnf_type} ${service_instance_id} \ Set To Dictionary ${generic_vnfs} ${vf_module_type} ${generic_vnf} # TODO: Need to look at a better way to default ipv4_oam_interface search for Heatbridge - \ ${uris_to_delete}= Execute Heatbridge ${vf_module_name} ${vnf} ${service} ipv4_oam_interface + ## Part of removale of heatbridge + ## \ ${uris_to_delete}= Execute Heatbridge ${vf_module_name} ${vnf} ${service} ipv4_oam_interface + ## set a fake urils_to_delete until we confirm heatbridge can be fully removed + \ ${uris_to_delete}= Set Variable 'http://devnull' \ Validate VF Module ${vf_module_name} ${vnf} \ Append To List ${vf_module_name_list} ${vf_module_name} [Return] ${vf_module_name_list} ${generic_vnfs} ${server_id} ${service_instance_id} ${catalog_resource_ids} ${catalog_service_id} ${uris_to_delete} @@ -125,7 +128,8 @@ Orchestrate Demo VNF \ ${generic_vnf}= Validate Generic VNF ${vnf_name} ${vnf_type} ${service_instance_id} \ Set To Dictionary ${generic_vnfs} ${vf_module_type} ${generic_vnf} # TODO: Need to look at a better way to default ipv4_oam_interface search for Heatbridge - \ Execute Heatbridge ${vf_module_name} ${vnf} ${service} ipv4_oam_interface + ## Part of remove Heatbridge + ##\ Execute Heatbridge ${vf_module_name} ${vnf} ${service} ipv4_oam_interface \ Validate VF Module ${vf_module_name} ${vnf} \ Append To List ${vf_module_name_list} ${vf_module_name} [Return] ${vf_module_name} ${service} ${generic_vnfs} diff --git a/robot/resources/vid/teardown_vid.robot b/robot/resources/vid/teardown_vid.robot index bf2af6f4..a2ffc83c 100644 --- a/robot/resources/vid/teardown_vid.robot +++ b/robot/resources/vid/teardown_vid.robot @@ -36,7 +36,8 @@ Delete VID Return From Keyword If '${status}' == 'FAIL' ${status} ${vfmodule} Return From Keyword If '${vfmodule}' == 'FAIL' ${status} ${vfmodule} # After tearing down a VF module, execute the reverse HB for it to remove the references from A&AI - Run Keyword If 'Vfmodule_Ete' in '${vfmodule}' Execute Reverse Heatbridge ${uris_to_delete} + ## Removed heatbridge + ## Run Keyword If 'Vfmodule_Ete' in '${vfmodule}' Execute Reverse Heatbridge ${uris_to_delete} Fail Continue with Next Remove Delete Next VID Entity -- cgit 1.2.3-korg