Commit da78bd2d authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

TP_GNB V2.1.1

parent 3d398cc3
Loading
Loading
Loading
Loading
+424 −0
Original line number Original line Diff line number Diff line
/*
Copyright (c) ETSI 2023.

This software is subject to copyrights owned by ETSI. Non-exclusive permission
is hereby granted, free of charge, to copy, reproduce and amend this file
under the following conditions: It is provided "as is", without warranty of any
kind, expressed or implied.

ETSI shall never be liable for any claim, damages, or other liability arising
from its use or inability of use.This permission does not apply to any documentation
associated with this file for which ETSI keeps all rights reserved. The present
copyright notice shall be included in all copies of whole or part of this
file and shall not imply any sub-license right.
*/

/* interface at GNB */
Package TP_GNB {

    Group "8.2 PDU Session Management Procedures"
    {
        import all from Ngap_Common;
        
    } // end Group 8.2 PDU Session Management Procedures

    Group "8.3 UE Context Management Procedures"
    {
        import all from Ngap_Common;

        Group "Initial Context Setup"
        {
            import all from Ngap_Common;
         } // end Group Initial Context Setup

        Group "UE Context Release (NG-RAN node initiated)"
        {

            import all from Ngap_Common;

            Test Purpose {

            TP Id TP_NGAP_GNB_CMP_07

            Test objective "Verify that the NG-RAN node successfully requests the AMF to release the UE-associated logical NG-connection due to user inactivity."
            //from CM_CONNECTED to CM_IDLE state
            Reference 
                "ETSI TS 138 413 [1], Clauses 8.3.2.2 and 9.2.2.4" 
            
            Config Id CF_GNB_N2
            
            PICS Selection PICS_A2/1 and PICS_A3/2_2

            Initial conditions with {
                the UE entity isRegisteredTo the AMF and
                the UE entity hasEstablishedInitialContext
            }

            Expected behaviour
                ensure that {
                    when {
                        the IUT entity indicate a UE context release request
                    }
                    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 PX_RAN_UE_NGAP_ID,
                            PDU_Session_Resource_List containing
	                            PDU_Session_Resource_Item containing
	                                PDU_SessionId indicating value PX_PDU_SessionId;;,
                            Cause set to "RadioNetwork=user-inactivity";
                        to the AMF entity
                    }

                }

               }  // End TP TP_NGAP_GNB_CMP_07

        } // End Group "UE Context Release (NG-RAN node initiated)"

        Group "UE Context Release (AMF initiated)"
        {
            import all from Ngap_Common;

        } // End Group "UE Context Release (AMF initiated)"

        Group "UE Context Modification"
        {
            import all from Ngap_Common;

        } // end Group UE Context Modification

        Group "RRC Inactive Transition Report"
        {
            import all from Ngap_Common;

        } // End Group "RRC Inactive Transition Report"

        Group "RAN CP Relocation Indication"
        {

            import all from Ngap_Common;

        } // End Group "RAN CP Relocation Indication"

        Group "UE Context Suspend"
        {
            import all from Ngap_Common;

        }// end Group UE Context Suspend

        Group "UE Context Resume"
        {
            import all from Ngap_Common;

        } // End Group "UE Context Resume"

    } // end Group 8.3 UE Context Management Procedures

    Group "8.4 UE Mobility Management Procedures"
    {

        Group "Handover Preparation"
        {
            import all from Ngap_Common;

        } // End Group "Handover Preparation"

        Group "Handover Resource Allocation"
        {
            import all from Ngap_Common;

        } // End Group "Handover Resource Allocation"

        Group "Handover Notification"
        {
            import all from Ngap_Common;

        } // End Group "Handover Notification"

        Group "Path Switch Request"
        {
            import all from Ngap_Common;

        } // End Group "Path Switch Request"

        Group "Handover Cancellation"
        {
            import all from Ngap_Common;
        } // End Group "Handover Cancellation"

        Group "Uplink RAN Status Transfer"
        {
            import all from Ngap_Common;
        } // End Group "Uplink RAN Status Transfer"


        Group "Uplink RAN Early Status Transfer"
        {
            import all from Ngap_Common;

        } // End Group "Uplink RAN Early Status Transfer"

    } // End Group "8.4 UE Mobility Management Procedures"

    Group "8.6 Transport of NAS Messages Procedures"
    {
        Group "Initial UE Message"
        {
            import all from Ngap_Common;
        } // end "Initial UE Message"

        Group "Uplink NAS Transport"
        {
            import all from Ngap_Common;

        } // end "Uplink NAS Transport"

        Group "NAS Non Delivery Indication"
        {
            import all from Ngap_Common;

        } // end "NAS Non Delivery Indication"

    } // end Group "8.6 Transport of NAS Messages Procedures"

    Group "8.7 Interface Management Procedures"
    {
        Group "NG Setup"
        {
            import all from Ngap_Common;

            Test Purpose {

            TP Id TP_NGAP_GNB_IMP_01
            
            Test objective "Verify the GNB node after TNL establishment sends an NG SETUP REQUEST message to the AMF."
            
            Reference 
                "ETSI TS 138 413 [1], Clauses 8.7.1.2 and 9.2.6.1" 
            
            Config Id CF_GNB_N2
            
            PICS Selection PICS_A2/1 and PICS_A3/6_1

            Expected behaviour
                ensure that {
                    when {
                        the IUT entity indicate the initiation "of an NG SETUP REQUEST"
                    }
                    then {
                        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,
                                        gNB_ID set to PX_gNB_ID;;, 
                            Supported_TA_List containing
                                Supported_TA_Item containing
                                    TAC set to PX_TAC, 
                                    Broadcast_PLMN_List containing
                                        Broadcast_PLMN_Item containing
                                            PLMN_Identity set to PX_PLMN_Identity,
                                            TAI_Slice_Support_List containing
                                                S_NSSAI containing
                                                    SST set to PX_SST,
                                                    SD set to PX_SD;;;;;
                            ;;
                         to the AMF entity
                    }
                }
            } // end TP TP_NGAP_GNB_IMP_01
        } // End Group "NG Setup"

        Group "RAN Configuration Update"
        {
            import all from Ngap_Common;
        } // End Group RAN Configuration Update

        Group "AMF Configuration Update"
        {
            import all from Ngap_Common;

        } //End Group AMF Configuration Update

        Group "NG Reset"
        {
            import all from Ngap_Common;

            Test Purpose {

            TP Id TP_NGAP_GNB_IMP_05
            
            Test objective "Verify that the GNB node successfully processes a full NG RESET message and answers with NG RESET ACKNOWLEDGE to acknowledge the reset."
            
            Reference 
                "ETSI TS 138 413 [1], Clauses 8.7.4.2.1, 9.2.6.11 and 9.2.6.12" 
            
            Config Id CF_GNB_N2
            
            PICS Selection PICS_A2/1 and PICS_A3/6_4

            Initial conditions with {
                the GNB entity hasEstablished_NG_C_AssociationTo the AMF
            }

            Expected behaviour
                ensure that {
                    when {
                        the IUT entity receives an NG_RESET containing
                            Cause set to PX_CAUSE,
                            CHOICE_Reset_Type containing
                                NG_interface containing
                                    Reset_All set to "Reset all";;;
                    from the AMF entity
                    }
                    then {
                        the IUT entity sends an NG_RESET_ACKNOWLEDGE 
                        to the AMF entity
                    }
                }
            } // end TP TP_NGAP_GNB_IMP_05

            Test Purpose {

            TP Id TP_NGAP_GNB_IMP_05_2
            
            Test objective "Verify that the GNB node successfully processes a partial NG RESET message and answers with NG RESET ACKNOWLEDGE to acknowledge the partial reset."
            
            Reference 
                "ETSI TS 138 413 [1], Clauses 8.7.4.2.1, 9.2.6.11 and 9.2.6.12" 
            
            Config Id CF_GNB_N2
            
            PICS Selection PICS_A2/1 and PICS_A3/6_4

            Initial conditions with {
                the UE entity isRegisteredTo the AMF and
                the UE entity isRequestedToDetachfromNetwork
            }

            Expected behaviour
                ensure that {
                    when {
                        the IUT entity receives an NG_RESET containing
                            Cause set to PX_CAUSE,
                            CHOICE_Reset_Type containing
                                Part_of_NG_interface containing
                                    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 PX_RAN_UE_NGAP_ID;;;;;
                    from the AMF entity
                    }
                    then {
                        the IUT entity sends an NG_RESET_ACKNOWLEDGE 
                        to the AMF entity
                    }
                }
            } // end TP TP_NGAP_GNB_IMP_05_2

        } // End Group NG Reset

        Group "Error Indication"
        {
            import all from Ngap_Common;
        } // End Group Error Indication
    } // End Group "8.7 Interface Management Procedures"

    Group "8.8 Configuration Transfer Procedure"
    {
        Group "Uplink RAN Configuration Transfer"
        {
            import all from Ngap_Common;
        } // end "Uplink RAN Configuration Transfer"
    } // end Group "8.8 Configuration Transfer Procedure"

    Group "8.9 Warning Message Transmission Procedures"
    {
        import all from Ngap_Common;
    } // end "8.9 Warning Message Transmission Procedures"

    Group "8.10 NRPPa Transport Procedures"
    {
        import all from Ngap_Common;

    } // end "8.10 NRPPa Transport Procedures"

    Group "8.11 Trace Procedures"
    {
        import all from Ngap_Common;

    } // end "8.11 Trace Procedures"

    Group "8.12 Location Reporting Procedures"
    {
        Group "Location Reporting Failure Indication"
        {
            import all from Ngap_Common;

        } // end "Location Reporting Failure Indication"

        Group "Location Report"
        {
            import all from Ngap_Common;

        } // end "Location Report"

    } // end "8.12 Location Reporting Procedures"

    Group "8.13 UE TNLA Binding Procedures"
    {

    } // end Group "8.13 UE TNLA Binding Procedures"

    Group "8.14 UE Radio Capability Management Procedures"
    {
        import all from Ngap_Common;

        Test Purpose {

        TP Id TP_NGAP_GNB_URP_01

        Test objective "Verify that the IUT can send a UE_RADIO_CAPABILITY_INFO_INDICATION."

        Reference
            "ETSI TS 138 413 [1], Clauses 8.14.1.2 and 9.2.13.1"
        
        Config Id CF_GNB_N2
        
        PICS Selection PICS_A2/1 and PICS_A3/13_1

        Initial conditions with {
            the UE entity isRegisteredTo the AMF
        }

        Expected behaviour
            ensure that {
                when {

                    the IUT entity indicate a UE Radio Capability Management procedure
                }
                then {
                    the IUT entity sends a UE_RADIO_CAPABILITY_INFO_INDICATION containing
                        AMF_UE_NGAP_ID set to PX_AMF_UE_NGAP_ID,
                        RAN_UE_NGAP_ID set to PX_RAN_UE_NGAP_ID,
                        UE_Radio_Capability indicating value RV_UE_Radio_Capability;
                    to the AMF entity
                   }
               }
        } // end TP_NGAP_GNB_URP_01

    } // end Group "8.14 UE Radio Capability Management Procedures"

    Group "8.15 Data Usage Reporting Procedures"
    {
        import all from Ngap_Common;

    } // end Group "8.15 Data Usage Reporting Procedures"

    Group "8.16 RIM Information Transfer Procedures"
    {
        import all from Ngap_Common;

    } // end Group "8.16 RIM Information Transfer Procedures"

} // End of Package TP_GNB