WAN IP poor VPN 因为接口变动,重写
This commit is contained in:
@@ -20,11 +20,12 @@ create_wan_ip_pood_add
|
||||
${list1} IP_list ${iplist1}
|
||||
${iplist2} Create Dictionary ip=8.8.8.8 relative_location=external xxxx=567 src_mac=890
|
||||
${list2} IP_list ${iplist2}
|
||||
${wan_nat_ip_iplist} Create List ${list1} ${list2}
|
||||
${wan_nat_ip_iplist} Create List ${list1} ${list2}
|
||||
log ${wan_nat_ip_iplist}
|
||||
${WanNatIpPood} Add&EditWanIpPood ${must_parameter} ${wan_nat_ip_iplist}
|
||||
# log 11111111111111111111111111111111111
|
||||
log ${WanNatIpPood}
|
||||
|
||||
log *****************************************************
|
||||
|
||||
create_wan_ip_pood_updata
|
||||
# 修改填写 profileId
|
||||
|
||||
@@ -15,20 +15,20 @@ ${objectids} ${EMPTY}
|
||||
*** Test Cases ***
|
||||
create_wan_vpn_1
|
||||
#添加一个vpn
|
||||
${wan_vpn_dict} Create Dictionary username=zmmtest1 password=abcdef iconColor=#dddddd
|
||||
${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
|
||||
#添加一个vpn
|
||||
${wan_vpn_dict} Create Dictionary username=zmmtest2 password=abcdef iconColor=#dddddd
|
||||
${wan_vpn_dict_2} Create Dictionary username=zmmtest3 password=abcdef iconColor=#dddddd
|
||||
${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}
|
||||
${a} AddWanVpn ${wan_vpn_list}
|
||||
log ${a}
|
||||
delete_wan_vpn_1
|
||||
# 删除一个vpn
|
||||
${deletelist} Create List 31
|
||||
${deletelist} Create List 26
|
||||
${a} DeleteWanVpn ${deletelist}
|
||||
delete_wan_vpn_2
|
||||
# 删除一个vpn
|
||||
|
||||
Reference in New Issue
Block a user