Commit 8eda34e8 authored by Finn Kristoffersen's avatar Finn Kristoffersen
Browse files

Common definitions for SIP related TPs

parent 24cb732a
Loading
Loading
Loading
Loading
+113 −0
Original line number Diff line number Diff line
/* ETSI Software License
* As long as the hereunder conditions are respected, non-exclusive permission is hereby granted,
* free of charge, to use, reproduce and modify this software source code, under the following conditions:
* This source code is provided AS IS with no warranties, express or implied, including but not limited to,
* the warranties of merchantability, fitness for a particular purpose and warranties for non-infringement
* of intellectual property rights.
* ETSI shall not be held liable in any event for any direct or indirect damages whatsoever (including, without
* limitation, damages for loss of profits, business interruption, loss of information, or any other pecuniary
* loss) arising out of or related to the use of or inability to use the source code.
* This permission is granted to facilitate the implementation of the related ETSI standard, provided that
* ETSI is given the right to use, reproduce and amend the modified source code under the same conditions
* as the present permission.
* This permission does not apply to any documentation associated with this source code for which ETSI keeps
* all rights reserved.
* The present ETSI Source Code license shall be included in all copies of whole or part of this source code
* and shall not imply any sub-license right.
* (c) ETSI 2019 
*/
 
 
Package Sip_Common {
    Domain {
        pics:
            - PICS_1
            - PICS_2
            - NOT_PICS_2
        ;
        entities:
            - UE_A
            - NW_UE_B
            - IMS_A
            - IMS_PCRF_A
            - IMS_xxx_A
            - EPC_A
        ;
        events:
            - receives
            - sends
            - forwards
            // Initial conditions
            - isRegisteredTo
            - isNotAttachedTo
            - isAttachedTo
        ;
    } // End of Domain section

//    Const {
//        PX_Stored_Domain_Uri,
//        PX_Affected_IMPU,
//        PX_Contact
//        ;
//    } // End of Const section

    Data {
        type SipMessage;
        
    } // End of Data section
           


    

    Configuration {
        Interface Type defaultGT accepts SipMessage;
        Component Type SipComponent with gate g of type defaultGT;
        
            Test Configuration CFG_IC_01
                containing 
                    Tester component UE_A of type SipComponent
                    Tester component NW_UE_B of type SipComponent
                    
                    SUT component IMS_A of type SipComponent
                    connection between UE_A.g and IMS_A.g
                    connection between IMS_A.g and NW_UE_B.g 
            ;
            
            
            Test Configuration CFG_xxx_01 
                containing 
                    Tester component UE_A of type SipComponent
                    Tester component IMS_PCRF_A of type SipComponent
                    
                    SUT component IUT of type SipComponent
                    connection between UE_A.g and IMS_PCRF_A.g
                    connection between IMS_PCRF_A.g and IMS_xxx_A.g
            ;
            
            Test Configuration CFG_xxx_02 
                containing 
                    Tester component UE_A of type SipComponent
                    Tester component IMS_PCRF_A of type SipComponent
                    
                    SUT component IUT of type SipComponent
                    connection between UE_A.g and IMS_PCRF_A.g
                    connection between IMS_PCRF_A.g and IMS_xxx_A.g
            ;
      } // End of Configuration section
    
    Type MSG (optional TCP of type CONTENT);
    
    Type CONTENT ;
    CONTENT tcp;    
    
    MSG MESSAGE ;    
    
    Type MSG_SIZE ;
    
    Message_Body_Size MSG_SIZE ;
    
    
    
} // End of Package Sip_Common