diff options
author | DR695H <dr695h@att.com> | 2019-07-22 12:37:45 -0400 |
---|---|---|
committer | DR695H <dr695h@att.com> | 2019-07-22 17:17:28 -0400 |
commit | c1103fba68e3461b136b044daec3339d0e6575f7 (patch) | |
tree | aeef2cbf58858d236d8dfa4b17c463fab83b5b6a /robot/resources/heatbridge.robot | |
parent | d979465ec6720dffbebd22bd83104ea5a5f4e65e (diff) |
remove the last of the global variables
Issue-ID: TEST-174
Change-Id: I1997bd0e4b693f3560f2cfc254c93537c96ed444
Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/heatbridge.robot')
-rw-r--r-- | robot/resources/heatbridge.robot | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/robot/resources/heatbridge.robot b/robot/resources/heatbridge.robot index 49d78af1..1f1a6429 100644 --- a/robot/resources/heatbridge.robot +++ b/robot/resources/heatbridge.robot @@ -26,10 +26,6 @@ ${VSERVER_URI} ${BASE_URI}/tenants/tenant/\${tenant}/vservers/vserver/\${vserv ${L_INTERFACE_URI} ${VSERVER_URI}/l-interfaces/l-interface/\${linterface_id} ${VSERVER_NAME} \${vserver_name} -#******************** Test Case Variables **************** -${REVERSE_HEATBRIDGE} - - *** Keywords *** Execute Heatbridge [Documentation] Run the Heatbridge against the stack to generate the bulkadd message @@ -65,8 +61,8 @@ Execute Heatbridge ${status_string}= Convert To String ${resp.status_code} Should Match Regexp ${status_string} ^(201|200)$ ${reverse_heatbridge}= Generate Reverse Heatbridge From Stack Info ${stack_info} - Set Test Variable ${REVERSE_HEATBRIDGE} ${reverse_heatbridge} Run Validation Query ${stack_info} ${service} ${vnf_id} + [Return] ${reverse_heatbridge} Run Create VNFC [Documentation] Create a VNFC for a vServer @@ -128,8 +124,9 @@ Run Get Generic VNF By VnfId Execute Reverse Heatbridge [Documentation] VID has already torn down the stack, reverse HB - Return From Keyword If len(${REVERSE_HEATBRIDGE}) == 0 - :FOR ${uri} IN @{REVERSE_HEATBRIDGE} + [Arguments] ${uris_to_delete} + Return From Keyword If len(${uris_to_delete}) == 0 + :FOR ${uri} IN @{uris_to_delete} \ Run Keyword And Ignore Error Delete A&AI Entity ${uri} Generate Reverse Heatbridge From Stack Name |