Loading DiameterS6a/ttcn/DiameterS6a_Templates.ttcn +196 −12 Original line number Diff line number Diff line Loading @@ -150,17 +150,25 @@ module DiameterS6a_Templates { /** * @desc Identifies the per subscriber"s default APN configuration */ template (value) Context_Identifier_AVP m_context_Identifier_AVP_dummy := { template (value) Context_Identifier_AVP m_context_Identifier_dummy := { aVP_Header := m_aVP_HeaderVid_Mbit1 ( c_context_Identifier_AVP_Code, 4, c_vendId3gpp ), aVP_Data := 0 } // End of tempate m_context_Identifier_AVP_dummy } // End of tempate m_context_Identifier_dummy template (value) PDN_Type_AVP m_pdn_Type_dummy := { aVP_Header := m_aVP_HeaderVid_Mbit1 ( c_pdn_Type_AVP_Code, 4, c_vendId3gpp ), pDN_Type_Code := IPv4_OR_IPv6_E } // End of tempate m_pdn_Type_dummy /** * @desc Contain information about a dynamically established APN on a serving node */ template (value) Active_APN_AVP m_active_APN_AVP_dummy := { aVP_Header := m_aVP_HeaderVid_Mbit1 ( c_active_APN_AVP_Code, 4, c_vendId3gpp ), context_Identifier := m_context_Identifier_AVP_dummy, context_Identifier := m_context_Identifier_dummy, service_Selection := omit, mip6_Agent_Info := omit, visited_Network_Identifier := omit, Loading Loading @@ -219,6 +227,31 @@ module DiameterS6a_Templates { aVP_Data := ''O } // End of tempate m_visited_Network_Identifier_AVP_dummy /** * @desc Information related to the user’s subscribed APN configurations */ template APN_Configuration_AVP m_PN_Configuration_dummy := { aVP_Header := m_aVP_HeaderVid_Mbit1 ( c_apn_Configuration_AVP_Code, 4, c_vendId3gpp ), context_Identifier := m_context_Identifier_dummy, served_Party := omit, pDN_Type := m_pdn_Type_dummy, service_Selection := m_service_Selection_AVP_dummy, ePS_Subscribed_QoS_Profile := omit, vPLMN_Dynamic_Address_Allowed := omit, mIP6_Agent_Info := omit, visited_Network_Identifier := omit, pDN_GW_Allocation_Type := omit, threeGPP_Charging_Char := omit, aMBR := omit, specific_APN_Info := omit, aPN_OI_Replacement := omit, sIPTO_Permission := omit, lIPA_Permission := omit, aVP_Type := omit } // End of tempate m_PN_Configuration_dummy Loading Loading @@ -307,7 +340,29 @@ module DiameterS6a_Templates { c_vendId3gpp ), error_Diagnostic_Code := p_error_Diagnostic_Code } // End of template } // End of template mw_errorDiagnostic template (present) Operator_Determined_Barring_AVP mw_operator_Determined_Barring( in template (present) UInt32 p_aVP_Data ) := { aVP_Header := m_aVP_HeaderVid_Mbit1 ( c_operator_Determined_Barring_AVP_Code, 4, c_vendId3gpp ), aVP_Data := p_aVP_Data } // End of template mw_operator_Determined_Barring template (present) HPLMN_ODB_AVP mw_hplmn_ODB( in template (present) UInt32 p_aVP_Data ) := { aVP_Header := m_aVP_HeaderVid_Mbit1 ( c_hplmn_ODB_AVP_Code, 4, c_vendId3gpp ), aVP_Data := p_aVP_Data } // End of template mw_hplmn_ODB } // End of group awaitingTemplatesForAVPs Loading Loading @@ -1128,7 +1183,7 @@ module DiameterS6a_Templates { * @param p_aVP_Data Per subscriber"s default APN configuration */ template (value) Context_Identifier_AVP m_context_Identifier_AVP( in UInt32 p_aVP_Data ) modifies m_context_Identifier_AVP_dummy := { modifies m_context_Identifier_dummy := { aVP_Data := p_aVP_Data } // End of template m_context_Identifier_AVP Loading Loading @@ -1210,6 +1265,22 @@ module DiameterS6a_Templates { uLA_MSG := p_uLA_MSG } // End of tempate mw_mmeUpdateLocationAnswer /** * @desc Main receive template for MME_S6a port * @param p_cLR_MSG CL-Request receive template message */ template (present) DIAMETER_MSG mw_mmeCancelLocationRequest(in template (present) CLR_MSG p_cLR_MSG) := { cLR_MSG := p_cLR_MSG } // End of tempate mw_mmeCancelLocationRequest /** * @desc Main receive template for MME_S6a port * @param p_cLA_MSG CL-Answer receive template message */ template (present) DIAMETER_MSG mw_mmeCancelLocationAnswer(in template (present) CLA_MSG p_cLA_MSG) := { cLA_MSG := p_cLA_MSG } // End of tempate mw_mmeCancelLocationAnswer } // End of group S6basic_request_templates_receive group S6aBasic_answer_templates_send { Loading Loading @@ -1248,6 +1319,52 @@ module DiameterS6a_Templates { aVP_Data := p_aVP_Data } // End of tempate mw_ula_Flags_AVP template (value) Cancellation_Type_AVP mw_cancellationType_dummy := { aVP_Header := m_aVP_HeaderVid_Mbit1 ( c_cancellation_Type_AVP_Code, 4, c_vendId3gpp ), cancellation_Type := PX_CANCELLATION_TYPE } // End of template mw_cancellationType_dummy template (value) Cancellation_Type_AVP mw_cancellationType( in template (value) Cancellation_Type_Code p_cancellation_Type ) modifies mw_cancellationType_dummy := { cancellation_Type := p_cancellation_Type } // End of template mw_cancellationType template (present) Subscription_Data_AVP mw_subscriptionData_dummy := { aVP_Header := m_aVP_HeaderVid_Mbit1 ( c_subscription_Data_AVP_Code, 4, c_vendId3gpp ), subscriber_Status := *, mSISDN := *, sTN_SR := *, iCS_Indicator := *, network_Access_Mode := *, operator_Determined_Barring := *, hPLMN_ODB := *, zone_Code := *, access_Restriction_Data := *, aPN_OI_Replacement := *, lCS_Info := *, teleservice_List := *, call_Barring_Info := *, threeGPP_Charging_Char := *, aMBR := *, aPN_Configuration_Profile := *, rAT_Freq_Sel_Priority_ID := *, trace_Data := *, gPRS_Subscription_Data := *, gSG_Subscription_Data := *, roaming_Rest_Unsupp_Feature := *, subscribed_Perio_RAUTAU_Timer := *, mPS_Priority := *, vPLMN_LIPA_Allowed := *, relay_Node_Indicator := *, mDT_User_Consent := *, aVP_Type := * } // End of template mw_subscriptionData_dummy } // End of group S6aBasic_answer_templates_receive } // End of group S6aBase_templates Loading Loading @@ -1282,6 +1399,19 @@ module DiameterS6a_Templates { cLR_Body := p_clrBody } // End of tempate md_CLR_TCs /** * @desc Receive template for CLA * @param p_sessionId Session identifier * @param p_claBody CLA message body */ template (value) CLA_MSG md_CLA_TCs( in template (value) Session_Id_AVP p_sessionId, in template (value) CLA_Body_AVP p_claBody ) modifies m_S6a_CLA_dummy := { session_Id := p_sessionId, cLA_Body := p_claBody } // End of template md_CLA_TCs group t_TC_HSS_CLR { /** Loading Loading @@ -1491,9 +1621,21 @@ module DiameterS6a_Templates { origin_Realm := valueof(m_originRealm(PX_ORIGIN_REALM)) } // End of template md_claBodyAvps_TC_08 } // End of group t_TC_HSS_UL_08 /** * @desc Send templates for TC_HSS_UL_12 */ group t_TC_HSS_UL_12 { template (value) Subscription_Data_AVP md_Subscription_Data_aPN_Configuration_Profile( in template (value) APN_Configuration_Profile_AVP p_aPN_Configuration_Profile ) modifies m_subscriptionData_dummy := { aPN_Configuration_Profile := p_aPN_Configuration_Profile } // End of tempate md_Subscription_Data_aPN_Configuration_Profile } // End of group t_TC_HSS_UL_12 } // End of group S6aModified_request_templates_send group S6aModified_request_templates_receive { Loading Loading @@ -1554,6 +1696,19 @@ module DiameterS6a_Templates { uLA_Body := p_ulaBody } // End of template mdw_ULA_TCs /** * @desc Receive template for CLR * @param p_sessionId Session identifier * @param p_clrBody CLR message body */ template (present) CLR_MSG mdw_CLR_TCs( in template (present) Session_Id_AVP p_sessionId, in template (present) CLR_Body_AVP p_clrBody ) modifies mw_S6a_CLR_dummy := { session_Id := p_sessionId, cLR_Body := p_clrBody } // End of template mdw_CLR_TCs /** * @desc Receive template for CLA * @param p_sessionId Session identifier Loading Loading @@ -1665,7 +1820,6 @@ module DiameterS6a_Templates { visited_Network_Identifier := p_visited_Network_Identifier } // End of tempate m_active_APN_AVP_ul_02 } // End of group t_TC_HSS_UL_02 /** Loading Loading @@ -1761,7 +1915,7 @@ module DiameterS6a_Templates { group t_TC_HSS_UL_08 { /** * @desc Receive template for CLA message body with TODO * @desc Receive template for CLR message body with TODO * @param p_cancellation_Type Cancellation type code value */ template (present) CLR_Body_AVP mdw_clrBodyAvps_TC_08( Loading @@ -1775,6 +1929,36 @@ module DiameterS6a_Templates { } // End of group t_TC_HSS_UL_08 /** * @desc Receive templates for TC_HSS_UL_12 */ group t_TC_HSS_UL_12 { /** * @desc TODO * @param p_subscription_Data TODO */ template (present) ULA_Body_AVP mdw_ulaBodyAvps_TC_12( in template (present) Subscription_Data_AVP p_subscription_Data ) modifies mw_S6a_ULA_Body_dummy := { subscription_Data := p_subscription_Data } // End of template mdw_ulaBodyAvps_TC_12 /** * @desc TODO * @param p_operator_Determined_Barring TODO * @param p_hPLMN_ODB TODO */ template (present) Subscription_Data_AVP mdw_subscriptionData_aPN_Configuration_Profile( in template (present) Operator_Determined_Barring_AVP p_operator_Determined_Barring, in template (present) HPLMN_ODB_AVP p_hPLMN_ODB ) modifies mw_subscriptionData_dummy := { operator_Determined_Barring := p_operator_Determined_Barring ifpresent, hPLMN_ODB := p_hPLMN_ODB ifpresent } // End of template mdw_subscriptionData_aPN_Configuration_Profile } // End of group t_TC_HSS_UL_12 } // End of group S6aModified_answer_templates_receive } // End of group S6aModified_templates Loading DiameterS6a/ttcn/DiameterS6a_TestCases.ttcn3 +44 −43 File changed.Preview size limit exceeded, changes collapsed. Show changes DiameterS6a/ttcn/DiameterS6a_TestConfiguration.ttcn3 +34 −3 Original line number Diff line number Diff line /** * @author STF 466 * @version $Id: $ * @version $Id$ * @desc This module provides test component configurations for DiameterS6a tests. */ Loading Loading @@ -64,7 +64,7 @@ module DiameterS6a_TestConfiguration { } // End of funtion f_cf_1S6aUp_MME /** * @desc Creates test configuration of CF_1Sa6 - HSS is the SUT * @desc Creates test configuration of CF_1Sa6 - HSS is the SUT, with one MME simulated * @param v_diameterS6a_mme Component instance for HSS IUT role */ function f_cf_1S6aUp_HSS ( Loading @@ -79,6 +79,22 @@ module DiameterS6a_TestConfiguration { f_setVerdict( e_success ); } // End of funtion f_cf_1S6aUp_HSS /** * @desc Creates test configuration of CF_1Sa6 - HSS is the SUT, with two MMEs simulated * @param v_diameterS6a_mme Component instance for HSS IUT role */ function f_cf_2S6aUp_HSS ( out TestAdapter v_diameterS6a_mme ) runs on ServerSyncComp { // Create v_diameterS6a_mme := TestAdapter.create; // Connect connect( v_diameterS6a_mme:syncPort, self:syncPort ) ; // Map port map( v_diameterS6a_mme:MME_S6a, system:MME_S6a ); f_setVerdict( e_success ); } // End of funtion f_cf_1S6aUp_HSS } // End of group cfUp group cfDown { Loading Loading @@ -106,7 +122,7 @@ module DiameterS6a_TestConfiguration { } // End of function f_cf_1S6aDown_MME /** * @desc Deletes configuration of CF_1Sa6 - HSS is the SUT * @desc Deletes configuration of CF_1Sa6 - HSS is the SUT, with one MME simulated * @param v_diameterS6a_mme diameter component */ function f_cf_1S6aDown_HSS( Loading @@ -120,6 +136,21 @@ module DiameterS6a_TestConfiguration { disconnect( v_diameterS6a_mme:syncPort, self:syncPort ); } // End of function f_cf_1S6aDown_HSS /** * @desc Deletes configuration of CF_2Sa6 - HSS is the SUT, with two MMEs simulated * @param v_diameterS6a_mme diameter component */ function f_cf_2S6aDown_HSS( in TestAdapter v_diameterS6a_mme ) runs on ServerSyncComp { f_serverWaitForAllClientsToStop(); // Unmap unmap( v_diameterS6a_mme:MME_S6a, system:MME_S6a ); // Disconnect disconnect( v_diameterS6a_mme:syncPort, self:syncPort ); } // End of function f_cf_1S6aDown_HSS } // End of group cfDown group syncNoStop { // Same functions as in LibCommon but without call of f_serverWaitForAllClientsToStop() Loading Loading
DiameterS6a/ttcn/DiameterS6a_Templates.ttcn +196 −12 Original line number Diff line number Diff line Loading @@ -150,17 +150,25 @@ module DiameterS6a_Templates { /** * @desc Identifies the per subscriber"s default APN configuration */ template (value) Context_Identifier_AVP m_context_Identifier_AVP_dummy := { template (value) Context_Identifier_AVP m_context_Identifier_dummy := { aVP_Header := m_aVP_HeaderVid_Mbit1 ( c_context_Identifier_AVP_Code, 4, c_vendId3gpp ), aVP_Data := 0 } // End of tempate m_context_Identifier_AVP_dummy } // End of tempate m_context_Identifier_dummy template (value) PDN_Type_AVP m_pdn_Type_dummy := { aVP_Header := m_aVP_HeaderVid_Mbit1 ( c_pdn_Type_AVP_Code, 4, c_vendId3gpp ), pDN_Type_Code := IPv4_OR_IPv6_E } // End of tempate m_pdn_Type_dummy /** * @desc Contain information about a dynamically established APN on a serving node */ template (value) Active_APN_AVP m_active_APN_AVP_dummy := { aVP_Header := m_aVP_HeaderVid_Mbit1 ( c_active_APN_AVP_Code, 4, c_vendId3gpp ), context_Identifier := m_context_Identifier_AVP_dummy, context_Identifier := m_context_Identifier_dummy, service_Selection := omit, mip6_Agent_Info := omit, visited_Network_Identifier := omit, Loading Loading @@ -219,6 +227,31 @@ module DiameterS6a_Templates { aVP_Data := ''O } // End of tempate m_visited_Network_Identifier_AVP_dummy /** * @desc Information related to the user’s subscribed APN configurations */ template APN_Configuration_AVP m_PN_Configuration_dummy := { aVP_Header := m_aVP_HeaderVid_Mbit1 ( c_apn_Configuration_AVP_Code, 4, c_vendId3gpp ), context_Identifier := m_context_Identifier_dummy, served_Party := omit, pDN_Type := m_pdn_Type_dummy, service_Selection := m_service_Selection_AVP_dummy, ePS_Subscribed_QoS_Profile := omit, vPLMN_Dynamic_Address_Allowed := omit, mIP6_Agent_Info := omit, visited_Network_Identifier := omit, pDN_GW_Allocation_Type := omit, threeGPP_Charging_Char := omit, aMBR := omit, specific_APN_Info := omit, aPN_OI_Replacement := omit, sIPTO_Permission := omit, lIPA_Permission := omit, aVP_Type := omit } // End of tempate m_PN_Configuration_dummy Loading Loading @@ -307,7 +340,29 @@ module DiameterS6a_Templates { c_vendId3gpp ), error_Diagnostic_Code := p_error_Diagnostic_Code } // End of template } // End of template mw_errorDiagnostic template (present) Operator_Determined_Barring_AVP mw_operator_Determined_Barring( in template (present) UInt32 p_aVP_Data ) := { aVP_Header := m_aVP_HeaderVid_Mbit1 ( c_operator_Determined_Barring_AVP_Code, 4, c_vendId3gpp ), aVP_Data := p_aVP_Data } // End of template mw_operator_Determined_Barring template (present) HPLMN_ODB_AVP mw_hplmn_ODB( in template (present) UInt32 p_aVP_Data ) := { aVP_Header := m_aVP_HeaderVid_Mbit1 ( c_hplmn_ODB_AVP_Code, 4, c_vendId3gpp ), aVP_Data := p_aVP_Data } // End of template mw_hplmn_ODB } // End of group awaitingTemplatesForAVPs Loading Loading @@ -1128,7 +1183,7 @@ module DiameterS6a_Templates { * @param p_aVP_Data Per subscriber"s default APN configuration */ template (value) Context_Identifier_AVP m_context_Identifier_AVP( in UInt32 p_aVP_Data ) modifies m_context_Identifier_AVP_dummy := { modifies m_context_Identifier_dummy := { aVP_Data := p_aVP_Data } // End of template m_context_Identifier_AVP Loading Loading @@ -1210,6 +1265,22 @@ module DiameterS6a_Templates { uLA_MSG := p_uLA_MSG } // End of tempate mw_mmeUpdateLocationAnswer /** * @desc Main receive template for MME_S6a port * @param p_cLR_MSG CL-Request receive template message */ template (present) DIAMETER_MSG mw_mmeCancelLocationRequest(in template (present) CLR_MSG p_cLR_MSG) := { cLR_MSG := p_cLR_MSG } // End of tempate mw_mmeCancelLocationRequest /** * @desc Main receive template for MME_S6a port * @param p_cLA_MSG CL-Answer receive template message */ template (present) DIAMETER_MSG mw_mmeCancelLocationAnswer(in template (present) CLA_MSG p_cLA_MSG) := { cLA_MSG := p_cLA_MSG } // End of tempate mw_mmeCancelLocationAnswer } // End of group S6basic_request_templates_receive group S6aBasic_answer_templates_send { Loading Loading @@ -1248,6 +1319,52 @@ module DiameterS6a_Templates { aVP_Data := p_aVP_Data } // End of tempate mw_ula_Flags_AVP template (value) Cancellation_Type_AVP mw_cancellationType_dummy := { aVP_Header := m_aVP_HeaderVid_Mbit1 ( c_cancellation_Type_AVP_Code, 4, c_vendId3gpp ), cancellation_Type := PX_CANCELLATION_TYPE } // End of template mw_cancellationType_dummy template (value) Cancellation_Type_AVP mw_cancellationType( in template (value) Cancellation_Type_Code p_cancellation_Type ) modifies mw_cancellationType_dummy := { cancellation_Type := p_cancellation_Type } // End of template mw_cancellationType template (present) Subscription_Data_AVP mw_subscriptionData_dummy := { aVP_Header := m_aVP_HeaderVid_Mbit1 ( c_subscription_Data_AVP_Code, 4, c_vendId3gpp ), subscriber_Status := *, mSISDN := *, sTN_SR := *, iCS_Indicator := *, network_Access_Mode := *, operator_Determined_Barring := *, hPLMN_ODB := *, zone_Code := *, access_Restriction_Data := *, aPN_OI_Replacement := *, lCS_Info := *, teleservice_List := *, call_Barring_Info := *, threeGPP_Charging_Char := *, aMBR := *, aPN_Configuration_Profile := *, rAT_Freq_Sel_Priority_ID := *, trace_Data := *, gPRS_Subscription_Data := *, gSG_Subscription_Data := *, roaming_Rest_Unsupp_Feature := *, subscribed_Perio_RAUTAU_Timer := *, mPS_Priority := *, vPLMN_LIPA_Allowed := *, relay_Node_Indicator := *, mDT_User_Consent := *, aVP_Type := * } // End of template mw_subscriptionData_dummy } // End of group S6aBasic_answer_templates_receive } // End of group S6aBase_templates Loading Loading @@ -1282,6 +1399,19 @@ module DiameterS6a_Templates { cLR_Body := p_clrBody } // End of tempate md_CLR_TCs /** * @desc Receive template for CLA * @param p_sessionId Session identifier * @param p_claBody CLA message body */ template (value) CLA_MSG md_CLA_TCs( in template (value) Session_Id_AVP p_sessionId, in template (value) CLA_Body_AVP p_claBody ) modifies m_S6a_CLA_dummy := { session_Id := p_sessionId, cLA_Body := p_claBody } // End of template md_CLA_TCs group t_TC_HSS_CLR { /** Loading Loading @@ -1491,9 +1621,21 @@ module DiameterS6a_Templates { origin_Realm := valueof(m_originRealm(PX_ORIGIN_REALM)) } // End of template md_claBodyAvps_TC_08 } // End of group t_TC_HSS_UL_08 /** * @desc Send templates for TC_HSS_UL_12 */ group t_TC_HSS_UL_12 { template (value) Subscription_Data_AVP md_Subscription_Data_aPN_Configuration_Profile( in template (value) APN_Configuration_Profile_AVP p_aPN_Configuration_Profile ) modifies m_subscriptionData_dummy := { aPN_Configuration_Profile := p_aPN_Configuration_Profile } // End of tempate md_Subscription_Data_aPN_Configuration_Profile } // End of group t_TC_HSS_UL_12 } // End of group S6aModified_request_templates_send group S6aModified_request_templates_receive { Loading Loading @@ -1554,6 +1696,19 @@ module DiameterS6a_Templates { uLA_Body := p_ulaBody } // End of template mdw_ULA_TCs /** * @desc Receive template for CLR * @param p_sessionId Session identifier * @param p_clrBody CLR message body */ template (present) CLR_MSG mdw_CLR_TCs( in template (present) Session_Id_AVP p_sessionId, in template (present) CLR_Body_AVP p_clrBody ) modifies mw_S6a_CLR_dummy := { session_Id := p_sessionId, cLR_Body := p_clrBody } // End of template mdw_CLR_TCs /** * @desc Receive template for CLA * @param p_sessionId Session identifier Loading Loading @@ -1665,7 +1820,6 @@ module DiameterS6a_Templates { visited_Network_Identifier := p_visited_Network_Identifier } // End of tempate m_active_APN_AVP_ul_02 } // End of group t_TC_HSS_UL_02 /** Loading Loading @@ -1761,7 +1915,7 @@ module DiameterS6a_Templates { group t_TC_HSS_UL_08 { /** * @desc Receive template for CLA message body with TODO * @desc Receive template for CLR message body with TODO * @param p_cancellation_Type Cancellation type code value */ template (present) CLR_Body_AVP mdw_clrBodyAvps_TC_08( Loading @@ -1775,6 +1929,36 @@ module DiameterS6a_Templates { } // End of group t_TC_HSS_UL_08 /** * @desc Receive templates for TC_HSS_UL_12 */ group t_TC_HSS_UL_12 { /** * @desc TODO * @param p_subscription_Data TODO */ template (present) ULA_Body_AVP mdw_ulaBodyAvps_TC_12( in template (present) Subscription_Data_AVP p_subscription_Data ) modifies mw_S6a_ULA_Body_dummy := { subscription_Data := p_subscription_Data } // End of template mdw_ulaBodyAvps_TC_12 /** * @desc TODO * @param p_operator_Determined_Barring TODO * @param p_hPLMN_ODB TODO */ template (present) Subscription_Data_AVP mdw_subscriptionData_aPN_Configuration_Profile( in template (present) Operator_Determined_Barring_AVP p_operator_Determined_Barring, in template (present) HPLMN_ODB_AVP p_hPLMN_ODB ) modifies mw_subscriptionData_dummy := { operator_Determined_Barring := p_operator_Determined_Barring ifpresent, hPLMN_ODB := p_hPLMN_ODB ifpresent } // End of template mdw_subscriptionData_aPN_Configuration_Profile } // End of group t_TC_HSS_UL_12 } // End of group S6aModified_answer_templates_receive } // End of group S6aModified_templates Loading
DiameterS6a/ttcn/DiameterS6a_TestCases.ttcn3 +44 −43 File changed.Preview size limit exceeded, changes collapsed. Show changes
DiameterS6a/ttcn/DiameterS6a_TestConfiguration.ttcn3 +34 −3 Original line number Diff line number Diff line /** * @author STF 466 * @version $Id: $ * @version $Id$ * @desc This module provides test component configurations for DiameterS6a tests. */ Loading Loading @@ -64,7 +64,7 @@ module DiameterS6a_TestConfiguration { } // End of funtion f_cf_1S6aUp_MME /** * @desc Creates test configuration of CF_1Sa6 - HSS is the SUT * @desc Creates test configuration of CF_1Sa6 - HSS is the SUT, with one MME simulated * @param v_diameterS6a_mme Component instance for HSS IUT role */ function f_cf_1S6aUp_HSS ( Loading @@ -79,6 +79,22 @@ module DiameterS6a_TestConfiguration { f_setVerdict( e_success ); } // End of funtion f_cf_1S6aUp_HSS /** * @desc Creates test configuration of CF_1Sa6 - HSS is the SUT, with two MMEs simulated * @param v_diameterS6a_mme Component instance for HSS IUT role */ function f_cf_2S6aUp_HSS ( out TestAdapter v_diameterS6a_mme ) runs on ServerSyncComp { // Create v_diameterS6a_mme := TestAdapter.create; // Connect connect( v_diameterS6a_mme:syncPort, self:syncPort ) ; // Map port map( v_diameterS6a_mme:MME_S6a, system:MME_S6a ); f_setVerdict( e_success ); } // End of funtion f_cf_1S6aUp_HSS } // End of group cfUp group cfDown { Loading Loading @@ -106,7 +122,7 @@ module DiameterS6a_TestConfiguration { } // End of function f_cf_1S6aDown_MME /** * @desc Deletes configuration of CF_1Sa6 - HSS is the SUT * @desc Deletes configuration of CF_1Sa6 - HSS is the SUT, with one MME simulated * @param v_diameterS6a_mme diameter component */ function f_cf_1S6aDown_HSS( Loading @@ -120,6 +136,21 @@ module DiameterS6a_TestConfiguration { disconnect( v_diameterS6a_mme:syncPort, self:syncPort ); } // End of function f_cf_1S6aDown_HSS /** * @desc Deletes configuration of CF_2Sa6 - HSS is the SUT, with two MMEs simulated * @param v_diameterS6a_mme diameter component */ function f_cf_2S6aDown_HSS( in TestAdapter v_diameterS6a_mme ) runs on ServerSyncComp { f_serverWaitForAllClientsToStop(); // Unmap unmap( v_diameterS6a_mme:MME_S6a, system:MME_S6a ); // Disconnect disconnect( v_diameterS6a_mme:syncPort, self:syncPort ); } // End of function f_cf_1S6aDown_HSS } // End of group cfDown group syncNoStop { // Same functions as in LibCommon but without call of f_serverWaitForAllClientsToStop() Loading