Commit afd426f9 authored by Yann Garcia's avatar Yann Garcia
Browse files

Implement TC_NGAP_GNB_MMP_05/6

parent 20362b16
Loading
Loading
Loading
Loading
+45 −30
Original line number Original line Diff line number Diff line
@@ -1604,7 +1604,7 @@ module NGAP_TCFunctions {
                                                                                                         bit2oct(
                                                                                                         bit2oct(
                                                                                                                 encvalue(
                                                                                                                 encvalue(
                                                                                                                          m_pDUSessionResourceSetupRequestTransfer(
                                                                                                                          m_pDUSessionResourceSetupRequestTransfer(
                                                                                                                     m_pDUSessionResourceSetupRequestTransfer_mandatories(
                                                                                                                            m_pDUSessionResourceSetupRequestTransfer_handover(
                                                                                                                              m_pDUSessionType(ipv4),
                                                                                                                              m_pDUSessionType(ipv4),
                                                                                                                              {
                                                                                                                              {
                                                                                                                                m_qosFlowSetupRequestItem(
                                                                                                                                m_qosFlowSetupRequestItem(
@@ -1626,6 +1626,12 @@ module NGAP_TCFunctions {
                                                                                                                              },
                                                                                                                              },
                                                                                                                              m_uPTransportLayerInformation_gTPTunnel(
                                                                                                                              m_uPTransportLayerInformation_gTPTunnel(
                                                                                                                                                                      m_gTPTunnel
                                                                                                                                                                      m_gTPTunnel
                                                                                                                                                                      ),
                                                                                                                              m_dataForwardingNotPossible,
                                                                                                                              m_securityIndication(
                                                                                                                                                   m_integrityProtectionIndication,
                                                                                                                                                   m_confidentialityProtectionIndication,
                                                                                                                                                   m_maximumIntegrityProtectedDataRate          
                                                                                                         ))))))
                                                                                                         ))))))
                                                                    },
                                                                    },
                                                                    { 
                                                                    { 
@@ -1638,9 +1644,17 @@ module NGAP_TCFunctions {
                                )));
                                )));


                f_recv_NGAP_PDU(
                f_recv_NGAP_PDU(
                                mw_ngap_unsuccMsg(
                                mw_ngap_succMsg(
                                                  mw_n2_HandoverFailure(
                                                mw_n2_HandoverRequestAcknowledge(
                                                                        PX_AMF_UE_NGAP_ID
                                                                                 PX_AMF_UE_NGAP_ID,
                                                                                 PX_RAN_UE_NGAP_ID,
                                                                                 {
                                                                                     *,
                                                                                     mw_pDUSessionResourceAdmittedItem( // TODO FSCOM Make the template more restrictive
                                                                                                                       PX_PDU_SESSION_ID
                                                                                                                       ),
                                                                                     *
                                                                                 }
                                 )));
                                 )));




