Commit 1f8f6f14 authored by Iztok Juvancic's avatar Iztok Juvancic
Browse files

added IE templates

parents d7ce2e52 c4deb8be
Loading
Loading
Loading
Loading
+49 −0
Original line number Diff line number Diff line
@@ -14,6 +14,18 @@ module NGAP_TestCases {
    // LibCommon
    import from LibCommon_Sync all ;
    
    //  LibNGAP
    import  from  NGAP_Constants  language  "ASN.1:2002"  all;
    import  from  NGAP_CommonDataTypes  language  "ASN.1:2002"  all;
    import  from  NGAP_IEs  language  "ASN.1:2002"  all;
    import  from  NGAP_PDU_Contents  language  "ASN.1:2002"  all;
    import  from  NGAP_PDU_Descriptions  language  "ASN.1:2002"  all;
    import  from  NGAP_Containers  language  "ASN.1:2002"  all;

    import  from  LibNGAP_TypesAndValues all;
    import  from  LibNGAP_Templates all;
    import  from  LibNGAP_Pixits all;

    // NGAP_Ats
    import from LibNGAP_TypesAndValues all;
    import from NGAP_TestConfiguration all;
@@ -40,6 +52,8 @@ module NGAP_TestCases {
            // Local variables
            var gNBNGAPComponent v_ngap_gnb_or_amf; //or v_ngap_amf

            var AdditionalDLUPTNLInformationForHOItem v_test, v_test1;
                
            // Test control
            if (not PICS_NGAP_AMF_IUT) {
                log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_AMF_IUT' shall be set to true for executing the TC. ***");
@@ -50,6 +64,41 @@ module NGAP_TestCases {
            f_cf_NGAP_gNB_Up/*aMF_Up*/(v_ngap_gnb_or_amf);
                
            // Start
            v_test := valueof(
                              m_additionalDLUPTNLInformationForHOItem(
                                                                      m_ie_uPTLInf(
                                                                                   m_ie_gTPTunnel(
                                                                                                  m_ie_tla, 
                                                                                                  m_ie_gtpTeId
                                                                                   )),
                                                                      { m_qosFlowItemWithDataForwarding(
                                                                                                        m_qosFlowIdentifier,
                                                                                                        m_dataForwardingAccepted
                                                                                                        )
                                                                      }
                              ));
            v_test1 := valueof(
                               m_additionalDLUPTNLInformationForHOItem(
                                                                       m_ie_uPTLInf(
                                                                                    m_ie_gTPTunnel(
                                                                                                    m_ie_tla, 
                                                                                                    m_ie_gtpTeId
                                                                                    )),
                                                                       { m_qosFlowItemWithDataForwarding(
                                                                                                         m_qosFlowIdentifier,
                                                                                                         m_dataForwardingAccepted,
                                                                                                         m_qosFlowItemWithDataForwarding_alternativeQoSParaSetIndex(
                                                                                                                                                                    m_alternativeQoSParaSetIndex
                                                                                                         )) 
                                                                       },
                                                                       -,
                                                                       m_additionalDLUPTNLInformationForHOItem_uPTransportLayerInformation(
                                                                                                                                           m_ie_uPTLInf(
                                                                                                                                                        m_ie_gTPTunnel(
                                                                                                                                                                       m_ie_tla, 
                                                                                                                                                                       m_ie_gtpTeId
                                                                                                                                                        
                               )))));
            v_ngap_gnb_or_amf.start(f_TC_NGAP_gNB_or_aMF_functionName_01());
                
            // synchronize PTC on 1 sychronization points
+1282 −811

File changed.

Preview size limit exceeded, changes collapsed.

+0 −34
Original line number Diff line number Diff line
@@ -16,40 +16,6 @@ module LibNGAP_TypesAndValues {
    import from NGAP_PDU_Contents language "ASN.1:2002" all;
    import from NGAP_PDU_Descriptions language "ASN.1:2002" all;

//TODO: Remove!!!
//    type set NGAPIEs{
//        anytype value_ optional,
//        GlobalRANNodeID    globalRANNodeID optional,
//        GlobalGNB_ID    globalGNB_ID optional,
//        RANNodeName    rANNodeName optional,
//        SupportedTAList    supportedTAList optional,
//        PagingDRX     defaultPagingDRX optional,
//        UERetentionInformation    uERetentionInformation optional,
//        NB_IoT_DefaultPagingDRX nB_IoT_DefaultPagingDRX optional,
//        Extended_RANNodeName extended_RANNodeName optional
//    }
//
//    /**
//     * @desc This data structure redefines ASN.1 ProtocolIE-Field data structure die to parameterization limitation of TTCN-3 tools
//     * @member id           Protocol Information Element identifier
//     * @member criticality  Criticality value attached to this IE
//     * @member value_       Value of this IE
//     * @see ETSI TS 136 413 Clause 9.1 Message Functional Definition and Content
//     */
//    type record ProtocolIE {
//        integer id (0 .. 65535),
//        enumerated {
//            reject, ignore, notify
//        } criticality,
//        //anytype value_
//        NGAPIEs IE
//    }
//    
//    /**
//     * @desc List of ProtocolIEs
//     */
//    type set of ProtocolIE RecordOf_ProtocolIE;
    
} with {
    encode "LibNGAP_codec"
} // End of module LibNGAP_TypesAndValues