28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
|
|
*** Settings ***
|
||
|
|
Test Teardown DeletePolicyAndObject ${policyIds} ${objectids}
|
||
|
|
Force Tags tsg_adc_wp adc_log proxy_policy
|
||
|
|
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}]}
|