Commit 10d86c1e authored by garciay's avatar garciay
Browse files

Align TTCN-3 code on draft ETSI TS 102 985-2 v0.0.8

parent 2414099c
Loading
Loading
Loading
Loading
+56 −25
Original line number Diff line number Diff line
@@ -809,6 +809,7 @@ module LibItsFntp_Templates {
                                remotePort := PX_REMOTE_PORT_NUMBER, 
                                linkID := p_linkID, 
                                data := p_data, 
                                priority := PX_USER_PRIORITY, 
                                controlField := p_controlField 
                            } // End of field 'fntpCommRequest'
                        } // End of field 'primitivesDown'
@@ -866,7 +867,8 @@ module LibItsFntp_Templates {
                                remotePort := ?, 
                                linkID := ?, 
                                data := PX_ITS_FPDU, 
                                priority := PX_USER_PRIORITY
                                priority := PX_USER_PRIORITY, 
                                controlField := mw_noFntpOptions
                            } // End of field 'fntpCommIndication' 
                        } // End of field 'primitivesUp' 
                    } // End of field 'nfsapPrimitives' 
@@ -879,7 +881,7 @@ module LibItsFntp_Templates {
             * @param p_port        Set equal to "sourcePort" given in the NPDU
             * @param p_linkID      Identify the VCI associated with the peer station
             */
            template (present) UtCommandIndication mdw_checkNfFntpCommIndication(
            template UtCommandIndication mdw_checkNfFntpCommIndication(
                in template (present) PortNumber p_servicePort,
                in template (present) PortNumber p_remotePort,
                in template (present) Link_ID p_linkID
@@ -898,6 +900,35 @@ module LibItsFntp_Templates {
                } // End of field 'utFntpCommandIndication'
            } // End of template mw_checkNfFntpCommIndication
            
            /**
             * @desc  Receive an COMMAND.indication primitive with Access parameters
             * @param p_servicePort             Set equal to "destinationPort" given in the NPDU
             * @param p_port                    Set equal to "sourcePort" given in the NPDU
             * @param p_linkID                  Identify the VCI associated with the peer station
             * @param p_NHopNFfntpOptions_CIP   FNTP options with Access parameters
             * @see ISO/WD 29281-2 Clause 6.2.2.3.6 CIP management
             */
            template UtCommandIndication mdw_checkNfFntpCommIndication_CIP(
                in template (present) PortNumber p_servicePort,
                in template (present) PortNumber p_remotePort,
                in template (present) Link_ID p_linkID, 
                in template (present) FntpOptions p_NHopNFfntpOptions_CIP
            ) modifies mw_checkNfFntpCommIndication_any := {
                utFntpCommandIndication := {
                    nfSapPrimitives := {
                        fill := PX_NF_SAP_UP_FILL_FIELD_VALUE,
                        primitivesUp := {
                            fntpCommIndication := {
                                servicePort := p_servicePort,
                                remotePort := p_remotePort,
                                linkID := p_linkID, 
                                controlField := p_NHopNFfntpOptions_CIP
                            } // End of field 'fntpCommIndication'
                        } // End of field 'primitivesUp'
                    } // End of field 'nfsapPrimitives'
                } // End of field 'utFntpCommandIndication'
            } // End of template mdw_checkNfFntpCommIndication_CIP
            
            /**
             * @desc Templates for FNTP control fields
             * @see ISO/CD 29281-2 Clause 6.2.2.3