GTP相关关键字修改
This commit is contained in:
@@ -250,26 +250,26 @@ ManageObjectV2
|
||||
#默认客户端条件类型:clientip or clientsubid
|
||||
${return} ${defaultClient} Run Keyword And Ignore Error Get From Dictionary ${policy} defaultClient
|
||||
|
||||
# ${return1} ${defaultClient} Run Keyword And Ignore Error Get From Dictionary ${policy} defaultClient1
|
||||
# ${return2} ${defaultClient} Run Keyword And Ignore Error Get From Dictionary ${policy} defaultClient2
|
||||
# ${return3} ${defaultClient} Run Keyword And Ignore Error Get From Dictionary ${policy} defaultClient3
|
||||
# ${return4} ${defaultClient} Run Keyword And Ignore Error Get From Dictionary ${policy} defaultClient4
|
||||
${return1} ${defaultClient1} Run Keyword And Ignore Error Get From Dictionary ${policy} defaultClient1
|
||||
${return2} ${defaultClient2} Run Keyword And Ignore Error Get From Dictionary ${policy} defaultClient2
|
||||
${return3} ${defaultClient3} Run Keyword And Ignore Error Get From Dictionary ${policy} defaultClient3
|
||||
${return4} ${defaultClient4} Run Keyword And Ignore Error Get From Dictionary ${policy} defaultClient4
|
||||
|
||||
${defaultClient} Run Keyword If "${return}"=="FAIL" or "${defaultClient}"=="${EMPTY}" Set Variable ${Default_Client_Type}
|
||||
# ... ELSE IF "${return1}"=="FAIL" or "${defaultClient1}"=="${EMPTY}" Set Variable ${Default_Client_subidType}
|
||||
# ... ELSE IF "${return2}"=="FAIL" or "${defaultClient2}"=="${EMPTY}" Set Variable ${Default_Client_imsiType}
|
||||
# ... ELSE IF "${return3}"=="FAIL" or "${defaultClient3}"=="${EMPTY}" Set Variable ${Default_Client_phonenumberType}
|
||||
# ... ELSE IF "${return4}"=="FAIL" or "${defaultClient4}"=="${EMPTY}" Set Variable ${Default_Client_apnType}
|
||||
... ELSE Set Variable ${defaultClient}
|
||||
${defaultClient1} Run Keyword If "${return1}"=="FAIL" or "${defaultClient1}"=="${EMPTY}" Set Variable ${Default_Client_subidType}
|
||||
${defaultClient2} Run Keyword If "${return2}"=="FAIL" or "${defaultClient2}"=="${EMPTY}" Set Variable ${Default_Client_imsiType}
|
||||
${defaultClient3} Run Keyword If "${return3}"=="FAIL" or "${defaultClient3}"=="${EMPTY}" Set Variable ${Default_Client_phonenumberType}
|
||||
${defaultClient4} Run Keyword If "${return4}"=="FAIL" or "${defaultClient4}"=="${EMPTY}" Set Variable ${Default_Client_apnType}
|
||||
# ... ELSE Set Variable ${defaultClient}
|
||||
${sourceList} Create List
|
||||
${destinationList} Create List
|
||||
${filterList} Create List
|
||||
Run Keyword If '${addTestClentIPFlag}'=='1' and '${defaultClient}'!='${EMPTY}' and '${defaultClient}'=='clientip' ManageClientIPObjectV2 ${sourceList}
|
||||
|
||||
# Run Keyword If '${addTestClentIPFlag}'=='1' and '${defaultClient1}'!='${EMPTY}' and '${defaultClient1}'=='clientsubid' ManageClientSubIDObjectV2 ${sourceList}
|
||||
# Run Keyword If '${addTestClentIPFlag}'=='1' and '${defaultClient2}'!='${EMPTY}' and '${defaultClient2}'=='clientImsi' ManageClientImsiObjectV2 ${sourceList}
|
||||
# Run Keyword If '${addTestClentIPFlag}'=='1' and '${defaultClient3}'!='${EMPTY}' and '${defaultClient3}'=='clientPhoneNumber' ManageClientPhoneNumberObjectV2 ${sourceList}
|
||||
# Run Keyword If '${addTestClentIPFlag}'=='1' and '${defaultClient4}'!='${EMPTY}' and '${defaultClient4}'=='clientApn' ManageClientApnObjectV2 ${sourceList}
|
||||
Run Keyword If '${addTestClentIPFlag}'=='1' and '${defaultClient1}'!='${EMPTY}' and '${defaultClient1}'=='clientsubid' ManageClientSubIDObjectV2 ${sourceList}
|
||||
Run Keyword If '${addTestClentIPFlag}'=='1' and '${defaultClient2}'!='${EMPTY}' and '${defaultClient2}'=='clientImsi' ManageClientImsiObjectV2 ${sourceList}
|
||||
Run Keyword If '${addTestClentIPFlag}'=='1' and '${defaultClient3}'!='${EMPTY}' and '${defaultClient3}'=='clientPhoneNumber' ManageClientPhoneNumberObjectV2 ${sourceList}
|
||||
Run Keyword If '${addTestClentIPFlag}'=='1' and '${defaultClient4}'!='${EMPTY}' and '${defaultClient4}'=='clientApn' ManageClientApnObjectV2 ${sourceList}
|
||||
|
||||
AnalysisObjectV2 ${policy} source ${sourceList}
|
||||
AnalysisObjectV2 ${policy} destination ${destinationList}
|
||||
@@ -299,24 +299,24 @@ ManageClientImsiObjectV2
|
||||
[Arguments] ${emptyList}
|
||||
# 增加引用测试终端Imsi策略对象
|
||||
${protocolField} Set Variable
|
||||
insert_policyId_to_file1 addpolicySubId ${testClentSubID}
|
||||
${obj1} Create Dictionary objectId=${testClentSubID} protocolField=TSG_FILED_GTP_IMSI
|
||||
insert_policyId_to_file1 testImsiId ${object_imsi_id}
|
||||
${obj1} Create Dictionary objectId=${object_imsi_id} protocolField=TSG_FILED_GTP_IMSI
|
||||
Append To List ${emptyList} ${obj1}
|
||||
|
||||
ManageClientPhoneNumberObjectV2
|
||||
[Arguments] ${emptyList}
|
||||
# 增加引用测试终端phonenumber策略对象
|
||||
${protocolField} Set Variable
|
||||
log ${testClentSubID}
|
||||
${obj1} Create Dictionary objectId=${testClentSubID} protocolField=TSG_FILED_GTP_PHONE_NUMBER
|
||||
insert_policyId_to_file1 testPhoneNumberId ${obj_phoneNum_Id}
|
||||
${obj1} Create Dictionary objectId=${obj_phoneNum_Id} protocolField=TSG_FILED_GTP_PHONE_NUMBER
|
||||
Append To List ${emptyList} ${obj1}
|
||||
|
||||
ManageClientApnObjectV2
|
||||
[Arguments] ${emptyList}
|
||||
# 增加引用测试终端apn策略对象
|
||||
${protocolField} Set Variable
|
||||
insert_policyId_to_file1 addpolicySubId ${testClentSubID}
|
||||
${obj1} Create Dictionary objectId=${testClentSubID} protocolField=TSG_FILED_GTP_APN
|
||||
insert_policyId_to_file1 testApnId ${obj_apn_Id}
|
||||
${obj1} Create Dictionary objectId=${obj_apn_Id} protocolField=TSG_FILED_GTP_APN
|
||||
Append To List ${emptyList} ${obj1}
|
||||
|
||||
AnalysisObjectV2
|
||||
|
||||
Reference in New Issue
Block a user