39 lines
1.4 KiB
Plaintext
39 lines
1.4 KiB
Plaintext
*** 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}]}
|