Commit 18218c11 authored by garciay's avatar garciay
Browse files

Add PIXITs

Separate TC functions for MME/HSS IUT role
parent 45a35945
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ module DiameterS6a_HSS_TCFunctions {
        // 5.2.1.1 Update Location
        group updateLocation {
            
            function f_TC_MME_UL_01() runs on DiameterComponent {
            function f_TC_xx_01() runs on DiameterComponent {
    
            } // End of TC function f_TC_MME_UL_01
    
+28 −0
Original line number Diff line number Diff line
/**
 *  @author     STF 466
 *  @version    $Id$
 *  @desc       This module provides S6a test functions used by the DiameterS6a test cases with MME acting as SUT.
 */

module DiameterS6a_MME_TCFunctions {
    
    // LibDiameter 
    import from LibDiameter_Interface {
        type DiameterComponent 
    };
    
    // 5.2.1 MME Role
    group mmeRole {
        
        // 5.2.1.1 Update Location
        group updateLocation {
            
            function f_TC_MME_UL_01() runs on DiameterComponent {
    
            } // End of TC function f_TC_MME_UL_01
    
        } // End of group updateLocation
        
    } // End of group group mmeRole
    
} // End of module DiameterS6a_MME_TCFunctions 
 No newline at end of file
+40 −0
Original line number Diff line number Diff line
/**
 *  @author     STF 466
 *  @version    $Id$
 *  @desc       This module provides the PICS used for the DiameterS6a tests.
*/

module DiameterS6a_PICS {
	
       /**
         * @desc Does MME act as the IUT? 
         * @see  ETSI DTS/INT-094-1 V0.0.3 (2013-11) A.2/1 
         */
        modulepar boolean PICS_MME_IUT := false;
        
       /**
         * @desc Does MME/SGSN act as the IUT? 
         * @see  ETSI DTS/INT-094-1 V0.0.3 (2013-11) A.2/1.1 
         */
        modulepar boolean PICS_COMBINED_MME_SGSN_IUT := false;
        
        
       /**
         * @desc Support of interworking with Gn/Gp-SGSNs? 
         * @see  ETSI DTS/INT-094-1 V0.0.3 (2013-11) A.2/1.2 
         */
        modulepar boolean PICS_INTERNW_GN_GP_SGSN_IUT := false;
        
       /**
         * @desc Does HSS act as the IUT? 
         * @see  ETSI DTS/INT-094-1 V0.0.3 (2013-11) A.2/2 
         */
        modulepar boolean PICS_HSS_IUT := false;
        
       /**
         * @desc Does the IUT support location management procedures? 
         * @see  ETSI DTS/INT-094-1 V0.0.3 (2013-11) A.3/2 
         */
        modulepar boolean PICS_IUT_HLR := true; // Mandatory
    
} // End of module DiameterS6a_PICS 
 No newline at end of file
+99 −14
Original line number Diff line number Diff line
/**
 *  @author     STF 466
 *  @version    $Id: DiameterS6a_PIXITS.ttcn  $
 *	@desc		This module provides the PIXIT used for the SIP-IMS-DIAMETER tests.
 *  @version    $Id$
 *  @desc       This module provides the PIXITs used for the DiameterS6a tests.
 */

module DiameterS6a_PIXITS
{
module DiameterS6a_PIXITS {

    import from LibCommon_BasicTypesAndValues all;
    import from LibCommon_DataStrings all;
    import from LibDiameter_TypesAndValues all;
    // LibCommon
    import from LibCommon_DataStrings {
        type Oct3
    };
    import from LibCommon_BasicTypesAndValues {
        type UInt32
    };
    
// SUT specific implementation variants
    // LibDiameter
    import from LibDiameter_TypesAndValues {
        type RAT_Type
    };
    
    /**
     * @desc IP addresses and port numbers
     */
    group ipSettings {
        
        /**
         * @desc IP address of the test system
         * @see  ETSI DTS/INT-094-1 V0.0.3 (2013-11) A.7/1 
         */
        modulepar charstring PX_DIAMETER_S6a_ETS_IPADDR := "192.168.42.1";
        
        /**
         * @desc IP address of the system under test
         * @see  ETSI DTS/INT-094-1 V0.0.3 (2013-11) A.7/2 
         */
        modulepar charstring PX_DIAMETER_S6a_SUT_IPADDR := "192.168.42.2";
        
        /**
         * @desc Port number of the test system
         * @see  ETSI DTS/INT-094-1 V0.0.3 (2013-11) A.7/3 
         */
        modulepar integer PX_DIAMETER_S6a_ETS_PORT := 1300;
        
        /**
         * @desc Port number of the system under test
         * @see  ETSI DTS/INT-094-1 V0.0.3 (2013-11) A.7/4 
         */
        modulepar integer PX_DIAMETER_S6a_SUT_PORT := 1301;
        
    } // End of group ipSettings
    
    /**
     * @desc Field values
     */
    group fieldValues {
        
        /**
         * @desc The Session-Id identifying a specific session
         * @see  ETSI DTS/INT-094-1 V0.0.3 (2013-11) A.7/5 
         */
        modulepar charstring PX_SessionID := "sessionId";
        
        /**
         * @desc The Origin-Host identifying the endpoint that originates the Diameter messages
         * @see  ETSI DTS/INT-094-1 V0.0.3 (2013-11) A.7/6 
         */
        modulepar charstring PX_OriginHost := "orgHost";
        
        /**
         * @desc The Origin-Realm identifying the Realm of the originator of any Diameter messages
         * @see  ETSI DTS/INT-094-1 V0.0.3 (2013-11) A.7/7 
         */
        modulepar charstring PX_OriginRealm := "realm";
        
        /**
         * @desc The Destination-Host identifying the endpoint to which the Diameter messages are destined
         * @see  ETSI DTS/INT-094-1 V0.0.3 (2013-11) A.7/8 
         */
        modulepar charstring PX_DestinationHost := "destHost";
        
        /**
         * @desc The Destination-Realm identifying the Realm of the destination of any Diameter messages
         * @see  ETSI DTS/INT-094-1 V0.0.3 (2013-11) A.7/9 
         */
        modulepar charstring PX_DestinationRealm := "destRealm";
    
    } // End of group group fieldValues
    
    
    /**
     * @desc SUT specific implementation variants
     */ 
    group DiameterCommonS6aData{

        /**
         *  @desc Radio access technology for the IP-RAT-Type AVP in CCR messages 
         *        Available values: WLAN, VIRTUAL, UTRAN, GERAN, GAN, HSPA_EVOLUTION, EUTRAN, CDMA2000, HRPD, UMB, EHRPD
         *  @see  ETSI DTS/INT-094-1 V0.0.3 (2013-11) TODO
         */
        modulepar RAT_Type PX_RAT_TYPE := GERAN_E;

        modulepar UInt32 PX_ULR_FLAGS := 0;

        modulepar Oct3 PX_VISITED_PLMN_ID := '000000'O;
    } //end group DiameterCommonS6aData
} // end module DiameterS6a_PIXITS
 No newline at end of file
    
} // End of module DiameterS6a_PIXITS
+3 −5
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
 *  @desc       This module provides S6a test functions used by the test cases
 *              for IMS-DIAMETER tests.
 */
/***
module DiameterS6a_TCFunctions {
    // LibCommon
    import from LibCommon_Sync {function f_selfOrClientSyncAndVerdict;
@@ -30,10 +31,6 @@ module DiameterS6a_TCFunctions {
    group TP_MMERole{ // §5.2.1
        group TP_MMERole_UL {//Update Location

            /*
            *  @desc    This is the test case function TC_MME_UL_01
            *  @param
            */
            function TC_MME_UL_01()
            runs on DiameterComponent {

@@ -57,3 +54,4 @@ module DiameterS6a_TCFunctions {
    } // group TP_HSSRole    
    
}
***/
 No newline at end of file
Loading