Commit 30f99493 authored by garciay's avatar garciay
Browse files

STF512 Week#25:

- Continue validation for both Rf and Ro interfaces
- Start SIP triggering tests
- Bug fixed on the ATS and the Test Adapter
- Align TCs comments with TSS&TPs
- Source codes were committed
parent 9ba49970
Loading
Loading
Loading
Loading
+123 −15
Original line number Diff line number Diff line
@@ -292,16 +292,6 @@ module DiameterRfRo_PIXITS {
         */
        modulepar Time_Quota_Type PX_TIME_QUOTA_TYPE_TABLE6 := DISCRETE_TIME_PERIOD_E;
        
        /**
         * @desc Variant values for Time_Quota_Type AVP, PIXIT item A-10/18
         * @see ETSI DTS/INT-00103-2 V0.0.8 (2014-11) f_TC_RO_CTF_OP_21
         *     test purpose variants    Reporting_Reason AVP values:
         *     
         *         VA_01                    DISCRETE_TIME_PERIOD_E        (0)
         *         VA_02                    CONTINUOUS_TIME_PERIOD_E      (1)
         */
        modulepar Time_Quota_Type PX_TIME_QUOTA_TYPE_TABLE7 := DISCRETE_TIME_PERIOD_E;
        
        /** 
         * @desc    integer for variant selection, PIXIT item A-10/19
         * @see ETSI DTS/INT-00121-2 V0.0.19 (2015-10) 
@@ -314,11 +304,129 @@ module DiameterRfRo_PIXITS {
         */
        modulepar integer PX_VA := 1;
        
    } // End of group ocfContext
    
    group SipParameters {
      /** 
      * @desc    boolean indicator that is true if the Gm interface (SIP protocol) is accessible to trigger Diameter events at the Cx/Dx interface
      */
      modulepar boolean PX_SIPsupport := false;
        
    } // End of group ocfContext
      group UE1 {
    
        /** @desc   charstring for IP address used by the TS to exchange media streams for UE1
        */
        modulepar charstring  PX_IMS_SUT_UE1_BEARER_IPADDR := "172.31.10.2";
       
        /** @desc   charstring for identity of the tester UE1 local domain 
        */
        modulepar charstring  PX_IMS_SUT_UE1_HOME_DOMAIN := "sut.net";

        /** @desc   charstring for identity of the tester UE1 local user 
        */
        modulepar charstring  PX_IMS_SUT_UE1_PUBLIC_USER := "2910";

        /** @desc   charstring for RFC 2617 clause 3-2-2 username of UE1:
        * The name of user in the specified realm
        */
        modulepar charstring PX_IMS_SUT_UE1_PRIVAT_USERNAME := "abcd";

        /** @desc   charstring for RFC 2617 clause 3-2-2-2 passwd of UE 1: A known shared secret, the password of user of the specified username
        */
        modulepar charstring PX_IMS_SUT_UE1_PRIVAT_PASSWD := "1234";
         
        /** @desc   charstring for RFC 2617 clause 3-2-1 qop options of UE1:
        * Quoted string of one or more tokens indicating the "quality of protection" values supported by the server; the
        * value "auth" indicates authentication; the value "auth-int" indicates authentication with integrity protection.
        */
        modulepar charstring PX_IMS_SUT_UE1_QOP := "auth";
         
        /** @desc   charstring for home(SUT) REGISTRAR domain of UE1
        */
        modulepar charstring  PX_IMS_SUT_UE1_REGISTRAR := "registrar.sut.net";
      } //end group UE1
      
      group UE2{
        /** @desc   charstring for IP address used by the TS to exchange media streams for UE2
        */
        modulepar charstring  PX_IMS_SUT_UE2_BEARER_IPADDR := "172.31.10.2";
    
        /** @desc   charstring for identity of the tester UE2 local domain
        */
        modulepar charstring  PX_IMS_SUT_UE2_HOME_DOMAIN := "sut.net";

        /** @desc   charstring for identity of the tester UE2 local user
        */
        modulepar charstring  PX_IMS_SUT_UE2_PUBLIC_USER := "2910";

        /** @desc charstring for RFC 2617 clause 3-2-2 username of UE2:
        * The name of user in the specified realm
        */
        modulepar charstring PX_IMS_SUT_UE2_PRIVAT_USERNAME := "abcd";

        /** @desc   charstring for RFC 2617 clause 3-2-2-2 passwd: A known shared secret, the password of user of the specified username of UE2
        */
        modulepar charstring PX_IMS_SUT_UE2_PRIVAT_PASSWD := "1234";
        
        /** @desc   charstring for RFC 2617 clause 3-2-1 qop options UE2:
         * Quoted string of one or more tokens indicating the "quality of protection" values supported by the server, the
         * value "auth" indicates authentication; the value "auth-int" indicates authentication with integrity protection.
         */
        modulepar charstring PX_IMS_SUT_UE2_QOP := "auth";
         
        /** @desc   charstring for home(SUT) REGISTRAR domain of UE2
         */
        modulepar charstring  PX_IMS_SUT_UE2_REGISTRAR := "registrar.sut.net";
      
        /** @desc   charstring for UE2 display name
         */
        modulepar charstring  PX_IMS_SUT_UE2_DISPLAY := "UE2@SUT";
      }//end group UE2
      
      group SimulatedIMSwithUE{
        /** @desc    charstring for SUT - PCSCF4 IP address to exchange SIP messages - connection point for UE4
        */
        modulepar charstring  PX_IMS_SUT_PCSCF4_IPADDR := "172.31.10.2";

        /** @desc   integer for SUT - PCSCF4 port number to exchange SIP messages - connection point for UE4
        */
        modulepar integer     PX_IMS_SUT_PCSCF4_PORT := 5060;

        /** @desc   charstring for SUT/PCSCF4 domain - connection point for UE4
        */
        modulepar charstring  PX_IMS_SUT_PCSCF4_HOME_DOMAIN := "pcscf4.home.net";
    
        /** @desc   charstring for IP address used by the TS to exchange media streams for UE4
        */
        modulepar charstring  PX_IMS_SUT_UE4_BEARER_IPADDR := "172.31.10.2";
    
        /** @desc   charstring for identity of the tester UE2 local domain
        */
        modulepar charstring  PX_IMS_SUT_UE4_HOME_DOMAIN := "sut.net";

        /** @desc   charstring for identity of the tester UE4 local user
        */
        modulepar charstring  PX_IMS_SUT_UE4_PUBLIC_USER := "2910";

        /** @desc charstring for RFC 2617 clause 3-2-2 username of UE4:
        * The name of user in the specified realm
        */
        modulepar charstring PX_IMS_SUT_UE4_PRIVAT_USERNAME := "abcd";

        /** @desc   charstring for RFC 2617 clause 3-2-2-2 passwd: A known shared secret, the password of user of the specified username of UE2
        */
        modulepar charstring PX_IMS_SUT_UE4_PRIVAT_PASSWD := "1234";
         
        /** @desc   charstring for RFC 2617 clause 3-2-1 qop options UE4:
        * Quoted string of one or more tokens indicating the "quality of protection" values supported by the server, the
        * value "auth" indicates authentication; the value "auth-int" indicates authentication with integrity protection.
        */
        modulepar charstring PX_IMS_SUT_UE4_QOP := "auth";
         
        /** @desc   charstring for home(SUT) REGISTRAR domain of UE4
        */
        modulepar charstring  PX_IMS_SUT_UE4_REGISTRAR := "registrar.sut.net";
      }//end group SimulatedIMSwithUE
    } //end group SipParameters
    
} // End of module DiameterRfRo_PIXITS
 No newline at end of file
