Commit 65335d82 authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

TP_5GNAS_AMF_REG_ACC_06 added

parent 76f9cd31
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -15,6 +15,8 @@ Package NGNAS_Common {
	Event indicateUEdeactivation  		//The UE is administratively deactivated in the 5GC.
	Event indicateUEderegistration		//The UE is administratively de-registered in the 5GC.

	Event hasSubscribedSNSSAIAllowedByAMF       // The UE has a subscribed S-NSSAI configured for the test which is allowed by the AMF in the current registration area.
	
        
	// This template may be used as default AUTHENTICATION REQUEST message within a DOWNLINK NAS TRANSPORT message. */
	Template AUTHENTICATION_REQUEST {
+64 −0
Original line number Diff line number Diff line
@@ -934,6 +934,70 @@ Package TP_AMF_NGNAS {
            }
        }// end TP_5GNAS_AMF_REG_ACC_05
        
        Test Purpose TP_5GNAS_AMF_REG_ACC_06 {
        
        Objective: "Verify that, during the initial registration procedure, when the REGISTRATION_REQUEST message contains a Requested NSSAI IE with one S-NSSAI that is allowed by the IUT, then the IUT sends a REGISTRATION_ACCEPT message containing an Allowed NSSAI IE with the requested S-NSSAI."
        
        Reference: "ETSI TS 124 501 [1], Clauses 5.5.1.2.4 and 8.2.7"
        
        Configuration: CF_AMF_N2N1
        
        PICS: PICS_A4_8_1
        
        Initial conditions
        with {
            the UE entity isNotRegisteredToAMF and 
            the UE entity hasSubscribedSNSSAIAllowedByAMF
        }
        
        Expected behaviour
            ensure that {
                when {
                    the IUT entity receives an INITIAL_UE_MESSAGE containing {
                        NAS_PDU containing {
                            extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGES,
                            security_header_type set to NOT_SECURITY_PROTECTED,
                            message_type set to REGISTRATION_REQUEST,
                            5GS_registration_type containing {
                                5GS_registration_type_value set to INITIAL_REGISTRATION},
                            5GS_mobile_identity containing {
                                SUPI_format set to IMSI,
                                Type_of_identity set to SUCI,
                                MCC set to PX_MCC,
                                MNC set to PX_MNC,
                                Routing_indicator set to PX_ROUTING_INDICATOR,
                                Protection_scheme_id set to PX_PROTECTION_SCHEME_ID,
                                Home_network_public_key_identifier set to PX_HOME_NETWORK_PUBLIC_KEY_IDENTIFIER,
                                MSIN set to PX_MSIN},
                            Requested_NSSAI containing {
                                S_NSSAI_1 containing {
                                    SST set to PX_SST_1, //S-NSSAI subscribed for the UE and allowed by the IUT in the current registration area.
                                    SD set to PX_SD_1}}}}
                    from the GNB entity
                }
                then {
                    the IUT entity sends a INITIAL_CONTEXT_SETUP_REQUEST containing {
                        NAS_PDU containing {
                            extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGES,
                            security_header_type set to INTEGRITY_PROTECTED_AND_CIPHERED,
                            message_type set to REGISTRATION_ACCEPT,
                            5G_GUTI containing {
                                Type_of_identity set to 5G_GUTI,
                                MCC set to PX_MCC,
                                MNC set to PX_MNC,
                                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,
                                5G_TMSI set to RV_5G_TMSI},
                            Allowed_NSSAI containing {
                                S_NSSAI_1 containing {
                                    SST set to PX_SST_1, //S-NSSAI subscribed for the UE and allowed by the IUT in the current registration area.
                                    SD set to PX_SD_1}}}}
                    to the GNB entity
                }
            }
        }// end TP_5GNAS_AMF_REG_ACC_06
         
        Test Purpose TP_5GNAS_AMF_REG_REJ_01 {
        
        Objective: "Verify that the IUT sends a REGISTRATION_REJECT message with 5GMM cause value #22 'congestion' and includes the T3346 value IE when the initial registration request is rejected due to general NAS level mobility management congestion control."