Commit 01121e64 authored by Yann Garcia's avatar Yann Garcia
Browse files

Merging GNB TPs into nas origin/TTF_T059 branch

parent 6a5720aa
Loading
Loading
Loading
Loading
+5 −0
Changes for test_purposes/NGAP_Common.tdltx: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ Package NGAP_Common {
	Event hasSentPDU_SESSION_RESOURCE_SETUP_REQUEST 					//The AMF has transmitted a PDU_SESSION_RESOURCE_SETUP_REQUEST message to the NG-RAN node for the concerned UE and is awaiting the corresponding PDU_SESSION_RESOURCE_SETUP_RESPONSE.
	Event initiatesPduSessionResourceModificationToAddQoSFlow 			//AMF initiates PDU_SESSION_RESOURCE_MODIFY_REQUEST to add the QoS flow for already established PDU session.
	Event isInCM_CONNECTED 												//UE is in CM_CONNECTED state
	Event hasSentServiceRequest 					                    //The UE, registered and in CM_IDLE (its UE context released), has sent a SERVICE REQUEST in an INITIAL UE MESSAGE.
	Event isNotRegisteredToAMF 											//The UE has no active 5G registration with the AMF.
	Event isRegisteredToAMF 											//The UE has completed the 5G Registration procedure and received a Registration Accept from the AMF.
	Event processTheUENasDeregistration 								//UE performs the NAS Deregistration signalling to release its registration and associated contexts from the AMF.
@@ -60,6 +61,7 @@ Package NGAP_Common {
	Event havingSentPDUSessionEstablishment 		//The UE has sent a PDU Session Establishment Request and is awaiting the network response.		
	Event isRegisteredToAMF 						//The UE has completed the 5G Registration procedure and received a Registration Accept from the AMF.		
	Event u_Plane_inactivity_timer_expires 			//The user-plane inactivity timer expires when no uplink or downlink user-plane traffic is detected for a configured duration.	
	Event radio_connection_with_UE_is_lost 			//The radio connection between the NG-RAN node and the UE is lost (e.g. radio link failure), without any signalling from the UE.

	// NGAP messages
	//Table 8.1-1     
@@ -291,6 +293,9 @@ Package NGAP_Common {
	PIXIT NgapMessage PX_SD
	PIXIT NgapMessage PX_QFI
	PIXIT NgapMessage PX_5QI
	PIXIT NgapMessage PX_UE_ACCESS_STRATUM_RELEASE
	PIXIT NgapMessage PX_GNB_PLMN_Identity
	PIXIT NgapMessage PX_NG_RESET_CAUSE
	PIXIT NgapMessage PX_Cause
	PIXIT NgapMessage PX_2nd_5QI
	PIXIT NgapMessage PX_N3_GNB_IP_ADDRESS
+68 −16
Changes for test_purposes/TP_GNB_NGAP.tdltx: 68 added lines, 16 removed lines.
Original line number Diff line number Diff line
@@ -44,10 +44,11 @@ Package TP_GNB_NGAP {
                        RAN_UE_NGAP_ID set to RV_RAN_UE_NGAP_ID,
                        PDU_Session_Resource_Setup_Request_List containing {
                            PDU_Session_Resource_Setup_Request_Item containing {
                                PDU_SessionId set to PX_PDU_SessionId,
                                PDU_SessionId set to RV_PDU_SessionId,
                                PDU_Session_NAS_PDU containing {
                                    uL_NAS_TRANSPORT_message_identity set to UL_NAS_TRANSPORT,
                                    dL_NAS_TRANSPORT_message_identity set to DL_NAS_TRANSPORT,
                                    payload_container containing {
                                        PDU_session_identity set to RV_PDU_SessionId,
                                        Message_type set to PDU_SESSION_ESTABLISHMENT_ACCEPT}},
                                S_NSSAI containing {
                                    SST set to PX_SST,
@@ -72,7 +73,7 @@ Package TP_GNB_NGAP {
                        RAN_UE_NGAP_ID set to RV_RAN_UE_NGAP_ID,
                        PDU_Session_Resource_Setup_Response_List containing {
                          PDU_Session_Resource_Setup_Response_Item containing {
                            PDU_SessionId set to PX_PDU_SessionId,
                            PDU_SessionId set to RV_PDU_SessionId,
                            PDU_Session_Resource_Setup_Response_Transfer containing {
                              DL_QoS_Flow_per_TNL_Information containing {
                                UP_Transport_Layer_Information containing {
@@ -130,7 +131,7 @@ Package TP_GNB_NGAP {
                            RAN_UE_NGAP_ID set to RV_RAN_UE_NGAP_ID,
                            PDU_Session_Resource_List containing {
	                            PDU_Session_Resource_Item containing {
	                                PDU_SessionId set to PX_PDU_SessionId}},
	                                PDU_SessionId set to RV_PDU_SessionId}},
                            Cause set to "RadioNetwork.user-inactivity"}
                        to the AMF entity
                    }
@@ -142,7 +143,7 @@ Package TP_GNB_NGAP {
            Test Purpose TP_NGAP_GNB_CMP_07_2 {

            Objective: "Verify that the GNB successfully requests the AMF to release the UE-associated logical NG-connection after rejected registration procedure."
            //from CM_CONNECTED to CM_IDLE state

            Reference: "ETSI TS 138 413 [1], Clauses 8.3.2.2 and 9.2.2.4
                 ETSI TS 123 502 [3], Clause  4.2.6" 
            
@@ -152,15 +153,53 @@ Package TP_GNB_NGAP {

            Initial conditions
            with {
                the GNB entity hasEstablished_NG_C_AssociationToAMF
                the GNB entity hasEstablished_NG_C_AssociationToAMF and
                the UE entity isNotRegisteredToAMF
            }

            Expected behaviour
                ensure that {
                    when {
                        the AMF entity sends a DOWNLINK_NAS_TRANSPORT containing {
                        the IUT entity receives a DOWNLINK_NAS_TRANSPORT containing {
                            AMF_UE_NGAP_ID set to PX_AMF_UE_NGAP_ID,
                            RAN_UE_NGAP_ID set to RV_RAN_UE_NGAP_ID,
                            NAS_PDU containing {
                                Message_identity set to REGISTRATION_REJECT}}
                        from the AMF entity
                    }
                    then {
                        the IUT entity sends a UE_CONTEXT_RELEASE_REQUEST containing {
                            AMF_UE_NGAP_ID set to PX_AMF_UE_NGAP_ID,
                            RAN_UE_NGAP_ID set to RV_RAN_UE_NGAP_ID,
                            not PDU_Session_Resource_List,
                            Cause set to "RadioNetwork"}
                        to the AMF entity
                    }

                }

            }  // End TP TP_NGAP_GNB_CMP_07_2

            Test Purpose TP_NGAP_GNB_CMP_07_2_1 {
 
            Objective: "Verify that the GNB successfully requests the AMF to release the UE-associated logical NG-connection when the radio connection with the UE is lost."
            Reference: "ETSI TS 138 413 [1], Clauses 8.3.2.2, 9.2.2.4 and 9.3.1.2
                        ETSI TS 123 502 [3], Clause 4.2.6"
 
            Configuration: CF_GNB_N2
 
            PICS: PICS_NGAP_A2_1 and PICS_NGAP_A3_2_2
 
            Initial conditions
            with {
                the UE entity isRegisteredToAMF and
                the UE entity hasEstablishedPDUsession
            }
 
            Expected behaviour
                ensure that {
                    when {
                        the IUT entity radio_connection_with_UE_is_lost
                    }
                    then {
                        the IUT entity sends a UE_CONTEXT_RELEASE_REQUEST containing {
@@ -169,13 +208,13 @@ Package TP_GNB_NGAP {
                            PDU_Session_Resource_List containing {
                                PDU_Session_Resource_Item containing {
                                    PDU_SessionId set to PX_PDU_SessionId}},
                            Cause set to "RadioNetwork.unspecified"}
                            Cause set to "RadioNetwork.radio-connection-with-ue-lost"}
                        to the AMF entity
                    }
 
                }
 
               }  // End TP TP_NGAP_GNB_CMP_07_2
            }  // End TP TP_NGAP_GNB_CMP_07_2_1

        } //end Package UE_Context_Release_NG_RAN_node_initiated

@@ -307,7 +346,7 @@ Package TP_GNB_NGAP {
                        the IUT entity sends an NG_SETUP_REQUEST containing {      
                            Global_RAN_Node_ID containing {
                                    Global_gNB_ID containing {
                                        PLMN_Identity set to PX_PLMN_Identity,
                                        PLMN_Identity set to PX_GNB_PLMN_Identity,
                                        gNB_ID set to PX_gNB_ID}}, 
                            Supported_TA_List containing {
                                Supported_TA_Item containing {
@@ -361,7 +400,7 @@ Package TP_GNB_NGAP {
                ensure that {
                    when {
                        the IUT entity receives an NG_RESET containing {
                            Cause set to PX_CAUSE,
                            Cause set to PX_NG_RESET_CAUSE,
                            CHOICE_Reset_Type containing {
                                NG_interface containing {
                                    Reset_All set to "Reset all"}}}
@@ -394,7 +433,7 @@ Package TP_GNB_NGAP {
                ensure that {
                    when {
                        the IUT entity receives an NG_RESET containing {
                            Cause set to PX_CAUSE,
                            Cause set to PX_NG_RESET_CAUSE,
                            CHOICE_Reset_Type containing {
                                Part_of_NG_interface containing {
                                    UE_associated_Logical_NGconnection_List containing {
@@ -404,8 +443,14 @@ Package TP_GNB_NGAP {
                    from the AMF entity
                    }
                    then {
                        // TS 38.413 clause 8.7.4.2.1: for a partial reset, one item per UE association of the NG_RESET, in
                        // the same order, with the AMF and RAN UE NGAP IDs it carried; the optional Criticality_Diagnostics
                        // may be present
                        the IUT entity sends an NG_RESET_ACKNOWLEDGE containing {
                            not UE_associated_Logical_NGconnection_List}
                            UE_associated_Logical_NGconnection_List containing {
                                UE_associated_Logical_NGconnection_Item containing {
                                    AMF_UE_NGAP_ID set to PX_AMF_UE_NGAP_ID,
                                    RAN_UE_NGAP_ID set to RV_RAN_UE_NGAP_ID}}}
                        to the AMF entity
                    }
                }
@@ -478,15 +523,21 @@ Package TP_GNB_NGAP {

        Initial conditions
        with {
            the UE entity isRegisteredToAMF
            the UE entity isRegisteredToAMF and
            the UE entity hasSentServiceRequest
        }

        Expected behaviour
            ensure that {
                when {

                    // The INITIAL CONTEXT SETUP of the service request: the UE Radio Capability is not provided, so the IUT
                    // retrieves it from the UE (an INITIAL CONTEXT SETUP of the registration would contradict the initial
                    // condition isRegisteredToAMF)
                    the IUT entity receives a INITIAL_CONTEXT_SETUP_REQUEST containing {
                        NAS_PDU containing {
                            Message_type set to SERVICE_ACCEPT},
                        not UE_Radio_Capability}
                    from the AMF entity
                }
                then {
                    the IUT entity sends a UE_RADIO_CAPABILITY_INFO_INDICATION containing {
@@ -501,7 +552,8 @@ Package TP_GNB_NGAP {
                                                UE_CapabilityRAT_Container containing {
                                                  rat_Type set to "nr",
                                                  UE_NR_Capability containing {
                                                      accessStratumRelease set to "rel16"}}}}}}}}}
                                                      // A property of the UE, not of the IUT
                                                      accessStratumRelease set to PX_UE_ACCESS_STRATUM_RELEASE}}}}}}}}}
                    to the AMF entity
                   }
               }