*** Settings *** Test Teardown DeletePolicyAndObject ${policyIds} ${objectids} Force Tags tsg_adc_wp adc_log security_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 *** SecurityPolicy-Allow-Rtp-00001 ${objectids} set Variable ${allow_rtp_objectId8} ${objectids} Catenate SEPARATOR=, ${objectids} ${allow_rtp_objectId9} ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${allow_rtp_policyId}]} ${s} Convert to String ${allow_rtp_policyId} GetLogList security_event_log ${starttime} ${endtime} ${voipCallIp} ${s} common_action allow SecurityPolicy-Allow-Rtp-00002 ${objectids} set Variable ${allow_rtp_objectId} ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${allow_rtp_policyId1}]} ${s} Convert to String ${allow_rtp_policyId1} SecurityPolicy-Allow-Rtp-00003 ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${allow_rtp_policyId2}]} ${s} Convert to String ${allow_rtp_policyId2} SecurityPolicy-Allow-Rtp-00004 ${objectids} set Variable ${allow_rtp_objectId1} ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${allow_rtp_policyId3}]} ${s} Convert to String ${allow_rtp_policyId3} SecurityPolicy-Allow-Rtp-00005 ${objectids} set Variable ${allow_rtp_objectId2} ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${allow_rtp_policyId4}]} ${s} Convert to String ${allow_rtp_policyId4} SecurityPolicy-Allow-Rtp-00006 ${objectids} set Variable ${allow_rtp_objectId3} ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${allow_rtp_policyId5}]} ${s} Convert to String ${allow_rtp_policyId5} SecurityPolicy-Allow-Rtp-00007 ${objectids} set Variable ${allow_rtp_objectId4} ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${allow_rtp_policyId6}]} ${s} Convert to String ${allow_rtp_policyId6} SecurityPolicy-Allow-Rtp-00008 ${objectids} set Variable ${allow_rtp_objectId5} ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${allow_rtp_policyId7}]} ${s} Convert to String ${allow_rtp_policyId7} SecurityPolicy-Allow-Rtp-00009 ${objectids} set Variable ${allow_rtp_objectId6} ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${allow_rtp_policyId8}]} ${s} Convert to String ${allow_rtp_policyId8} SecurityPolicy-Allow-Rtp-000010 #删除对象 ${objectids} set Variable ${allow_rtp_objectId7} ${policyIds} Create List {"policyType":"tsg_security","policyIds":[${allow_rtp_policyId9}]} ${s} Convert to String ${allow_rtp_policyId9}