Commit ab859d32 authored by pintar's avatar pintar
Browse files

New tests for RF_CTF_TC group

parent 00e53196
Loading
Loading
Loading
Loading
+19 −7
Original line number Diff line number Diff line
@@ -28,12 +28,12 @@ module DiameterRfRo_PIXITS {
             */
            modulepar charstring PX_DIAMETER_RF_SUT_IPADDR := "1.1.1.20";
            
            /** @desc    charstring, PIXIT item A-7/2
            /** @desc    integer, PIXIT item A-7/2
             * Port number of the test system
             */
            modulepar integer PX_DIAMETER_RF_ETS_PORT := 3868;
            
            /** @desc    charstring, PIXIT item A-8/2
            /** @desc    integer, PIXIT item A-8/2
             * Port number of the system under test
             */
            modulepar integer PX_DIAMETER_RF_SUT_PORT := 3868;
@@ -48,12 +48,12 @@ module DiameterRfRo_PIXITS {
             */
            modulepar charstring PX_DIAMETER_RO_SUT_IPADDR := "1.1.1.21";
            
            /** @desc    charstring, PIXIT item A-7/2
            /** @desc    integer, PIXIT item A-7/2
             * Port number of the test system
             */
            modulepar integer PX_DIAMETER_RO_ETS_PORT := 3868;
            
            /** @desc    charstring, PIXIT item A-8/2
            /** @desc    integer, PIXIT item A-8/2
             * Port number of the system under test
             */
            modulepar integer PX_DIAMETER_RO_SUT_PORT := 3868;
@@ -77,17 +77,17 @@ module DiameterRfRo_PIXITS {
             */
            modulepar charstring PX_DIAMETER_GM_SUT_PCSCF_IPADDR := "1.1.1.52";
            
            /** @desc    charstring, PIXIT item
            /** @desc    integer, PIXIT item
             * Port number of the test system UE
             */
            modulepar integer PX_DIAMETER_GM_ETS_UE_PORT := 3868;
            
            /** @desc    charstring, PIXIT item
            /** @desc    integer, PIXIT item
             * Port number of the test system UE2
             */
            modulepar integer PX_DIAMETER_GM_ETS_UE2_PORT := 3868;
            
            /** @desc    charstring, PIXIT item
            /** @desc    integer, PIXIT item
             * Port number of the system under test
             */
            modulepar integer PX_DIAMETER_GM_SUT_PCSCF_PORT := 3868;
@@ -322,4 +322,16 @@ module DiameterRfRo_PIXITS {
     */
    modulepar boolean PX_SIPsupport := false;
    
    /** 
     * @desc    integer for variant selection
     * @see ETSI DTS/INT-00121-2 V0.0.19 (2015-10) 
     *     test purpose variants        Vales due to TPs:
     *         VA_01
     *         VA_02
     *         VA_03
     *         VA_04
     *         VA_05
     */
    modulepar integer PX_VA := 1;
    
} // End of module DiameterRfRo_PIXITS
 No newline at end of file
+605 −19

File changed.

Preview size limit exceeded, changes collapsed.

+16 −14
Original line number Diff line number Diff line
@@ -18,20 +18,22 @@

module DiameterRfRo_SIP_Templates {

    //LibCommon
    import from LibCommon_BasicTypesAndValues {type UInt32;};
    // LibSip
    import from LibSip_SIPTypesAndValues all;
    import from LibSip_Templates{template mw_ACK_Request_Base;};
 
    //LibDiameter
    import from LibDiameter_Types_Base_AVPs all;
    import from LibDiameter_TypesAndValues all;
    import from LibDiameter_Templates all;
    
    //DiameterS9
    import from DiameterRfRo_PIXITS all;
    import from DiameterRfRo_Templates all;

    group SubFields{

    } // End of group SubFields
            group requestReceive_Modified {

                template (present) ACK_Request mdw_ACK_Request_noPchargingVector(
                    template CallId p_callId
                ) modifies mw_ACK_Request_Base := {
                    msgHeader := {
                        pChargingVector := omit
                    }
                }
            } //end group requestReceive {
    
} // End of module DiameterRfRo_SIP_Templates
 No newline at end of file
+349 −6

File changed.

Preview size limit exceeded, changes collapsed.

+65 −0
Original line number Diff line number Diff line
@@ -254,6 +254,31 @@ module DiameterRfRo_Templates {
                        acct_Application_Id         := mw_acct_Application_Id(3)
                } // End of template mdw_acrBodyAvps
                
                /**
                 * @desc Receive template for ACR message body
                 * @param p_resultCode                  Indicates whether a particular request was completed successfully or an error occurred
                 * @param p_originHost                  Identifies the endpoint that originated the Diameter message
                 * @param p_originRealm                 Realm of the originator
                 * @param p_destinationRealm            Destination realm
                 * @param p_accounting_Record_Type      Accounting Record Type
                 * @param p_accounting_Record_Number    Accounting Record Number
                 * @param p_acct_application_id         Acct application Id
                 * @param p_service_Information         Service Information
                 * @param p_event_Timestamp             Event Timestamp
                 */
                template (present) ACR_Body_AVP mdw_acrBody_ServiceInfo_EventTimestamp(
                                                                in template (present) Origin_Host_AVP              p_originHost,
                                                                in template (present) Origin_Realm_AVP             p_originRealm,
                                                                in template (present) Destination_Realm_AVP        p_destinationRealm,
                                                                in template (present) Accounting_Record_Type_AVP   p_accounting_Record_Type,
                                                                in template (present) Accounting_Record_Number_AVP p_accounting_Record_Number,
                                                                in template Service_Information_AVP                p_service_Information,
                                                                in template Event_Timestamp_AVP                    p_event_Timestamp 
                ) modifies mdw_acrBodyAvps := {
                        service_Information         := p_service_Information,
                        event_Timestamp             := p_event_Timestamp
                } // End of template mdw_acrBody_ServiceInfo_EventTimestamp
                
            }// End of group ACR_MSG
            
            group ASR_MSG_{
@@ -326,6 +351,18 @@ module DiameterRfRo_Templates {
                acct_Application_Id         := m_acct_Application_Id(3)
            } // End of template md_acaBodyAvps 
            
            template (value) ACA_Body_AVP md_acaBody_AcctInterimInterval(
                                                         in template (value) Result_Code_AVP              p_resultCode,
                                                         in template (value) Origin_Host_AVP              p_originHost,
                                                         in template (value) Origin_Realm_AVP             p_originRealm,
                                                         in template (value) Accounting_Record_Type_AVP   p_accounting_Record_Type,
                                                         in template (value) Accounting_Record_Number_AVP p_accounting_Record_Number,
                                                         in template (omit) Acct_Interim_Interval_AVP     p_acct_Interim_Interval:= omit
            ) modifies md_acaBodyAvps := {
                acct_Interim_Interval       := p_acct_Interim_Interval
                
            } // End of template md_acaBody_AcctInterimInterval
            
            /**
             * @desc Send template for ASA
             * @param p_sessionId   Session identifier
@@ -911,6 +948,17 @@ module DiameterRfRo_Templates {
                aVP_Data   := p_aVP_Data
            } // End of template m_accounting_Output_Octets_AVP 

            /**
             * @desc The Acct-Interim-Interval send template 
             * @param p_aVP_Data     Indicates interval
             */
            template (value) Acct_Interim_Interval_AVP m_acct_Interim_Interval(
                                      in template (value) UInt32 p_aVP_Data
            ) := {
                aVP_Header  := m_aVP_HeaderVid_Mbit1(c_acct_Interim_Interval_AVP_Code, 4, omit),
                aVP_Data      := p_aVP_Data
            } // End of template m_acct_Interim_Interval
            
            /**
             * @desc The Event-Type send template 
             * @param p_sip_Method   TODO
@@ -4988,6 +5036,23 @@ module DiameterRfRo_Templates {
                aVP_Data      := p_aVP_Data
            } // End of template mw_pdp_Address_Prefix_Length_AVP
             
            
            /**
             * @desc Service-Information AVP, receive template 
             * 
             * @see ETSI TS 132 299 V10.15.0 Clause 7.2.192 Service-Information AVP
             * @see ETSI TS 132 299 V10.15.0 Table 7.2: 3GPP specific AVPs
             */
            template (present) Service_Information_AVP mw_service_Information(
                                                                          in template (present) Service_Information_AVP.subscription_Id               p_subscription_Id,
                                                                          in template IMS_Information_AVP                p_ims_Information,
                                                                          in template Service_Generic_Information_AVP    p_service_Generic_Information
            ) modifies mw_service_Information_AVP_dummy := {
                subscription_Id             := p_subscription_Id,
                ims_Information             := p_ims_Information,
                service_Generic_Information := p_service_Generic_Information
            } // End of template mw_service_Information
            
        } // End of group Rf_avps_templates_receive 
        
    } // End of group Rf_avps_templates 
Loading