+181 −34

File changed.

Preview size limit exceeded, changes collapsed.

+5 −1
Original line number Diff line number Diff line
@@ -24,7 +24,11 @@ module DiameterRfRo_SIP_Templates {
 
    


            group Constants {
                const integer c_userProfile_UE1atSUThome := 1;
                const integer c_userProfile_UE2atSUThome := 2;
                const integer c_userProfile_ICSCFwithHomeUE := 3;
            }//end group Constants
            group requestReceive_Modified {

                template (present) ACK_Request mdw_ACK_Request_noPchargingVector(
+186 −393

File changed.

Preview size limit exceeded, changes collapsed.

+99 −9
Original line number Diff line number Diff line
@@ -2001,10 +2001,10 @@ module DiameterRfRo_Templates {
                ),
                envelope_Start_Time         := p_envelope_Start_Time,
                envelope_End_Time           := p_envelope_End_Time,
                cc_Total_Octets             := p_cc_Total_Octets,
                cc_Input_Octets             := p_cc_Input_Octets,
                cc_Output_Octets            := p_cc_Output_Octets,
                cc_Service_Specific_Units   := p_cc_Service_Specific_Units,
                cC_Total_Octets             := p_cc_Total_Octets,
                cC_Input_Octets             := p_cc_Input_Octets,
                cC_Output_Octets            := p_cc_Output_Octets,
                cC_Service_Specific_Units   := p_cc_Service_Specific_Units,
                aVP_Type                    := omit
            } // End of template m_envelope
            
@@ -4119,10 +4119,10 @@ module DiameterRfRo_Templates {
                aVP_Header  := mw_aVP_HeaderVid_Mbit1(c_envelope_AVP_Code, ?, c_vendId3gpp),
                envelope_Start_Time         := p_envelope_Start_Time,
                envelope_End_Time           := p_envelope_End_Time,
                cc_Total_Octets             := p_cc_Total_Octets,
                cc_Input_Octets             := p_cc_Input_Octets,
                cc_Output_Octets            := p_cc_Output_Octets,
                cc_Service_Specific_Units   := p_cc_Service_Specific_Units,
                cC_Total_Octets             := p_cc_Total_Octets,
                cC_Input_Octets             := p_cc_Input_Octets,
                cC_Output_Octets            := p_cc_Output_Octets,
                cC_Service_Specific_Units   := p_cc_Service_Specific_Units,
                aVP_Type                    := *
            } // End of template mw_envelope
            
@@ -5372,6 +5372,30 @@ module DiameterRfRo_Templates {
                service_Information                 := p_service_Information
            } // End of template mdw_ccrBodyAvps
            
            /**
             * @desc Await template for CCR message body
             */
            template CCR_Body_AVP mdw_ccrBodyAvps_MultipleServiceIndicator(
                                                  template (present) Origin_Host_AVP                      p_originHost,
                                                  template (present) Origin_Realm_AVP                     p_originRealm,
                                                  template (present) Destination_Realm_AVP                p_destination_Realm,
                                                  template (present) CC_Request_Type_AVP                  p_cC_Request_Type,
                                                  template (present) CC_Request_Number_AVP                p_cC_Request_Number,
                                                  template (present) Service_Context_Id_AVP               p_service_Context_Id,
                                                  template CCR_Body_AVP.multiple_Services_Credit_Control  p_multiple_Services_Credit_Control := *,
                                                  template Multiple_Services_Indicator_AVP                p_multiple_Services_Indicator := *
            ) modifies mw_CCR_Body_dummy := {
                origin_Host                         := p_originHost,
                origin_Realm                        := p_originRealm,
                destination_Realm                   := p_destination_Realm,
                auth_Application_Id                 := mw_auth_Application_Id(4),
                service_Context_Id                  := p_service_Context_Id,
                cC_Request_Type                     := p_cC_Request_Type,
                cC_Request_Number                   := p_cC_Request_Number,
                multiple_Services_Credit_Control    := p_multiple_Services_Credit_Control,
                multiple_Services_Indicator         := p_multiple_Services_Indicator
            } // End of template mdw_ccrBodyAvps
            
            /**
             * @desc Receive template for RAR
             * @param p_sessionId   Session identifier
@@ -5634,6 +5658,30 @@ module DiameterRfRo_Templates {
                    origin_Realm                        := p_originRealm
                } // End of template mdw_raaBodyAvps
                
                /**
                 * @desc Receive template for ASA
                 * @param p_sessionId   Session identifier
                 * @param p_asaBody     ASA message body
                 */
                template (present) ASA_MSG mdw_aSA(
                                                   template (present) Session_Id_AVP  p_sessionId,
                                                   template (present) ASA_Body_AVP    p_asaBody
                ) modifies mw_ASA_dummy := {
                    header      := mw_diameterHeaderAns_dummy(ASA_E, c_applIdRo),
                    session_Id  := p_sessionId,
                    aSA_Body    := p_asaBody
                } // End of template mdw_aSA
                
                template (present) ASA_Body_AVP mdw_asaBodyAvps(
                                                                template (present) Result_Code_AVP              p_resultCode := ?,
                                                                template (present) Origin_Host_AVP              p_originHost := ?,
                                                                template (present) Origin_Realm_AVP             p_originRealm := ?
                ) modifies mw_ASA_Body_dummy := {
                    result_Code                         := p_resultCode,
                    origin_Host                         := p_originHost,
                    origin_Realm                        := p_originRealm
                } // End of template mdw_asaBodyAvps  
            
        } // End of group Ro_answer_message_templates_receive 
        
    } // End of group Ro_modified_message_templates
