Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/**
* @author ETSI/STF498
* @version $Url$
* $Id$
* @desc Testcontrol module for INT GTPv2-C protocol
*/
module AtsGtpv2C_TestControl {
// ATS GTPv2-C
import from AtsGtpv2C_TestCases all;
// LibGtpv2C
import from LibGtpv2C_Pics all;
// Test Execution
control {
/* IUT is MME */
if (PICS_S11_IUT_IS_MME) {
/* Path management */
if (PICS_ECHO_REQUEST and PICS_ECHO_REPLY) {
execute(TC_S11_MME_PM_01());
execute(TC_S11_MME_PM_02());
}
if (PICS_VERSION_NOT_SUPPORTED) {
execute(TC_S11_MME_PM_03());
}
/* Tunnel management */
if (PICS_MME_CREATE_SESSION_REQUEST and PICS_MME_CREATE_BEARER_RESPONSE and PICS_MME_MODIFY_BEARER_REQUEST) {
execute(TC_S11_MME_TM_01());
execute(TC_S11_MME_TM_02());
}
if (PICS_MME_BEARER_RESOURCE_COMMAND) {
execute(TC_S11_MME_TM_03());
execute(TC_S11_MME_TM_04());
}
if (PICS_MME_DELETE_SESSION_REQUEST) {
execute(TC_S11_MME_TM_05());
}
if (PICS_MME_DELETE_BEARER_RESPONSE) {
execute(TC_S11_MME_TM_05());
}
if (PICS_MME_DELETE_BEARER_RESPONSE) {
execute(TC_S11_MME_TM_06());
}
if (PICS_MME_DOWNLINK_DATA_NOTIFICATION_ACKNOWLEDGE) {
execute(TC_S11_MME_TM_07());
}
if (PICS_MME_DOWNLINK_DATA_FAILURE_INDICATION) {
execute(TC_S11_MME_TM_08());
}
if (PICS_MME_DELETE_INDIRECT_DATA_FORWARDING_TUNNEL_REQUEST) {
execute(TC_S11_MME_TM_09());
}
if (PICS_MME_MODIFY_BEARER_COMMAND) {
execute(TC_S11_MME_TM_10());
execute(TC_S11_MME_TM_11());
}
}
/* IUT is S-GW */
if (PICS_S11_IUT_IS_SGW) {
/* Path management */
if (PICS_ECHO_REQUEST and PICS_ECHO_REPLY) {
execute(TC_S11_SGW_PM_01());
execute(TC_S11_SGW_PM_02());
execute(TC_S11_SGW_PM_03());
}
if (PICS_VERSION_NOT_SUPPORTED) {
execute(TC_S11_SGW_PM_03());
}
/* Tunnel management */
if (PICS_SGW_CREATE_SESSION_RESPONSE and PICS_SGW_CREATE_BEARER_REQUEST and PICS_SGW_MODIFY_BEARER_RESPONSE) {
execute(TC_S11_SGW_TM_01());
execute(TC_S11_SGW_TM_02());
execute(TC_S11_SGW_TM_03());
}
if (PICS_SGW_BEARER_RESOURCE_FAILURE_INDICATION) {
execute(TC_S11_SGW_TM_04());
}
if (PICS_SGW_DELETE_SESSION_RESPONSE) {
execute(TC_S11_SGW_TM_05());
}
if (PICS_SGW_DELETE_BEARER_REQUEST) {
execute(TC_S11_SGW_TM_06());
}
if (PICS_SGW_DOWNLINK_DATA_NOTIFICATION) {
execute(TC_S11_SGW_TM_07());
execute(TC_S11_SGW_TM_08());
}
if (PICS_SGW_DELETE_INDIRECT_DATA_FORWARDING_TUNNEL_RESPONSE) {
execute(TC_S11_SGW_TM_09());
}
if (PICS_SGW_UPDATE_BEARER_REQUEST) {
execute(TC_S11_SGW_TM_10());
execute(TC_S11_SGW_TM_11());
}
}
} // End of 'control' statement
} // End of module AtsGtpv2C_TestControl