Newer
Older
/**
* @author ETSI / STF422_EETS
* @version $URL:$
* $Id:$
* @desc Templates definitions for ITS station management (ISO 24102-3)
import from LibCommon_BasicTypesAndValues {
// LibIts
import from CALMmanagement language "ASN.1:1997" {
type ITS_scuId
};
type
ErrStatus,
MedType , CIaClass, CIclass
};*/
import from CALMmsap language "ASN.1:1997" all;
import from CALMfntp language "ASN.1:1997" {
type PortNumber
};
import from LibItsMgt_TypesAndValues {
type IParamNoList, IParamList, ErrorsList
};
import from LibItsMgt_Pixits {
modulepar PX_PDU_REQUEST_FILL_FIELD_VALUE
};
MgtMfSapCommandReq, MgtMfSapCommandConfirm, MgtMfSapRequestReq, MgtMfSapRequestConfirm,
MgtMnSapCommandReq, MgtMnSapCommandConfirm, MgtMnSapRequestReq, MgtMnSapRequestConfirm
};
group mgtSapTemplates {
/**
* @desc MF-SAP service primitives templates
/**
* @desc Send template for MF-SAP service primitives
* @param p_msg MF-REQUEST.request service primitive to be sent
*/
template (value) MgtMfSapRequestReq m_mgtMfSapRequestReq(
in template (value) MF_Request_request p_msg
) := {
msgInOut := p_msg
}
/**
* @desc Receive template for MF-SAP service primitives
* @param p_msg MF-REQUEST.request service primitive to be received
*/
template MgtMfSapRequestReq mw_mgtMfSapRequestReq(
in template (present) MF_Request_request p_msg
) := {
msgInOut := p_msg
}
/**
* @desc Receive template for MF-SAP service primitives
* @param p_command_request MF-COMMAND.request service primitive to be sent
*/
template MgtMfSapCommandReq mw_mgtMfSapCommandReq(
in template (present) MF_Command_request p_commandRequest
/**
* @desc Receive template for MF-SAP service primitives
* @param p_command_request MF-COMMAND.confirm service primitive to be sent
*/
template MgtMfSapCommandConfirm mw_mgtMfSapCommandConfirm(
in template (present) MF_Command_confirm p_commandConfirm
/**
* @desc Receive template for MF-SAP service primitives
* @param p_msg MF-REQUEST.confirm service primitive to be received
*/
template MgtMfSapRequestConfirm mw_mgtMfSapRequestConfirm(
in template (present) MF_Request_confirm p_msg
) := {
msgIn := p_msg
}
/**
* @desc Templates for MF-SAP
* @see ISO 24102-3 Clause 8.2
*/
group mfCommandRequestSend {
/**
* @desc Generic send template for MF-COMMAND.request service primitive
* @param p_commandRef Unique cyclic reference number of command.
* @param p_mfCmd MF-Command message description
*/
template (value) MF_Command_request m_mfCommandRequest(
in template (value) CommandRef p_commandRef,
in template (value) MF_Command p_mfCmd
) := {
commandRef := p_commandRef,
command_param := p_mfCmd
} // End of template m_mfCommandRequest
group mfCommandRequestRecv {
/**
* @desc Unspecified receive template for MF-COMMAND.request service primitive
* Used for:
* <li>modifying restrictif template</li>
* <li>default altstep</li>
* @see a_mgtMfSapPortDefault altstep statement
*/
template MF_Command_request mw_mfCommandRequest_any := {
commandRef := ?,
command_param := {
fill := ?,
mfCmd := ?
} // End of 'command_param' field
} // End of template mw_mfCommandRequest_any
/**
* @desc Unspecified receive template for MF-COMMAND.confirm service primitive
* @see a_mgtMfSapPortDefault altstep statement
template MF_Command_confirm mw_mfCommandConfirm_any := {
commandRef := ?,
cmdConfirm := {
fill := ?,
mfCmdConf := ?
}, // End of field 'mfCmdConf'
errStatus := ?
/**
* @desc Receive template for MF-Request.confirm service primitive
* @param p_errorStatus Error status
*/
template MF_Command_confirm mdw_mfCommandConfirm(
in template (present) ErrStatus p_errorStatus
template MF_Command_confirm mdw_mfCommandConfirm_gCsamctxConf(
in template (value) ErrStatus p_errorStatus
) modifies mdw_mfCommandConfirm := {
cmdConfirm := {
mfCmdConf := {
gCsamctx := ?
} // End of field 'mfCmdConf'
} // End of field 'cmdConfirm'
} // End of template mdw_mfCommandConfirm_gCsamctxConf
/**
* @desc Generic receive template for MF-COMMAND.request service primitive
* @param p_commandRef Unique cyclic reference number of command.
* @param p_mfCmd MF-Command message description
*/
template MF_Command_request mw_mfCommandRequest(
in template (present) CommandRef p_commandRef,
in template (present) MF_Command p_mfCmd
) := {
commandRef := p_commandRef,
command_param := p_mfCmd
} // End of template mw_mfCommandRequest
} // End of group mfCommandRequestRecv
} // End of group mfCommandRequest
group mfRequestRequest {
group mfRequestRequestSend {
/**
* @desc Generic receive template for MF-REQUEST.request service primitive
* @param p_commandRef Unique cyclic reference number of command.
* @param p_request_param MF-Request message description
template (value) MF_Request_request m_mfRequestRequest(
in template (value) CommandRef p_commandRef,
) := {
commandRef := p_commandRef,
} // End of template m_mfRequestRequest
/**
* @desc Unspecified receive template for MF-REQUEST.request service primitive
* Used for:
* <li>modifying restrictif template</li>
* <li>default altstep</li>
* @see a_mgtMfSapPortDefault altstep statement
*/
template MF_Request_request mw_mfRequestRequest_any := {
commandRef := ?,
request_param := {
fill := ?,
mfReq := ?
} // End of 'request_param' field
} // End of template mw_mfRequestRequest_any
* @desc Receive template for MF-Request.confirm service primitive
* @param p_errorStatus Error status in response of MF-REQUEST.request service primitive
*/
template MF_Request_confirm mw_mfRequestConfirm(
) := {
commandRef := ?,
reqConfirm := {
fill := ?,
mfReqConf := ?
errStatus := p_errorStatus
} // End of template mw_mfRequestConfirm
* @desc Receive template for MF-REQUEST.request service primitive
* @param p_commandRef Unique cyclic reference number of command. Same value as in related MF-REQUEST.request
* @param p_mfReq Command issued by the ITS-S facilities layer and sent to the ITS-S management entity via the MF-SAP
*/
template (present) MF_Request_request mw_mfRequestRequest(
in template (present) CommandRef p_commandRef,
in template (present) MF_Request p_mfReq
) := {
commandRef := p_commandRef,
request_param := p_mfReq
} // End of group mfRequestRequest
/**
* @desc MN-SAP service primitives templates
/**
* @desc Receive template for MN-SAP service primitives. Used to monitor MN-SAP
* @param p_msg MF-COMMAND.request service primitive to be sent
* @see ISO 24102-3 Clause 7.2.2
*/
template MgtMnSapCommandReq mw_mgtMnSapCommandReq(
in template (present) MN_Command_request p_msg
) := {
msgInOut := p_msg
}
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
/**
* @desc Receive template for MN-SAP service primitives
* @param p_msg MF-COMMAND.confirm service primitive to be received
* @see ISO 24102-3 Clause 7.2.3
*/
template MgtMnSapCommandConfirm mw_mgtMnSapCommandConfirm(
in template (present) MN_Command_confirm p_msg
) := {
msgIn := p_msg
}
/**
* @desc Receive template for MN-SAP service primitives
* @param p_msg MF-REQUEST.request service primitive to be received
* @see ISO 24102-3 Clause 7.3.2
*/
template MgtMnSapRequestReq mw_mgtMnSapRequestReq(
in template (present) MN_Request_request p_msg
) := {
msgInOut := p_msg
}
/**
* @desc Receive template for MN-SAP service primitives
* @param p_msg MF-REQUEST.request service primitive to be received
* @see ISO 24102-3 Clause 7.3.3
*/
template MgtMnSapRequestConfirm mw_mgtMnSapRequestConfirm(
in template (present) MN_Request_confirm p_msg
) := {
msgIn := p_msg
}
group mnCommandRequest {
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
group mfCommandRequestSend {
/**
* @desc Send template for MN-SAP/MN_Command_request service primitives. used to send MN-COMMAND.request when Management is the IUT
* @param p_msg MF-COMMAND.request service primitive to be sent
* @see ISO 24102-3 Clause 7.2.2
*/
template (value) MgtMnSapCommandReq m_mgtMnSapCommandReq(
in template (value) MN_Command_request p_msg
) := {
msgInOut := p_msg
}
/**
* @desc Send template for MN-COMMAND.request service primitive
* @see ISO 24102-3 Clause 7.3.3
*/
template (value) MN_Command_request m_mnCommandRequest(
in template (value) CommandRef p_commandRef,
in template (value) MN_Command p_mnCmd
) := {
commandRef := p_commandRef,
command_param := p_mnCmd
} // End of template mw_mnCommandRequest
} // group mnCommandRequestSend
group mnCommandRequestRecv {
/**
* @desc Receive template for MN-COMMAND.request service primitive
* @see ISO 24102-3 Clause 7.3.3
*/
template MN_Command_request mw_mnCommandRequest(
in template (present) CommandRef p_commandRef,
in template (present) MN_Command p_mnCmd
) := {
commandRef := p_commandRef,
command_param := p_mnCmd
} // End of template mw_mnCommandRequest
/**
* @desc Unspecified receive template for MN-COMMAND.confirm service primitive
* @see a_mgtMnSapPortDefault altstep statement
* @see ISO 24102-3 Clause 7.3.3
*/
template MN_Command_confirm mw_mnCommandConfirm_any := {
commandRef := ?,
cmdConfirm := {
fill := ?,
mnCmdConf := ?
}, // End of field 'mnCmdConf'
errStatus := ?
template MN_Command_confirm mdw_mnCommandConfirm(
in template (present) ErrStatus p_errorStatus
errStatus := p_errorStatus
} // End of template mdw_mnCommandConfirm
} // group nCommandRequestRecv
} // End of group mnCommandRequest
group mnRequestRequest {
group mnRequestRequestSend {
/**
* @desc Send template for MN-SAP/MN_Request_request service primitives
* @param p_msg MF-REQUEST.confirm service primitive to be received
* @see ISO 24102-3 Clause 7.3.2
*/
template (value) MgtMnSapRequestReq m_mgtMnSapRequestReq(
in template (value) MN_Request_request p_msg
) := {
msgInOut := p_msg
}
/**
* @desc Generic receive template for MN-REQUEST.request service primitive
* @param p_commandRef Unique cyclic reference number of command.
* @param p_request_param MF-Request message description
*/
template (value) MN_Request_request m_mnRequestRequest(
in template (value) CommandRef p_commandRef,
) := {
commandRef := p_commandRef,
} // End of template m_mnRequestRequest
} // End of group mnRequestRequestSend
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
group mnRequestRequestRecv {
/**
* @desc Unspecified receive template for MN-REQUEST.request service primitive
* Used for:
* <li>modifying restrictif template</li>
* <li>default altstep</li>
* @see a_mgtMnSapPortDefault altstep statement
*/
template MN_Request_request mw_mnRequestRequest_any := {
commandRef := ?,
request_param := {
fill := ?,
mnReq := ?
} // End of 'request_param' field
} // End of template mw_mnRequestRequest_any
/**
* @desc Unspecified receive template for MN-REQUEST.confirm service primitive
* Used for:
* <li>modifying restrictif template</li>
* <li>default altstep</li>
* @see a_mgtMnSapPortDefault altstep statement
*/
template MN_Request_confirm mw_mnRequestConfirm_any := {
commandRef := ?,
reqConfirm := ?,
errStatus := ?
} // End of template mw_mnRequestConfirm_any
/**
* @desc Receive template for MN-Request.confirm service primitive
* @param p_errorStatus Error status in response of MN-REQUEST.request service primitive
*/
template MN_Request_confirm mw_mnRequestConfirm(
in template (present) ErrStatus p_errorStatus
) := {
commandRef := ?,
reqConfirm := {
fill := ?,
mnReqConf := ?
}, // End of field 'reqConfirm'
errStatus := p_errorStatus
} // End of template mw_mnRequestConfirm
/**
* @desc Receive template for MN-REQUEST.request service primitive
* @param p_commandRef Unique cyclic reference number of command. Same value as in related MNREQUEST.request
* @param p_mnReq Command issued by the ITS-S facilities layer and sent to the ITS-S management entity via the MN-SAP
*/
template MN_Request_request mw_mnRequestRequest(
in template (present) CommandRef p_commandRef,
in template (present) MN_Request p_mnReq
) := {
commandRef := p_commandRef,
request_param := p_mnReq
} // End of template mw_mnRequestRequest
} // End of group mnRequestRequestRecv
} // End of group mnRequestRequest
/**
* @desc Receive "FWTsetNot message" to notify the creation of an entry in a forwarding table
template (present) MN_Request_request mdw_fwtSetNotRequestReq
modifies mw_mnRequestRequest_any := {
request_param := {
mnReq := {
fWTsetNot := {
fill := ?,
setNot := ?
} // End of field 'fWTsetNot'
} // End of field 'mfReq'
} // End of field 'request_param'
} // End of template mdw_fWTSetNotRequestReq
* @desc Received template on forwarding table update request
template MN_Command_request mw_fwtUpdateCommandReq := {
commandRef := ?,
command_param := {
fill := ?,
mnCmd := {
} // End of field 'mnCmd'
} // End of field 'command_param'
} // End of template mw_fWTUpdateCommandReq
/**
* @desc Received template on forwarding table change request
* @see ISO 24102-3 D.2.3 FWTset
*/
template MN_Command_request mw_fwtSetCommandReq := {
commandRef := ?,
command_param := {
fill := ?,
mnCmd := {
} // End of field 'mnCmd'
} // End of field 'command_param'
/**
* @desc Receive a "FWTupdate message" to update the FNTP forwarding table
reference := ?,
remotePort := omit,
linkID := omit,
ciStatus := omit,
linkPort := omit,
serviceInfo := omit,
priority := omit,
timeout_ := 100
} // End of field 'fntp'
} // End of field 'update'
/**
* @desc Generic received template on setting an entry in the forwarding table of a networking protocol
* Used for:
* <li>modifying restrictif template</li>
* <li>default altstep</li>
* @see ISO 24102-3 D.2.3 FWTset
*/
fill := ?,
set_ := {
fntp := {
remotePort := ?,
linkID := ?,
ciStatus := ?,
linkPort := ?,
serviceInfo := ?,
priority := ?,
timeout_ := ?
} // End of field 'fntp'
} // End of field 'set_'
/**
* @desc Received template on setting an entry in the forwarding table of a networking protocol
* @see ISO 24102-3 D.2.3 FWTset
*/
set_ := {
fntp := {
remotePort := p_remotePort
} // End of field 'fntp'
} // End of field 'set_'
/**
* @desc Send template for MI-COMMAND.request service primitive
* @param p_linkID Link ID of the peer station
* @param p_commandRef Unique cyclic reference number of command. Same value as in related MN-REQUEST.request
* @param p_command_param MI_Command message description
* @see ISO 24102-3 Clause 6.4.2 MI-COMMAND.request
*/
template (value) MI_Command_request m_miCommandRequest(
in template (value) Link_ID p_linkId,
} // End of template mw_miCommandRequest
/**
* @desc Generic receive template for MN-REQUEST.request service primitive
* @param p_linkId Link identifier of the CI
* @param p_commandRef Unique cyclic reference number of command.
* @param p_request_param MI-Request message description
*/
template (value) MI_Request_request m_miRequestRequest(
in template (value) Link_ID p_linkId,
in template (value) CommandRef p_commandRef,
) := {
linkID := p_linkId,
commandRef := p_commandRef,
} // End of template m_miRequestRequest
/**
* @desc Send template for MI-GET service primitive
* @param p_linkID Link ID of the peer station
* @param p_commandRef Unique cyclic reference number of command. Same value as in related MN-REQUEST.request
* @param p_get_param_no Reference number of parameter to be monitored
* @see ISO 24102-3 6.3.1 MI-GET.request
* @see ISO 21218 Annex A (normative) I parameters
*/
template (value) MI_Get_request m_miGetRequest(
in template (value) Link_ID p_linkId,
} // End of template m_miGetRequest
/**
* @desc Send template for MI-SET service primitive
* @param p_linkID Link ID of the peer station
* @param p_commandRef Unique cyclic reference number of command. Same value as in related MN-REQUEST.request
* @param p_get_param_no Reference number of parameter to be monitored
* @see ISO 24102-3 6.3.1 MI-SET.request
* @see ISO 21218 Annex A (normative) I parameters
*/
template (value) MI_Set_request m_miSetRequest(
in template (value) Link_ID p_linkId,
} // End of group mgtMiSapTemplatesSend
* @desc Receive template for MI-COMMAND.request service primitive
* @param p_linkID Link ID of the peer station
* @param p_commandRef Unique cyclic reference number of command. Same value as in related MN-REQUEST.request
* @param p_miCmd MI-Command message description
* @see ISO 24102-3 6.4.2 MI-COMMAND.request
template (present) MI_Command_request mw_miCommandRequest(
in template (present) Link_ID p_linkId,
in template (present) CommandRef p_commandRef,
in template (present) MI_Command p_miCmd
) := {
commandRef := p_commandRef,
command_param := p_miCmd
* @desc Send template for MI-COMMAND.request service primitive
* @see ISO 24102-3 Clause 6.4.2 MI-COMMAND.request
*/
template (present) MI_Command_confirm mw_miCommandConfirm(
in template (present) ErrStatus p_errorStatus
) := {
linkID := ?,
commandRef := ?,
errStatus := p_errorStatus
} // End of template mw_miCommandConfirm
/**
* @desc Receive template for MI-REQUEST.request service primitive
* @param p_commandRef Unique cyclic reference number of command. Same value as in related MNREQUEST.request
* @param p_miReq Command issued by the ITS-S facilities layer and sent to the ITS-S management entity via the MI-SAP
*/
template (present) MI_Request_request mw_miRequestRequest(
in template (present) Link_ID p_linkId,
in template (present) CommandRef p_commandRef,
in template (present) MI_Request p_miReq
) := {
linkID := p_linkId,
commandRef := p_commandRef,
request_param := p_miReq
} // End of template mw_miRequestRequest
template (present) MI_Request_confirm mw_miRequestConfirm(
in template (present) ErrStatus p_errorStatus
) := {
linkID := ?,
commandRef := ?,
errStatus := p_errorStatus
} // End of template mw_miRequestConfirm
/**
* @desc Receive template for MI-GET.request service primitive
* @param p_linkID Link ID of the peer station
* @param p_commandRef Unique cyclic reference number of command. Same value as in related MN-REQUEST.request
* @param p_get_param_no Reference number of parameter to be monitored
* @see ISO 24102-3 6.3.1 MI-GET.request
* @see ISO 21218 Annex A (normative) I parameters
*/
template (present) MI_Get_request mw_miGetRequest(
in template (present) Link_ID p_linkId,
in template (present) IParamNoList p_getParamNo
* @desc Send template for MI-GET.confirm service primitive
* @see ISO 24102-3 Clause 6.4.2 MI-GET.confirm
*/
template (present) MI_Get_confirm mw_miGetConfirm(
} // End of template mw_miGetConfirm
/**
* @desc Receive template for MI-SET.request service primitive
* @param p_linkID Link ID of the peer station
* @param p_commandRef Unique cyclic reference number of command. Same value as in related MN-REQUEST.request
* @param p_set_param Reference number of parameter to be monitored
* @see ISO 24102-3 6.3.1 MI-SET.request
* @see ISO 21218 Annex A (normative) I parameters
*/
template (present) MI_Set_request mw_miSetRequest(
in template (present) Link_ID p_linkId,
/**
* @desc Send template for MI-SET.confirm service primitive
* @see ISO 24102-3 Clause 6.2.2 MI-SET.confirm
*/
template (present) MI_Set_confirm mw_miSetConfirm(
} // End of template mw_miSetConfirm
} // End of group mgtSapTemplates
} // End of module LibItsMgt_Templates