Commit 5a44e3ce authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

TPs AMF_CMP_02, 03, 05; 01

parent d37df0b7
Loading
Loading
Loading
Loading
+40 −30
Original line number Diff line number Diff line
@@ -33,9 +33,9 @@ Package TP_AMF {
            
            Test Purpose {
        
            TP Id TP_NGAP_AMF_CMP_01_TODO
            TP Id TP_NGAP_AMF_CMP_01_PROPOSAL
        
            Test objective "Verify that the IUT can send an INITIAL CONTEXT SETUP REQUEST containing mandatory IEs."
            Test objective "Verify the IUT correctly sets the UE Context after Authentication and Security procedure has been executed."
        
            Reference 
                "ETSI TS 138 413 [1], Clauses 8.3.1.2" 
@@ -45,40 +45,50 @@ Package TP_AMF {
            PICS Selection PICS_A2/2 and PICS_A4/2_1
        
            Initial conditions with {
                the UE entity isRegisteredTo the AMF
                //the UE entity isRegisteredTo the AMF
                the UE entity startedRegistrationTo the AMF and
                the AMF entity stertedAuthenticationAndSecurityNegotiationTo the UE
            }
        
            Expected behaviour
                ensure that {
                    when {                        
                        the IUT entity indicate a PDU initial context setup procedure
                        //the IUT entity indicate a PDU initial context setup procedure
                        the IUT entity receives an UplinkNASTransport containing
                            AMF_UE_NGAP_ID set to PX_AMF_UE_NGAP_ID,
	                        RAN_UE_NGAP_ID set to PX_RAN_UE_NGAP_ID,
	                        NAS_PDU indicating value "SECURITY_MODE_COMPLETE",
	                        User_Location_Information containing
                                nr_cgi containing
                                    PLMN_Identity set to PX_PLMN_Identity;,
                                tai containing
                                    PLMN_Identity set to PX_PLMN_Identity,
                                    TAC set to PX_TAC;;;
	                     from the GNB entity
                        ;
                    }
                    then {
                        the IUT entity sends an INITIAL_CONTEXT_SETUP_REQUEST containing      
                            AMF_UE_NGAP_ID,
                            RAN_UE_NGAP_ID,
                            AMF_UE_NGAP_ID set to PX_AMF_UE_NGAP_ID,
                            RAN_UE_NGAP_ID set to PX_RAN_UE_NGAP_ID,
                            GUAMI containing
                                PLMN_Identity,  
                                AMF_Region_ID,
                                AMF_Set_ID,
                                AMF_Pointer;,
                            PDU_Session_Resource_Setup_Request_List containing
                                PDU_Session_Resource_Setup_Request_Item containing
                                    PDU_SessionId indicating value PX_PDU_ID,
                                    S_NSSAI containing
                                            SST;,
                                    PDU_Session_Resource_Setup_Request_Transfer;;,
                                PLMN_Identity set to PX_PLMN_Identity,  
                                AMF_Region_ID set to PX_AMF_Region_ID,
                                AMF_Set_ID set to PX_AMF_Set_ID,
                                AMF_Pointer set to PX_AMF_Pointer_ID;,
                            Allowed_NSSAI containing
                                Allowed_NSSAI_List containing
                                    Allowed_NSSAI_Item containing
                                        S_NSSAI containing
                                            SST;;;;,
                                            SST set to PX_SST_Allowed,
                                            SD set to PX_SD_Allowed;;;;,
                            UE_Security_Capabilities containing
                                NR_Encryption_Algorithms,
                                NR_Integrity_Protection_Algorithms,
                                E_UTRA_Encryption_Algorithms,
                                E_UTRA_Integrity_Protection_Algorithms;,
                            Security_Key;
                            Security_Key,
                            NAS_PDU indicating value "REGISTRATION ACCEPT";
                        to the GNB entity
                    }
                }
@@ -92,7 +102,7 @@ Package TP_AMF {
        
            Test Purpose {
        
            TP Id TP_NGAP_AMF_CMP_02_TODO
            TP Id TP_NGAP_AMF_CMP_02
        
            Test objective "Verify that the IUT can send a UE CONTEXT RELEASE COMMAND that contains both the AMF UE NGAP ID IE and the RAN UE NGAP ID IE."
        
@@ -117,11 +127,11 @@ Package TP_AMF {
                        the IUT entity sends a UE_CONTEXT_RELEASE_COMMAND containing      
                            CHOICE_UE_NGAP_IDs containing
                                UE_NGAP_ID_pair containing                   
                                    AMF_UE_NGAP_ID,
                                    RAN_UE_NGAP_ID
                                    AMF_UE_NGAP_ID set to PX_AMF_UE_NGAP_ID,
                                    RAN_UE_NGAP_ID set to PX_RAN_UE_NGAP_ID
                                ;
                            ;,
                            Cause
                            Cause set to "nas=deregister"
                        ;
                        to the GNB entity
                       }
@@ -130,9 +140,9 @@ Package TP_AMF {
                
            Test Purpose {
        
            TP Id TP_NGAP_AMF_CMP_03_TODO
            TP Id TP_NGAP_AMF_CMP_03
        
            Test objective "Verify that the IUT can send a UE CONTEXT RELEASE COMMAND where both the AMF UE NGAP ID IE and the RAN UE NGAP ID IE are not available."
            Test objective "Verify that the IUT can send a UE CONTEXT RELEASE COMMAND where only AMF_UE_NGAP_ID is present."
        
            Reference 
                "ETSI TS 138 413 [1], Clauses 8.3.3" 
@@ -155,10 +165,10 @@ Package TP_AMF {
                        the IUT entity sends a UE_CONTEXT_RELEASE_COMMAND containing      
                            CHOICE_UE_NGAP_IDs containing
                                AMF_UE_NGAP_ID containing                   
                                    AMF_UE_NGAP_ID
                                    AMF_UE_NGAP_ID set to PX_AMF_UE_NGAP_ID
                                ;
                            ;,
                            Cause
                            Cause set to "nas=deregister"
                        ;
                        to the GNB entity
                    }
@@ -181,7 +191,7 @@ Package TP_AMF {
            
            Test Purpose {
        
            TP Id TP_NGAP_AMF_CMP_05_TODO
            TP Id TP_NGAP_AMF_CMP_05
            
            Test objective "Verify that the IUT can send a CONNECTION ESTABLISHMENT INDICATION that contains mandatory IEs."
            
@@ -199,12 +209,12 @@ Package TP_AMF {
            Expected behaviour
                ensure that {
                    when {                        
                        the IUT entity indicate a PDU UE context modification procedure
                        the IUT entity indicate a Connection establishment indication procedure
                    }
                    then {
                        the IUT entity sends a CONNECTION_ESTABLISHMENT_INDICATION containing      
                            AMF_UE_NGAP_ID,
                            RAN_UE_NGAP_ID;
                            AMF_UE_NGAP_ID set to PX_AMF_UE_NGAP_ID,
                            RAN_UE_NGAP_ID set to PX_RAN_UE_NGAP_ID;
                        to the GNB entity
                    }
                }