*** Settings ***
Test Teardown DeletePolicyAndObject ${policyIds} ${objectids}
Force Tags tsg_adc 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 ../../../02-Keyword/tsg_bfapi/ApiRequest.robot
Resource ../../../03-Variable/AllFlowCaseVariable.txt
*** Variables ***
${policyIds} ${EMPTY}
${objectids} ${EMPTY}
*** Test Cases ***
create_wan_vpn_1
#添加一个vpn
${wan_vpn_dict} Create Dictionary username=zmmtest2 password=abcdef iconColor=#dddddd
${wan_vpn_list} Create List ${wan_vpn_dict}
${a} AddWanVpn ${wan_vpn_list}
log ${a}
create_wan_vpn_2
${wan_vpn_dict} Create Dictionary username=zmmtest3 password=abcdef iconColor=#dddddd
${wan_vpn_dict_2} Create Dictionary username=zmmtest4 password=abcdef iconColor=#dddddd
${wan_vpn_list} Create List ${wan_vpn_dict} ${wan_vpn_dict_2}
delete_wan_vpn_1
# 删除一个vpn
${deletelist} Create List 26
${a} DeleteWanVpn ${deletelist}
delete_wan_vpn_2
${deletelist} Create List 35 33