Newer
Older
* @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());
}
/* 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_MME_CREATE_BEARER_REQUEST and PICS_MME_BEARER_RESOURCE_FAILURE_INDICATION and PICS_MME_MODIFY_BEARER_RESPONSE) {
execute(TC_S11_SGW_TM_01());
} // End of module AtsGtpv2C_TestControl