Commit 5979f76b authored by rennoch's avatar rennoch
Browse files

initial part of f_TC_S1AP_MME_RAB_04

parent e34de6d1
......@@ -173,6 +173,16 @@ module LibS1AP_Steps {
) runs on S1APComponent {
f_recv_S1AP_successfulOutcome(mw_E_RABReleaseCommand(p_value))
} // End of f_recv_E_RABReleaseCommand
/**
* @desc Receive S1AP Message E_RABModificationConfirm
* @param p_value Receive template for E_RABModificationConfirm IEs
*/
function f_recv_E_RABModificationConfirm(
template (present) RecordOf_ProtocolIE p_value := ?
) runs on S1APComponent {
f_recv_S1AP_successfulOutcome(mw_E_RABModificationConfirm(p_value))
} // End of f_recv_E_RABModificationConfirm
/**
* @desc Receive S1AP Message Handover Required
......
......@@ -1452,7 +1452,7 @@ module LibS1AP_Templates {
} // End of template mw_UserLocationInformation
/**
* @desc Receive template for InitiatingMessage message with Realease Command payload
* @desc Receive template for InitiatingMessage message with Release Command payload
* @param p_value The list of Protocol IE values
*/
template (present) InitiatingMessage mw_E_RABReleaseCommand(
......@@ -1472,6 +1472,27 @@ module LibS1AP_Templates {
mw_E_RABReleaseList(p_RecordOf_E_RABReleaseListItem_value)
} // End of template mw_E_RABReleaseCmdIEs
/**
* @desc Receive template for InitiatingMessage message with Modification confirm payload
* @param p_value The list of Protocol IE values
*/
template (present) InitiatingMessage mw_E_RABModificationConfirm(
template (present) RecordOf_ProtocolIE p_value) := {
procedureCode := id_E_RABRelease,
criticality := reject,
value_ := {RecordOf_ProtocolIE := p_value}
} // End of template mw_E_RABModificationConfirm
template (present) RecordOf_ProtocolIE mw_E_RABModificationConfirmIEs(
template (present) MME_UE_S1AP_ID p_MME_value := ?,
template (present) ENB_UE_S1AP_ID p_eNB_value := ?,
template (present) RecordOf_E_RABItem p_RecordOf_E_RABModifyListItem_value := {?}
) := {
mw_MME_UE_S1AP_ID(p_MME_value, ignore),
mw_eNB_UE_S1AP_ID(p_eNB_value, ignore),
mw_E_RABModifyList(p_RecordOf_E_RABModifyListItem_value)
} // End of template mw_E_RABModificationConfirmIEs
}
}
......@@ -4394,6 +4415,14 @@ module LibS1AP_Templates {
value_ := { RecordOf_E_RABItem := p_value }
} // End of template mw_E_RABReleaseList
template (present) ProtocolIE mw_E_RABModifyList(
template (present) RecordOf_E_RABItem p_value := { ? }
) := {
id := S1AP_Constants.id_E_RABToBeReleasedList,
criticality := ignore,
value_ := { RecordOf_E_RABItem := p_value }
} // End of template mw_E_RABModifyList
/**
* @desc Receive template for E-RABSetupListBearerSUReq protocol IE
* @param p_value Expected protocol IE value. Default: mw_E_RABToBeSetupItemBearerSUReq
......
......@@ -41,8 +41,13 @@ module LibS1AP_TypesAndValues {
type record of E_RABSetupItemBearerSURes RecordOf_E_RABSetupItemBearerSURes;
/**
* @desc List of E-RABModifyItemBearerModRes IEs
* @desc List of E-RABModifyItemBearerModConf IEs
*/
type record of E_RABModifyItemBearerModConf RecordOf_E_RABModifyItemBearerModConf;
/**
* @desc List of E-RABModifyItemBearerModRes IEs
*/
type record of E_RABModifyItemBearerModRes RecordOf_E_RABModifyItemBearerModRes;
/**
......
......@@ -4273,7 +4273,7 @@ module S1AP_TCFunctions {
log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
// Test body
action("trigger an E-RAB Modify request");
action("trigger an E-RAB Release request");
f_recv_E_RABReleaseCommand(mw_E_RABReleaseCmdIEs(
vc_MME_UE_ID,
......@@ -4291,6 +4291,39 @@ module S1AP_TCFunctions {
log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
} // End of function f_TC_S1AP_MME_RAB_03
/**
* @desc Testcase function for TC_S1AP_eNB_RAB_04
*/
function f_TC_S1AP_MME_RAB_04() runs on S1APComponent {
// Local variables
// Preamble
f_S1AP_mme_init();
f_rABSetupRequest();
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
// Test body
// action("trigger an E-RAB Modify request");
f_recv_E_RABModificationConfirm(mw_E_RABModificationConfirmIEs(
vc_MME_UE_ID,
vc_eNB_UE_ID,
{mw_E_RABItem}
));
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
// Postamble
f_postamble_S1AP_MME();
f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
} // End of function f_TC_S1AP_MME_RAB_04
} // End of group ERAB_management_group
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment