Commit 8542a206 authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

Validated test TD_VxLTE_INT_ATT_01 with Gx and S6a interfaces

parent 5e0a89fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -991,7 +991,7 @@ module AtsImsIot_Diameter_Templates {
                template CCR_MSG mw_CCR_SubscriberIMSI_qosInformation_class5(CC_Request_Ty_Type p_avpData) modifies mw_CCR_basic := {
                    cCR_Body :={
                        cC_Request_Type        := mw_cC_Request_Type(p_avpData),
                        subscription_Id        := {mw_subscription_Id(mw_subscription_Id_Type(END_USER_IMSI_E))},
                        subscription_Id        := {*,mw_subscription_Id(mw_subscription_Id_Type(END_USER_IMSI_E))},
                        iP_CAN_Type            := ?,
                        rat_Type               := ?,
                        called_Station_Id      := ?,
+1 −15
Original line number Diff line number Diff line
@@ -521,20 +521,6 @@ group g_PCRF {
     *         the EPC_PCRF_A entity sends the CCA containing
     *             Result_Code_AVP
     *                 indicating value DIAMETER_SUCCESS
     *             QoS_Information_AVP containing
     *                 APN_Aggregate_Max_Requested_Bandwidth_UL_AVP
     *                 APN_Aggregate_Max_Requested_Bandwidth_DL_AVP
     *                 Bearer_Identifier_AVP;,
     *             Default_EPS_Bearer_QoS_AVP containing
     *                 QoS_Class_Identifier_AVP
     *                     indicating value '5'
     *                 Allocation_Retention_Priority_AVP containing
     *                     Priority_Level_AVP
     *                     Pre_emption_Capablity_AVP
     *                     Pre_emption_Vulnerability_AVP
     *                 ;
     *             ;
     *         ;
     *         to the EPC_PGW_A entity
     *     }
     * }
@@ -566,7 +552,7 @@ group g_PCRF {
            p_monitorCompRef.start (
                f_Iot_Diameter_receive(
                    {
                        DIAMETER_MSG:{ cCA_MSG := mw_CCA_qosInformation_class5 }
                        DIAMETER_MSG:{ cCA_MSG := mw_CCA_resultCode }
                    },
                    {
                        DIAMETER_MSG:{ cCA_MSG := mw_CCA_basic }
+9 −12
Original line number Diff line number Diff line
@@ -165,7 +165,6 @@ module AtsImsIot_TP_behavior_IC
                                                      in boolean p_checkMessage := false
                                                      ) runs on ImsTestCoordinator {
                if (isvalue(p_monitorCompRef)) {
                    var template SipUrl v_eutBUri := mw_SipUrl_Host(f_GetEUTScscfAddress(PX_EUT_B));
                    p_monitorCompRef.start(
                                          f_Iot_Sip_receive(
                                                            {
@@ -820,7 +819,6 @@ module AtsImsIot_TP_behavior_IC
        ) runs on ImsTestCoordinator {
          if (isvalue(p_monitorCompRef)) {

           var template SipUrl v_SCSCF_A_Uri := mw_SipUrl_Host(f_GetEUTScscfAddress(PX_EUT_A));            
           var template RecordRoute v_recordRoute := ?;
                           
           p_monitorCompRef.start(
@@ -847,7 +845,6 @@ module AtsImsIot_TP_behavior_IC
        ) runs on ImsTestCoordinator {
          if (isvalue(p_monitorCompRef)) {
          
           var template SipUrl v_SCSCF_A_Uri := mw_SipUrl_Host(f_GetEUTScscfAddress(PX_EUT_A));            
           var template RecordRoute v_recordRoute := ?;
                           
           //TODO: from/to 
@@ -1000,7 +997,7 @@ module AtsImsIot_TP_behavior_IC
       ) runs on ImsTestCoordinator  { 
       if (isvalue(p_monitorCompRef)) {

       var charstring v_EUT_A_Addr := f_GetEUTScscfAddress(PX_EUT_A);
       var charstring v_EUT_A_Addr := f_GetEUTScscfAddress_1();//f_GetEUTScscfAddress(PX_EUT_A)
                
       //TODO: to/from
       p_monitorCompRef.start(
@@ -1105,7 +1102,7 @@ module AtsImsIot_TP_behavior_IC
        ) runs on ImsTestCoordinator  {
          if (isvalue(p_monitorCompRef)) {

            var template SipUrl v_scscfImsBUrl := mw_SipUrl_Host(f_GetEUTScscfAddress(PX_EUT_B));
            var template SipUrl v_scscfImsBUrl := mw_SipUrl_Host(f_GetEUTScscfAddress_1());//f_GetEUTScscfAddress(PX_EUT_B)
                
            p_monitorCompRef.start(
             f_Iot_Sip_receive(
@@ -1699,7 +1696,7 @@ module AtsImsIot_TP_behavior_IC
    
            // @remark source function f_mtc_check_TP_IMS_5092_01_ic
            var charstring v_EUT_A_Addr := f_GetEUTPcscfAddress(PX_EUT_A);
            var template SipUrl v_eutBUri := mw_SipUrl_Host(f_GetEUTScscfAddress(PX_EUT_B));
            var template SipUrl v_eutBUri := mw_SipUrl_Host(f_GetEUTScscfAddress_1());//f_GetEUTScscfAddress(PX_EUT_B)
                
            p_monitorCompRef.start(
                f_Iot_Sip_receive(
@@ -1715,7 +1712,7 @@ module AtsImsIot_TP_behavior_IC
    
            // @remark source function f_mtc_check_TP_IMS_5092_01_ic
            v_EUT_A_Addr := f_GetEUTPcscfAddress(PX_EUT_B);
            v_eutBUri := mw_SipUrl_Host(f_GetEUTScscfAddress(PX_EUT_A));
            v_eutBUri := mw_SipUrl_Host(f_GetEUTScscfAddress_1());//f_GetEUTScscfAddress(PX_EUT_A)
                
            p_monitorCompRef.start(
                f_Iot_Sip_receive(
@@ -1753,7 +1750,7 @@ module AtsImsIot_TP_behavior_IC
    
            // @remark source function f_mtc_check_TP_IMS_5092_01_ic
            var charstring v_EUT_A_Addr := f_GetEUTPcscfAddress(PX_EUT_A);
            var template SipUrl v_eutBUri := mw_SipUrl_Host(f_GetEUTScscfAddress(PX_EUT_B));
            var template SipUrl v_eutBUri := mw_SipUrl_Host(f_GetEUTScscfAddress_1());//f_GetEUTScscfAddress(PX_EUT_B)
                
            p_monitorCompRef.start(
                f_Iot_Sip_receive(
@@ -1769,7 +1766,7 @@ module AtsImsIot_TP_behavior_IC
    
            // @remark source function f_mtc_check_TP_IMS_5092_01_ic
            v_EUT_A_Addr := f_GetEUTPcscfAddress(PX_EUT_B);
            v_eutBUri := mw_SipUrl_Host(f_GetEUTScscfAddress(PX_EUT_A));
            v_eutBUri := mw_SipUrl_Host(f_GetEUTScscfAddress_1());//f_GetEUTScscfAddress(PX_EUT_A)
                
            p_monitorCompRef.start(
                f_Iot_Sip_receive(
@@ -1819,7 +1816,7 @@ module AtsImsIot_TP_behavior_IC
            
            // @remark source function f_mtc_check_TP_IMS_5092_01_ic
            var charstring v_EUT_A_Addr := f_GetEUTPcscfAddress(PX_EUT_A);
            var template SipUrl v_eutBUri := mw_SipUrl_Host(f_GetEUTScscfAddress(PX_EUT_B));
            var template SipUrl v_eutBUri := mw_SipUrl_Host(f_GetEUTScscfAddress_1());//f_GetEUTScscfAddress(PX_EUT_B)
                
            p_monitorCompRef.start(
                f_Iot_Sip_receive(
@@ -1835,7 +1832,7 @@ module AtsImsIot_TP_behavior_IC
    
            // @remark source function f_mtc_check_TP_IMS_5092_01_ic
            v_EUT_A_Addr := f_GetEUTPcscfAddress(PX_EUT_B);
            v_eutBUri := mw_SipUrl_Host(f_GetEUTScscfAddress(PX_EUT_A));
            v_eutBUri := mw_SipUrl_Host(f_GetEUTScscfAddress_1());//f_GetEUTScscfAddress(PX_EUT_A)
                
            p_monitorCompRef.start(
                f_Iot_Sip_receive(
+4 −2
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ module AtsImsIot_TP_behavior_ISC
	}   
    
	import from AtsImsIot_Functions all;
	import from AtsImsIot_Templates_MW all;
	import from LibIot_PIXITS {modulepar PX_EUT_A, PX_EUT_B;}
	// LibSip
	import from LibSip_SDPTypes { type SDP_media_desc_list };
@@ -57,11 +58,12 @@ group g_ISC {
        boolean p_checkMessage := false
    ) runs on ImsTestCoordinator {
        if (isvalue(p_monitorCompRef)){
            var template SipUrl v_request_uri := mw_SipUrl_Host(f_GetEUTPcscfAddress(PX_EUT_A));
            var ImsUserInfo v_userInfoA := f_getSipUserId(PX_EUT_A);
    
            p_monitorCompRef.start(
                f_Iot_Sip_receive(
                    {mw_SipRequest(mdw_TP_ISC_SCSCF_REGISTER_01(?,?,v_request_uri))},
                    {mw_SipRequest(mdw_TP_ISC_SCSCF_REGISTER_01(mw_From_AddrUnion_SipUrl(omit, v_userInfoA.publicId, v_userInfoA.domain),
                                                                mw_To_AddrUnion_SipUrl(omit, v_userInfoA.publicId, v_userInfoA.domain)))},
                    {mw_SipRequest(mw_REGISTER_Request_Base)},
                    {0, omit},
                    "TP_ISC_SCSCF_REGISTER_01 - REGISTER",
+11 −9
Original line number Diff line number Diff line
@@ -757,19 +757,21 @@ module AtsImsIot_Templates_IC
		* @desc REGISTER Request checking TP_ISC_SCSCF_REGISTER_01.
		*/
		template REGISTER_Request mdw_TP_ISC_SCSCF_REGISTER_01(
			template SipUrl p_eutAUri, 
			template charstring p_EUTB_PublicId,
		    template SipUrl p_PCSCF_SIP_URI
                                                              template (present) From p_from := ?,
                                                              template (present) To p_to := ?,
                                                              template Authorization p_authorization := *,
                                                              template PChargingVector p_pChargingVector := ?,
                                                              template PVisitedNetworkID p_pVisitedNetworkID := ?
		) modifies mw_REGISTER_Request_Base := {
            requestLine := { requestUri := p_PCSCF_SIP_URI }, 
            //requestLine := { requestUri := p_PCSCF_SIP_URI }, 
			msgHeader := {
				fromField := mw_From (p_eutAUri),
				toField := mw_To_NameAddr_SipUrl ({quotedString:=p_EUTB_PublicId}, ?, ?),
				authorization := mw_Authorization(mw_credentialIntegrityNo),
				pChargingVector := ?,
				fromField := p_from,
				toField := p_to,
				authorization := p_authorization,
				pChargingVector := p_pChargingVector,
				pChargingFunctionAddresses := ?,
				pAccessNetworkInfo := ?,
				pVisitedNetworkID := ?,
				pVisitedNetworkID := p_pVisitedNetworkID,
				contact := {
					fieldName := CONTACT_E,
					contactBody := {
Loading