Newer
Older
* @version $URL$
* $Id$
* @desc This module provides test cases for NGAP tests.
* @copyright ETSI Copyright Notification
* No part may be reproduced except as authorized by written permission.
* The copyright and the foregoing restriction extend to reproduction in all media.
* All rights reserved.
* @see ETSI TS 138 413 / 3GPP TS 38.413 version 16.12 Release 16
// 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;
import from NGAP_TestSystem all;
import from NGAP_TCFunctions all;
import from NGAP_Pics all;
group TC_testcase_template{
/**
* @desc Verify ...
* <pre>
* Pics Selection:
* Configuration:
*
* </pre>
*
* @see ETSI TS
* @reference ETSI TS
*/
testcase TC_NGAP_gNB_or_aMF_testcaseName_01() runs on /*aMFNGAPComponent*/gNBNGAPComponent system TestAdapter {
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. ***");
stop;
}
// Test component configuration
f_cf_NGAP_gNB_Up/*aMF_Up*/(v_ngap_gnb_or_amf);
v_test := valueof(
m_additionalDLUPTNLInformationForHOItem(
m_ie_uPTLInf(
m_ie_gTPTunnel(
m_ie_tla,
m_ie_gtpTeId
)),
{ m_qosFlowItemWithDataForwarding(
m_dataForwardingAccepted
)
}
));
v_test1 := valueof(
m_additionalDLUPTNLInformationForHOItem(
m_ie_uPTLInf(
m_ie_gTPTunnel(
m_ie_tla,
m_ie_gtpTeId
)),
{ m_qosFlowItemWithDataForwarding(
m_qosFlowItemWithDataForwarding_id_CurrentQoSParaSetIndex(
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
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down/*gNBoraMF*/();
} // End of testcase TC_NGAP_gNB_or_aMF_testcaseName_01
}//end of group TC_testcase_template
group gNB_Role{
//8.2
group PDU_Session_Management_Procedures{
//8.2.1
group PDU_Session_Resource_Setup{
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
/**
* @desc Verify ...
* <pre>
* Pics Selection:
* Configuration:
*
* </pre>
*
* @see ETSI TS
* @reference ETSI TS
*/
testcase TP_NGAP_GNB_PDU_01() runs on aMFNGAPComponent system TestAdapter {
// Local variables
var aMFNGAPComponent v_ngap_amf;
// Test control
if (not PICS_NGAP_GNB_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_GNB_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component configuration
f_cf_NGAP_aMF_Up(v_ngap_amf);
// Start
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down/*gNBoraMF*/();
} // End of testcase TP_NGAP_GNB_PDU_01
}//end of group PDU_Session_Resource_Setup
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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
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
311
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
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
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
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
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
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
//8.2.2
group PDU_Session_Resource_Release{
}//end of group PDU_Session_Resource_Release
//8.2.3
group PDU_Session_Resource_Modify{
}//end of group PDU_Session_Resource_Modify
//8.2.4
group PDU_Session_Resource_Notify{
}//end of group PDU_Session_Resource_Notify
//8.2.5
group PDU_Session_Resource_Modify_Indication{
}//end of group PDU_Session_Resource_Modify_Indication
}//end of group PDU_Session_Management_Procedures
//8.3
group UE_Context_Management_Procedures{
//8.3.1
group Initial_Context_Setup{
}//end of group Initial_Context_Setup
//8.3.2
group UE_Context_Release_Request_NG_RAN_node_initiated{
}//end of group UE_Context_Release_Request_NG_RAN_node_initiated
//8.3.3
group UE_Context_Release_AMF_initiated{
}//end of group UE_Context_Release_AMF_initiated
//8.3.4
group UE_Context_Modification{
}//end of group UE_Context_Modification
//8.3.5
group RRC_Inactive_Transition_Report{
}//end of group RRC_Inactive_Transition_Report
//8.3.6
group Connection_Establishment_Indication{
}//end of group Connection_Establishment_Indication
//8.3.7
group AMF_CP_Relocation_Indication{
}//end of group AMF_CP_Relocation_Indication
//8.3.8
group RAN_CP_Relocation_Indication{
}//end of group RAN_CP_Relocation_Indication
//8.3.9
group Retrieve_UE_Information{
}//end of group Retrieve_UE_Information
//8.3.10
group UE_Information_Transfer{
}//end of group UE_Information_Transfer
//8.3.11
group UE_Context_Suspend{
}//end of group UE_Context_Suspend
//8.3.12
group UE_Context_Resume{
}//end of group UE_Context_Resume
}//end of group UE_Context_Management_Procedures
//8.4
group UE_Mobility_Management_Procedures{
//8.4.1
group Handover_Preparation{
}//end of group Handover_Preparation
//8.4.2
group Handover_Resource_Allocation{
}//end of group Handover_Resource_Allocation
//8.4.3
group Handover_Notification{
}//end of group Handover_Notification
//8.4.4
group Path_Switch_Request{
}//end of group Path_Switch_Request
//8.4.5
group Handover_Cancellation{
}//end of group Handover_Cancellation
//8.4.6
group Uplink_RAN_Status_Transfer{
}//end of group Uplink_RAN_Status_Transfer
//8.4.7
group Downlink_RAN_Status_Transfer{
}//end of group Downlink_RAN_Status_Transfer
//8.4.8
group Handover_Success{
}//end of group Handover_Success
//8.4.9
group Uplink_RAN_Early_Status_Transfer{
}//end of group Uplink_RAN_Early_Status_Transfer
//8.4.10
group Downlink_RAN_Early_Status_Transfer{
}//end of group Downlink_RAN_Early_Status_Transfer
}//end of group UE_Mobility_Management_Procedures
//8.5
group Paging_Procedures{
//8.5.1
group Paging{
}//end of group Paging
}//end of group Paging_Procedures
//8.6
group Transport_of_NAS_Messages_Procedures{
//8.6.1
group Initial_UE_Message{
}//end of group Initial_UE_Message
//8.6.2
group Downlink_NAS_Transport{
}//end of group Downlink_NAS_Transport
//8.6.3
group Uplink_NAS_Transport{
}//end of group Uplink_NAS_Transport
//8.6.4
group NAS_Non_Delivery_Indication{
}//end of group NAS_Non_Delivery_Indication
//8.6.5
group Rerout_NAS_Request{
}//end of group Rerout_NAS_Request
}//end of group Transport_of_NAS_Messages_Procedures
//8.7
group Interface_Management_Procedures{
//8.7.1
group NG_Setup{
}//end of group NG_Setup
//8.7.2
group RAN_Configuration_Update{
}//end of group RAN_Configuration_Update
//8.7.3
group AMF_Configuration_Update{
}//end of group AMF_Configuration_Update
//8.7.4
group NG_Reset{
}//end of group NG_Reset
//8.7.5
group Error_Indication{
}//end of group Error_Indication
//8.7.6
group AMF_Status_Indication{
}//end of group AMF_Status_Indication
//8.7.7
group Overload_Start{
}//end of group Overload_Start
//8.7.8
group Overload_Stop{
}//end of group Overload_Stop
}//end of group Interface_Management_Procedures
//8.8
group Configuration_Transfer_Procedures{
//8.8.1
group Uplink_RAN_Configuration_Transfer{
}//end of group Uplink_RAN_Configuration_Transfer
//8.8.2
group Downlink_RAN_Configuration_Transfer{
}//end of group Downlink_RAN_Configuration_Transfer
//8.9
group Warning_Message_Transmission_Procedures{
}//end of group Warning_Message_Transmission_Procedures
//8.9.1
group Write_Replace_Warning{
}//end of group Write_Replace_Warning
//8.9.2
group PWS_Cancel{
}//end of group PWS_Cancel
//8.9.3
group PWS_Restart_Indication{
}//end of group PWS_Restart_Indication
//8.9.4
group PWS_Failure_Indication{
}//end of group PWS_Failure_Indication
}//end of group Configuration_Transfer_Procedures
//8.10
group NRPPa_Transport_Procedures{
}//end of group NRPPa_Transport_Procedures
//8.11
group Trace_Procedures{
//8.11.1
group Trace_Start{
}//end of group Trace_Start
//8.11.2
group Trace_Failure_Indication{
}//end of group Trace_Failure_Indication
//8.11.3
group Deactivate_Trace{
}//end of group Deactivate_Trace
//8.11.4
group Cell_Traffic_Trace{
}//end of group Cell_Traffic_Trace
}//end of group Trace_Procedures
//8.12
group Location_Reporting_Procedures{
//8.12.1
group Location_Reporting_Control{
}//end of group Location_Reporting_Control
//8.12.2
group Location_Reporting_Failure_Indication{
}//end of group Location_Reporting_Failure_Indication
//8.12.3
group Location_Report{
}//end of group Location_Report
}//end of group Location_Reporting_Procedures
//8.13
group UE_TNLA_Binding_Procedures{
//8.13.1
group UE_TNLA_Binding_Release{
}//end of group UE_TNLA_Binding_Release
}//end of group UE_TNLA_Binding_Procedures
//8.14
group UE_Radio_Capability_Management_Procedures{
//8.14.1
group UE_Radio_Capability_Info_Indication{
}//end of group UE_Radio_Capability_Info_Indication
//8.14.2
group UE_Radio_Capability_Check{
}//end of group UE_Radio_Capability_Check
//8.14.3
group UE_Radio_Capability_ID_Mapping{
}//end of group UE_Radio_Capability_ID_Mapping
}//end of group UE_Radio_Capability_Management_Procedures
//8.15
group Data_Usage_Reporting_Procedures{
//8.15.1
group Secondary_RAT_Data_Usage_Report{
}//end of group Secondary_RAT_Data_Usage_Report
}//end of group Data_Usage_Reporting_Procedures
//8.16
group RIM_Information_Transfer_Procedures{
//8.16.1
group Uplink_RIM_Information_Transfer{
}//end of group Uplink_RIM_Information_Transfer
//8.16.2
group Downlink_RIM_Information_Transfer{
}//end of group Downlink_RIM_Information_Transfer
}//end of group RIM_Information_Transfer_Procedures
}//end of group gNB_Role
group aMF_Role{
//8.2
group PDU_Session_Management_Procedures{
//8.2.1
group PDU_Session_Resource_Setup{
}//end of group PDU_Session_Resource_Setup
//8.2.2
group PDU_Session_Resource_Release{
}//end of group PDU_Session_Resource_Release
//8.2.3
group PDU_Session_Resource_Modify{
}//end of group PDU_Session_Resource_Modify
//8.2.4
group PDU_Session_Resource_Notify{
}//end of group PDU_Session_Resource_Notify
//8.2.5
group PDU_Session_Resource_Modify_Indication{
}//end of group PDU_Session_Resource_Modify_Indication
}//end of group PDU_Session_Management_Procedures
//8.3
group UE_Context_Management_Procedures{
//8.3.1
group Initial_Context_Setup{
}//end of group Initial_Context_Setup
//8.3.2
group UE_Context_Release_Request_NG_RAN_node_initiated{
}//end of group UE_Context_Release_Request_NG_RAN_node_initiated
//8.3.3
group UE_Context_Release_AMF_initiated{
}//end of group UE_Context_Release_AMF_initiated
//8.3.4
group UE_Context_Modification{
}//end of group UE_Context_Modification
//8.3.5
group RRC_Inactive_Transition_Report{
}//end of group RRC_Inactive_Transition_Report
//8.3.6
group Connection_Establishment_Indication{
}//end of group Connection_Establishment_Indication
//8.3.7
group AMF_CP_Relocation_Indication{
}//end of group AMF_CP_Relocation_Indication
//8.3.8
group RAN_CP_Relocation_Indication{
}//end of group RAN_CP_Relocation_Indication
//8.3.9
group Retrieve_UE_Information{
}//end of group Retrieve_UE_Information
//8.3.10
group UE_Information_Transfer{
}//end of group UE_Information_Transfer
//8.3.11
group UE_Context_Suspend{
}//end of group UE_Context_Suspend
//8.3.12
group UE_Context_Resume{
}//end of group UE_Context_Resume
}//end of group UE_Context_Management_Procedures
//8.4
group UE_Mobility_Management_Procedures{
//8.4.1
group Handover_Preparation{
}//end of group Handover_Preparation
//8.4.2
group Handover_Resource_Allocation{
}//end of group Handover_Resource_Allocation
//8.4.3
group Handover_Notification{
}//end of group Handover_Notification
//8.4.4
group Path_Switch_Request{
}//end of group Path_Switch_Request
//8.4.5
group Handover_Cancellation{
}//end of group Handover_Cancellation
//8.4.6
group Uplink_RAN_Status_Transfer{
}//end of group Uplink_RAN_Status_Transfer
//8.4.7
group Downlink_RAN_Status_Transfer{
}//end of group Downlink_RAN_Status_Transfer
//8.4.8
group Handover_Success{
}//end of group Handover_Success
//8.4.9
group Uplink_RAN_Early_Status_Transfer{
}//end of group Uplink_RAN_Early_Status_Transfer
//8.4.10
group Downlink_RAN_Early_Status_Transfer{
}//end of group Downlink_RAN_Early_Status_Transfer
}//end of group UE_Mobility_Management_Procedures
//8.5
group Paging_Procedures{
//8.5.1
group Paging{
}//end of group Paging
}//end of group Paging_Procedures
//8.6
group Transport_of_NAS_Messages_Procedures{
//8.6.1
group Initial_UE_Message{
}//end of group Initial_UE_Message
//8.6.2
group Downlink_NAS_Transport{
}//end of group Downlink_NAS_Transport
//8.6.3
group Uplink_NAS_Transport{
}//end of group Uplink_NAS_Transport
//8.6.4
group NAS_Non_Delivery_Indication{
}//end of group NAS_Non_Delivery_Indication
//8.6.5
group Rerout_NAS_Request{
}//end of group Rerout_NAS_Request
}//end of group Transport_of_NAS_Messages_Procedures
//8.7
group Interface_Management_Procedures{
//8.7.1
group NG_Setup{
}//end of group NG_Setup
//8.7.2
group RAN_Configuration_Update{
}//end of group RAN_Configuration_Update
//8.7.3
group AMF_Configuration_Update{
}//end of group AMF_Configuration_Update
//8.7.4
group NG_Reset{
}//end of group NG_Reset
//8.7.5
group Error_Indication{
}//end of group Error_Indication
//8.7.6
group AMF_Status_Indication{
}//end of group AMF_Status_Indication
//8.7.7
group Overload_Start{
}//end of group Overload_Start
//8.7.8
group Overload_Stop{
}//end of group Overload_Stop
}//end of group Interface_Management_Procedures
//8.8
group Configuration_Transfer_Procedures{
//8.8.1
group Uplink_RAN_Configuration_Transfer{
}//end of group Uplink_RAN_Configuration_Transfer
//8.8.2
group Downlink_RAN_Configuration_Transfer{
}//end of group Downlink_RAN_Configuration_Transfer
//8.9
group Warning_Message_Transmission_Procedures{
}//end of group Warning_Message_Transmission_Procedures
//8.9.1
group Write_Replace_Warning{
}//end of group Write_Replace_Warning
//8.9.2
group PWS_Cancel{
}//end of group PWS_Cancel
//8.9.3
group PWS_Restart_Indication{
}//end of group PWS_Restart_Indication
//8.9.4
group PWS_Failure_Indication{
}//end of group PWS_Failure_Indication
}//end of group Configuration_Transfer_Procedures
//8.10
group NRPPa_Transport_Procedures{
}//end of group NRPPa_Transport_Procedures
//8.11
group Trace_Procedures{
//8.11.1
group Trace_Start{
}//end of group Trace_Start
//8.11.2
group Trace_Failure_Indication{
}//end of group Trace_Failure_Indication
//8.11.3
group Deactivate_Trace{
}//end of group Deactivate_Trace
//8.11.4
group Cell_Traffic_Trace{
}//end of group Cell_Traffic_Trace
}//end of group Trace_Procedures
//8.12
group Location_Reporting_Procedures{
//8.12.1
group Location_Reporting_Control{
}//end of group Location_Reporting_Control
//8.12.2
group Location_Reporting_Failure_Indication{
}//end of group Location_Reporting_Failure_Indication
//8.12.3
group Location_Report{
}//end of group Location_Report
}//end of group Location_Reporting_Procedures
//8.13
group UE_TNLA_Binding_Procedures{
//8.13.1
group UE_TNLA_Binding_Release{
}//end of group UE_TNLA_Binding_Release
}//end of group UE_TNLA_Binding_Procedures
//8.14
group UE_Radio_Capability_Management_Procedures{
//8.14.1
group UE_Radio_Capability_Info_Indication{
}//end of group UE_Radio_Capability_Info_Indication
//8.14.2
group UE_Radio_Capability_Check{
}//end of group UE_Radio_Capability_Check
//8.14.3
group UE_Radio_Capability_ID_Mapping{
}//end of group UE_Radio_Capability_ID_Mapping
}//end of group UE_Radio_Capability_Management_Procedures
//8.15
group Data_Usage_Reporting_Procedures{
//8.15.1
group Secondary_RAT_Data_Usage_Report{
}//end of group Secondary_RAT_Data_Usage_Report
}//end of group Data_Usage_Reporting_Procedures
//8.16
group RIM_Information_Transfer_Procedures{
//8.16.1
group Uplink_RIM_Information_Transfer{
}//end of group Uplink_RIM_Information_Transfer
//8.16.2
group Downlink_RIM_Information_Transfer{
}//end of group Downlink_RIM_Information_Transfer
}//end of group RIM_Information_Transfer_Procedures
}//end of group aMF_Role