Newer
Older
/**
* @author ETSI / STF422_EETS
* @version $URL:$
* $Id:$
* @desc Templates definitions for ITS station management (ISO 24102-3)
import from LibCommon_BasicTypesAndValues {
// import from CALMiitsscu language "ASN.1:1997" { TODO To be removed
// type
// PduCounter
// };
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_command_request
) := {
msgIn := p_command_request
}
/**
* @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_command_confirm
) := {
msgIn := p_command_confirm
}
/**
* @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
} // End of group mfCommandRequestSend
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
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
* @see ISO 24102-3 Clause 8.3.3
*/
template MF_Command_confirm mdw_mfCommandConfirm_any := {
commandRef := ?,
cmdConfirm := {
fill := ?,
mfCmdConf := ?
}, // End of field 'mfCmdConf'
errStatus := ?
} // End of template mdw_mfCommandConfirm_any
/**
* @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
) modifies mdw_mfCommandConfirm_any:= {
errStatus := p_errorStatus
} // End of template mdw_mfCommandConfirm
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 {
/**
* @desc Generic receive template for MF-REQUEST.request service primitive
* @param p_commandRef Unique cyclic reference number of command.
* @param p_mfRequest MF-Request message description
*/
template (value) MF_Request_request m_RequestRequest(
in template (value) CommandRef p_commandRef,
in template (value) MF_Request p_mfRequest
) := {
commandRef := p_commandRef,
request_param := p_mfRequest
} // End of template m_RequestRequest
/**
* @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 Unspecified receive template for MF-Request.confirm service primitive
* Used for:
* <li>modifying restrictif template</li>
* <li>default altstep</li>
* @param p_errorStatus Error status in response of MF-REQUEST.request service primitive
* @see a_mgtMFSapPortDefault altstep statement
*/
template MF_Request_confirm mw_mfRequestConfirm(
) := {
commandRef := ?,
reqConfirm := {
fill := ?,
mfReqConf := ?
errStatus := p_errorStatus
} // End of template mw_mfRequestConfirm
/**
* @desc Generic 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 MF_Request_request mdw_RequestRequest(
in template (present) CommandRef p_commandRef,
in template (present) MF_Request p_mfReq
) modifies mw_mfRequestRequest_any := {
commandRef := p_commandRef,
request_param := p_mfReq
} // End of template mdw_RequestRequest
} // End of group mfRequestRequest
} // End of group mgtMFSapTemplates
/**
* @desc MN-SAP service primitives templates
* @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-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 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
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
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
/**
* @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
}
/**
* @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
}
/**
* @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 mdw_mnCommandConfirm_any := {
cmdConfirm := {
fill := ?,
mnCmdConf := ?
}, // End of field 'mnCmdConf'
} // End of template mdw_mnCommandConfirm_any
template MN_Command_confirm mdw_mnCommandConfirm(
in template (present) ErrStatus p_errorStatus
) modifies mdw_mnCommandConfirm_any:= {
errStatus := p_errorStatus
} // End of template mdw_mnCommandConfirm
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
/**
* @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 := ?
} // 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
group fWTNotifies {
/**
* @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 := {
mfReq := {
fWTsetNot := {
fill := ?,
setNot := ?
} // End of field 'fWTsetNot'
} // End of field 'mfReq'
} // End of field 'request_param'
} // End of template mdw_fWTSetNotRequestReq
/**
* @desc Receive "FWTupdateNot message" to notify update in the FNTP Forwarding Table
*/
// template MN_Request_request mdw_fWTupdateNotRequestReq
// modifies mw_mnRequestRequest_any := {
// request_param := {
// fWTupdateNot := {
// fast := ?
// }
// }
// } // End of template mdw_fWTUpdateNotRequestReq
/**
* @desc Receive "FWTdeleteNot message" to notify deletion of an entry in the FNTP Forwarding Table
*/
// FIXME To be removed - Moved on NF-SAP
// template MN_Request_request mdw_fWTdeleteNotRequestReq
// modifies mw_mnRequestRequest_any := {
// request_param := {
// fWTdeleteNot := {
// fast := ?
// }
// }
// } // End of template mdw_fWTdeleteNotRequestReq
} // End of group fWTNotifies
group fWTcommands {
/**
* @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 := {
fWTset := mw_fWTset_any
} // End of field 'mnCmd'
} // End of field 'command_param'
} // End of template mw_fWTSetCommandReq
/**
* @desc Receive a "FWTupdate message" to update the FNTP forwarding table
template FWTupdate mw_fWTupdate := {
fill := ?,
update := {
fntp := {
reference := ?,
remotePort := omit,
linkID := omit,
ciStatus := omit,
linkPort := omit,
serviceInfo := omit,
priority := omit,
timeout_ := 100
} // End of field 'fntp'
} // End of field 'update'
} // End of template mw_fWTupdate
/**
* @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
*/
template FWTset mw_fWTset_any := {
fill := ?,
set_ := {
fntp := {
remotePort := ?,
linkID := ?,
ciStatus := ?,
linkPort := ?,
serviceInfo := ?,
priority := ?,
timeout_ := ?
} // End of field 'fntp'
} // End of field 'set_'
} // End of template mw_fWTset_any
/**
* @desc Received template on setting an entry in the forwarding table of a networking protocol
* @see ISO 24102-3 D.2.3 FWTset
*/
template FWTset mdw_fWTset(
) modifies mw_fWTset_any := {
set_ := {
fntp := {
remotePort := p_remotePort
} // End of field 'fntp'
} // End of field 'set_'
} // End of template mdw_fWTset
} // End of group fWTcommands
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
group mgtMISapTemplatesSend {
/**
* @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,
in template (value) CommandRef p_commandRef,
in template (value) MI_Command p_command_param
) := {
linkID := p_linkID,
commandRef := p_commandRef,
command_param := p_command_param
} // End of template mw_miCommandRequest
/**
* @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,
in template (value) CommandRef p_commandRef,
in template (value) IParamNoList p_get_param_no
) := {
linkID := p_linkID,
commandRef := p_commandRef,
get_param_no := p_get_param_no
} // 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,
in template (value) CommandRef p_commandRef,
in template (value) IParamList p_set_param
) := {
linkID := p_linkID,
commandRef := p_commandRef,
set_param := p_set_param
} // End of template m_miSetRequest
} // 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
) := {
linkID := p_linkID,
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-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) CommandRef p_commandRef,
in template (present) IParamNoList p_get_param_no
) := {
linkID := p_linkID,
commandRef := p_commandRef,
get_param_no := p_get_param_no
} // End of template mw_miGetRequest
/**
* @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(
in template (present) IParamList p_set_param
) := {
linkID := ?,
commandRef := ?,
set_param := p_set_param
} // 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,
in template (present) CommandRef p_commandRef,
in template (present) IParamList p_set_param
) := {
linkID := p_linkID,
commandRef := p_commandRef,
set_param := p_set_param
} // End of template mw_miSetRequest
/**
* @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(
in template (present) ErrorsList p_set_param
) := {
linkID := ?,
commandRef := ?,
set_param := p_set_param
} // End of template mw_miSetConfirm
} // End of mgtMISapTemplatesRecv
} // End of group mgtMISapTemplates
} // End of group mgtSapTemplates
} // End of module LibItsMgt_Templates