*** Settings ***
Test Teardown DeletePolicyAndObject ${policyIds} ${objectids}
Library OperatingSystem
Resource ../../../02-Keyword/tsg_adc/SystemCommand.robot
Resource ../../../02-Keyword/tsg_bfapi/PolicyObject.robot
Resource ../../../02-Keyword/tsg_bfapi/LogVariable.robot
Resource ../../../05-Other/AllFlowCaseVariable.txt
Resource ../../../02-Keyword/tsg_adc/FileOperation.robot
Resource ../../../05-Other/AllFlowCaseVariable1.txt
*** Variables ***
${policyIds} ${EMPTY}
${objectids} ${EMPTY}
*** Test Cases ***
wan_nat-dnat-00001
#删除对象
${objectids} set Variable ${dnat_objectId}
#删除策略
${policyIds} Create List {"policyType":"wannat","policyIds":[${dnat_policyId}]}
wan_nat-dnat-00002
${objectids} set Variable ${dnat_objectId1}
${policyIds} Create List {"policyType":"wannat","policyIds":[${dnat_policyId1}]}
wan_nat-dnat-00003
${objectids} set Variable ${dnat_objectId2}
${policyIds} Create List {"policyType":"wannat","policyIds":[${dnat_policyId2}]}
wan_nat-dnat-00004
${objectids} set Variable ${dnat_objectId3}
${policyIds} Create List {"policyType":"wannat","policyIds":[${dnat_policyId3}]}