@@ -5878,6 +5926,39 @@ module DiameterRfRo_Templates {
                quota_Consumption_Time := p_quota_Consumption_Time
            } // End of template md_multiple_Services_Credit_Control_Time_Quota_Mechanism
            
            template (value) Multiple_Services_Credit_Control_AVP md_multipleServicesCreditControl_GrantedServUnit_TimeQuotaMechanism_QuotaConsumptTime(
                                                                     in template (value) Granted_Service_Unit_AVP    p_granted_Service_Unit,
                                                                     in template (value) Time_Quota_Mechanism_AVP    p_time_Quota_Mechanism,
                                                                     in template (value) Quota_Consumption_Time_AVP  p_quota_Consumption_Time
            ) modifies m_multiple_Services_Credit_Control_AVP_dummy := {
                aVP_Header             := m_aVP_HeaderVid_Mbit1(c_multiple_Services_Credit_Control_AVP_Code,
                                                                f_getByteAlignedLength(p_granted_Service_Unit.aVP_Header.aVP_len) +
                                                                f_getByteAlignedLength(p_time_Quota_Mechanism.aVP_Header.aVP_len) +
                                                                f_getByteAlignedLength(p_quota_Consumption_Time.aVP_Header.aVP_len)
                                                                ),
                granted_Service_Unit   := p_granted_Service_Unit,
                time_Quota_Mechanism   := p_time_Quota_Mechanism,
                quota_Consumption_Time := p_quota_Consumption_Time
            } // End of template md_multipleServicesCreditControl_GrantedServUnit_TimeQuotaMechanism_QuotaConsumptTime
            
            template (value) Multiple_Services_Credit_Control_AVP md_multipleServicesCreditControl_GrantedServUnit_TimeQuotaMechanism_QuotaConsumptTime_EnvelopeReport(
                                                                     in template (value) Granted_Service_Unit_AVP    p_granted_Service_Unit,
                                                                     in template (value) Time_Quota_Mechanism_AVP    p_time_Quota_Mechanism,
                                                                     in template (value) Quota_Consumption_Time_AVP  p_quota_Consumption_Time,
                                                                     in template (value) Envelope_Reporting_AVP      p_envelope_Reporting
            ) modifies m_multiple_Services_Credit_Control_AVP_dummy := {
                aVP_Header             := m_aVP_HeaderVid_Mbit1(c_multiple_Services_Credit_Control_AVP_Code,
                                                                f_getByteAlignedLength(p_granted_Service_Unit.aVP_Header.aVP_len) +
                                                                f_getByteAlignedLength(p_time_Quota_Mechanism.aVP_Header.aVP_len) +
                                                                f_getByteAlignedLength(p_quota_Consumption_Time.aVP_Header.aVP_len) +
                                                                f_getByteAlignedLength(p_envelope_Reporting.aVP_Header.aVP_len)
                                                                ),
                granted_Service_Unit   := p_granted_Service_Unit,
                time_Quota_Mechanism   := p_time_Quota_Mechanism,
                quota_Consumption_Time := p_quota_Consumption_Time,
                envelope_Reporting     := p_envelope_Reporting
            } // End of template md_multipleServicesCreditControl_GrantedServUnit_TimeQuotaMechanism_QuotaConsumptTime_EnvelopeReport
            
            template (value) Granted_Service_Unit_AVP m_granted_Service_Unit_Volume(
                                                                                    in template (value) CC_Total_Octets_AVP   p_cC_Total_Octets
            ) modifies m_granted_Service_Unit_dummy := {
@@ -5887,6 +5968,15 @@ module DiameterRfRo_Templates {
                cC_Total_Octets             := p_cC_Total_Octets
            } // End of template m_granted_Service_Unit_Volume_AVP
            
            template (value) Granted_Service_Unit_AVP md_granted_Service_Unit_cC_Time(
                                                                                      in template (value) CC_Time_AVP p_cC_Time
            ) modifies m_granted_Service_Unit_dummy := {
                aVP_Header         := m_aVP_HeaderVid_Mbit1(c_granted_Service_Unit_AVP_Code,
                                                                     f_getByteAlignedLength(p_cC_Time.aVP_Header.aVP_len)
                                                                     ),
                cC_Time := p_cC_Time
            } // End of template md_granted_Service_Unit_Tariff_Time_Change
            
            template (value) Granted_Service_Unit_AVP md_granted_Service_Unit_Tariff_Time_Change(
                                                                                                 in template (value) Tariff_Time_Change_AVP p_tariff_Time_Change
            ) modifies m_granted_Service_Unit_dummy := {
Loading