@@ -1680,7 +1694,7 @@ module NGAP_TCFunctions {
                                                                                                         bit2oct(
                                                                                                         bit2oct(
                                                                                                                 encvalue(
                                                                                                                 encvalue(
                                                                                                                   m_pDUSessionResourceSetupRequestTransfer(
                                                                                                                   m_pDUSessionResourceSetupRequestTransfer(
                                                                                                                     m_pDUSessionResourceSetupRequestTransfer_mandatories(
                                                                                                                     m_pDUSessionResourceSetupRequestTransfer_handover_1(
                                                                                                                       m_pDUSessionType(ipv4),
                                                                                                                       m_pDUSessionType(ipv4),
                                                                                                                       {
                                                                                                                       {
                                                                                                                         m_qosFlowSetupRequestItem(
                                                                                                                         m_qosFlowSetupRequestItem(
@@ -1701,8 +1715,9 @@ module NGAP_TCFunctions {
                                                                                                                             )))
                                                                                                                             )))
                                                                                                                       },
                                                                                                                       },
                                                                                                                       m_uPTransportLayerInformation_gTPTunnel(
                                                                                                                       m_uPTransportLayerInformation_gTPTunnel(
                                                                                                                         m_gTPTunnel
                                                                                                                         m_gTPTunnel),
                                                                                                         ))))))
                                                                                                                       m_directForwardingPathAvailability
                                                                                                         )))))
                                                                    },
                                                                    },
                                                                    { 
                                                                    { 
                                                                      m_allowedNSSAI_Item(
                                                                      m_allowedNSSAI_Item(
+0 −59
Original line number Original line Diff line number Diff line
@@ -54,65 +54,6 @@ module NGAP_TestCases {


            var AdditionalDLUPTNLInformationForHOItem v_test, v_test1;
            var AdditionalDLUPTNLInformationForHOItem v_test, v_test1;



            log(m_pDUSessionResourceSetupRequestTransfer_optionals(
                                                                   m_pDUSessionType(ipv4),
                                                                   {
                                                                       m_qosFlowSetupRequestItem(
                                                                                                 PX_QOS_FLOW_IDENTIFIER,
                                                                                                 m_qosFlowLevelQosParameters(
                                                                                                                             m_qosCharacteristics_dynamic5QI(
                                                                                                                                                             m_dynamic5QIDescriptor(
                                                                                                                                                                                    1,//in template (value) PriorityLevelQos p_priorityLevelQos,
                                                                                                                                                                                    0,//in template (value) PacketDelayBudget p_packetDelayBudget,
                                                                                                                                                                                    m_PacketErrorRate(
                                                                                                                                                                                                      0,//in template (value) PacketErrorRate.pERScalar p_pERScalar,
                                                                                                                                                                                                      0//in template (value) PacketErrorRate.pERExponent p_pERExponent
                                                                                                                                                             ))),
                                                                                                                             m_allocationAndRetentionPriority(
                                                                                                                                                             1,//in template (value) PriorityLevelARP p_priorityLevelARP,
                                                                                                                                                             shall_not_trigger_pre_emption,//in template (value) Pre_emptionCapability p_pre_emptionCapability,
                                                                                                                                                             not_pre_emptable//in template (value) Pre_emptionVulnerability p_pre_emptionVulnerability,
                                                                                                 )))
                                                                   },
                                                                   m_uPTransportLayerInformation_gTPTunnel(
                                                                                                           m_gTPTunnel
                                                                                                           ),
                                                                   m_pDUSessionAggregateMaximumBitRate(
                                                                                                       PX_UE_AGGREGATE_MAXIMUM_BIT_RATE_DL, 
                                                                                                       PX_UE_AGGREGATE_MAXIMUM_BIT_RATE_UL
                 )));
            log(m_pDUSessionResourceSetupRequestTransfer_optionals_1(
                                                                     m_pDUSessionType(ipv4),
                                                                     {
                                                                         m_qosFlowSetupRequestItem(
                                                                                                   PX_QOS_FLOW_IDENTIFIER,
                                                                                                   m_qosFlowLevelQosParameters(
                                                                                                                               m_qosCharacteristics_dynamic5QI(
                                                                                                                                                               m_dynamic5QIDescriptor(
                                                                                                                                                                                      1,//in template (value) PriorityLevelQos p_priorityLevelQos,
                                                                                                                                                                                      0,//in template (value) PacketDelayBudget p_packetDelayBudget,
                                                                                                                                                                                      m_PacketErrorRate(
                                                                                                                                                                                                        0,//in template (value) PacketErrorRate.pERScalar p_pERScalar,
                                                                                                                                                                                                        0//in template (value) PacketErrorRate.pERExponent p_pERExponent
                                                                                                                                                               ))),
                                                                                                                               m_allocationAndRetentionPriority(
                                                                                                                                                               1,//in template (value) PriorityLevelARP p_priorityLevelARP,
                                                                                                                                                               shall_not_trigger_pre_emption,//in template (value) Pre_emptionCapability p_pre_emptionCapability,
                                                                                                                                                               not_pre_emptable//in template (value) Pre_emptionVulnerability p_pre_emptionVulnerability,
                                                                                                   )))
                                                                     },
                                                                     m_uPTransportLayerInformation_gTPTunnel(
                                                                                                             m_gTPTunnel
                                                                                                             ),
                                                                     m_pDUSessionAggregateMaximumBitRate(
                                                                                                         PX_UE_AGGREGATE_MAXIMUM_BIT_RATE_DL, 
                                                                                                         PX_UE_AGGREGATE_MAXIMUM_BIT_RATE_UL
                 )));


                stop;

            // Test control
            // Test control
            if (not PICS_NGAP_AMF_IUT) {
            if (not PICS_NGAP_AMF_IUT) {
                log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_AMF_IUT' shall be set to true for executing the TC. ***");
                log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_AMF_IUT' shall be set to true for executing the TC. ***");
+136 −27

File changed.

Preview size limit exceeded, changes collapsed.