Loading DiameterGx/ttcn/DiameterGx_Gx_TCFunctions.ttcn +178 −496 File changed.Preview size limit exceeded, changes collapsed. Show changes DiameterGx/ttcn/DiameterGx_PIXITS.ttcn +5 −1 Original line number Diff line number Diff line Loading @@ -377,6 +377,10 @@ module DiameterGx_PIXITS */ modulepar boolean PX_GTPsupport := false; /** @desc boolean indicator, * true, if Rx interface at PCRF is accessable */ modulepar boolean PX_Rxsupport := false; } //end group DiameterCommonGxData Loading DiameterGx/ttcn/DiameterGx_Steps.ttcn3 +32 −1 Original line number Diff line number Diff line Loading @@ -56,6 +56,9 @@ vc_originHost := m_originHost(PX_OriginHost); vc_originRealm := m_originRealm(PX_OriginRealm); // realm of the originator (TS) vc_originHost_IUT := m_originHost(PX_DestinationHost); vc_originRealm_IUT := m_originRealm(PX_DestinationRealm); // realm of the originator (TS) vc_destinationHost := m_destinationHost(PX_DestinationHost); vc_destinationRealm := m_destinationRealm(PX_DestinationRealm); Loading Loading @@ -91,6 +94,28 @@ f_preambleDiameterBaseServer(c_applIdGx); } function f_initiate_session_PCEF() runs on DiameterComponent { f_send_CCR(m_CCR_InitialRequest(vc_sessionId, vc_originHost, vc_originRealm, vc_destinationRealm, f_framedIpAddress4_send(),f_framedIpAddress6_send())); f_awaiting_CCA(mw_CCA_ResultCode(vc_sessionId, vc_originHost_IUT, vc_originRealm_IUT, mw_resultCode(mw_resultCode_diameterSuccess))); } function f_initiate_session_PCRF() runs on DiameterComponent { f_awaiting_CCR(mw_CCR_Request(?, vc_originHost, vc_originRealm, vc_destinationRealm, mw_cC_Request_Type(INITIAL_REQUEST_E), f_framedIpAddress4(), f_framedIpAddress6(), *)); f_send_CCA(m_CCA_basic(vc_sessionId, vc_originHost, vc_originRealm, m_cC_Request_Type(INITIAL_REQUEST_E))); } }// end group Preambles group Postambles { Loading @@ -107,7 +132,7 @@ } function f_terminate_session() runs on DiameterComponent function f_terminate_session_PCRF() runs on DiameterComponent { f_send_RAR(m_RAR_SessionEnd (vc_sessionId, vc_originHost, vc_originRealm, Loading @@ -127,6 +152,12 @@ f_send_CCA(m_CCA_basic(vc_sessionId, vc_originHost, vc_originRealm, m_cC_Request_Type(TERMINATION_REQUEST_E))); } function f_terminate_session_PCEF() runs on DiameterComponent { f_send_CCR(m_CCR_TerminationRequest(vc_sessionId, vc_originHost, vc_originRealm, vc_destinationRealm)); f_awaiting_CCA(mw_CCA_basic(vc_sessionId, vc_originHost_IUT, vc_originRealm_IUT)); } function f_ConfigRun_PCRF(DiameterComponent p_diameterComponent_pcrf, GtpComponent p_gtpComponent1, GtpComponent p_gtpComponent2) runs on ServerSyncComp { Loading DiameterGx/ttcn/DiameterGx_Templates.ttcn +3 −2 Original line number Diff line number Diff line Loading @@ -347,13 +347,13 @@ module DiameterGx_Templates { template Subscription_Id_Data_AVP m_subscription_Id_Data(UTF8String p_avpData):= { aVP_Header := m_aVP_HeaderVid(c_subscription_Id_Data_AVP_Code, 4, omit), aVP_Header := m_aVP_HeaderVid(c_subscription_Id_Data_AVP_Code, lengthof(p_avpData), omit), aVP_Data := p_avpData } template Framed_IP_Address_AVP m_framedIpAddress(template (value) octetstring p_avpData) := { aVP_Header := m_aVP_HeaderVid(c_framed_IP_Address_AVP_Code, 4+lengthof(p_avpData), omit), aVP_Header := m_aVP_HeaderVid(c_framed_IP_Address_AVP_Code, lengthof(p_avpData), omit), aVP_Data := p_avpData } Loading Loading @@ -1371,6 +1371,7 @@ module DiameterGx_Templates { modifies m_RAA_dummy := { header := m_diameterHeaderAns_dummy(RAA_E, c_applIdGx), session_Id := p_sessionId, origin_Host := p_originHost, origin_Realm := p_originRealm } Loading DiameterGx/ttcn/DiameterGx_TestCases.ttcn +54 −46 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_IPS_01()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_IPS_01 Loading @@ -61,7 +61,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_IPS_02()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_IPS_02 Loading @@ -81,7 +81,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_IPS_03()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_IPS_03 Loading @@ -101,7 +101,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_IPS_04()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_IPS_04 Loading @@ -122,7 +122,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_IPS_05()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_IPS_05 Loading @@ -143,7 +143,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_IPS_06()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_IPS_06 Loading @@ -166,7 +166,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_MSI_01()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_MSI_01 Loading @@ -186,7 +186,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_MSI_02()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_MSI_02 Loading @@ -206,7 +206,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_MSI_03()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_MSI_03 Loading @@ -226,7 +226,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_MSI_04()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_MSI_04 Loading @@ -246,7 +246,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_MSI_05()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_MSI_05 Loading @@ -266,7 +266,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_MSI_06()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_MSI_06 Loading @@ -288,7 +288,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_INV_01()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_INV_01 Loading @@ -308,7 +308,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_INV_02()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_INV_02 Loading @@ -330,7 +330,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_ST_01()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_ST_01 Loading @@ -350,7 +350,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_ST_02()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_ST_02 Loading @@ -370,7 +370,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_ST_03()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_ST_03 Loading @@ -392,7 +392,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_PCC_01()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_PCC_01 Loading @@ -412,7 +412,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_PCC_02()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_PCC_02 Loading @@ -432,7 +432,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_PCC_03()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_PCC_03 Loading @@ -452,7 +452,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_PCC_04()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_PCC_04 Loading @@ -472,7 +472,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_PCC_05()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_PCC_05 Loading @@ -492,7 +492,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_PCC_06()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_PCC_06 Loading @@ -512,7 +512,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_PCC_07()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_PCC_07 Loading @@ -532,7 +532,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_PCC_08()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_PCC_08 Loading @@ -552,7 +552,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_PCC_09()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_PCC_09 Loading @@ -574,7 +574,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_EMS_01()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_EMS_01 Loading @@ -594,7 +594,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_EMS_02()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_EMS_02 Loading @@ -616,7 +616,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_UMC_01()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_UMC_01 Loading @@ -637,10 +637,12 @@ module DiameterGx_TestCases //Start v_diameterComponent_pcef.start(DiameterGx_Gx_TCFunctions.f_TC_PCRF_IRS_01()); if (PX_Rxsupport) { v_diameterComponent_af.start(DiameterGx_Rx_TCFunctions.f_TC_PCRF_OpenSession()); } // synchronize 2 PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1Gx1RxDown(v_diameterComponent_pcef,v_diameterComponent_af); } // end TC_PCRF_IRS_01 Loading @@ -659,10 +661,12 @@ module DiameterGx_TestCases //Start v_diameterComponent_pcef.start(DiameterGx_Gx_TCFunctions.f_TC_PCRF_IRS_02()); if (PX_Rxsupport) { v_diameterComponent_af.start(DiameterGx_Rx_TCFunctions.f_TC_PCRF_OpenCloseSession()); } // synchronize 2 PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1Gx1RxDown(v_diameterComponent_pcef,v_diameterComponent_af); } // end TC_PCRF_IRS_02 Loading @@ -683,10 +687,11 @@ module DiameterGx_TestCases //Start v_diameterComponent_pcef.start(DiameterGx_Gx_TCFunctions.f_TC_PCRF_MPS_01()); if (PX_Rxsupport) { v_diameterComponent_af.start(DiameterGx_Rx_TCFunctions.f_TC_PCRF_OpenSessionPrio()); } // synchronize 2 PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1Gx1RxDown(v_diameterComponent_pcef,v_diameterComponent_af); } // end TC_PCRF_MPS_01 Loading @@ -705,10 +710,11 @@ module DiameterGx_TestCases //Start v_diameterComponent_pcef.start(DiameterGx_Gx_TCFunctions.f_TC_PCRF_MPS_02()); if (PX_Rxsupport) { v_diameterComponent_af.start(DiameterGx_Rx_TCFunctions.f_TC_PCRF_OpenSessionPrio2()); } // synchronize 2 PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1Gx1RxDown(v_diameterComponent_pcef,v_diameterComponent_af); } // end TC_PCRF_MPS_02 Loading @@ -729,10 +735,11 @@ module DiameterGx_TestCases //Start v_diameterComponent_pcef.start(DiameterGx_Gx_TCFunctions.f_TC_PCRF_SDC_01()); if (PX_Rxsupport) { v_diameterComponent_af.start(DiameterGx_Rx_TCFunctions.f_TC_PCRF_OpenSessionSponsor()); } // synchronize 2 PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1Gx1RxDown(v_diameterComponent_pcef,v_diameterComponent_af); } // end TC_PCRF_SDC_01 Loading @@ -750,11 +757,12 @@ module DiameterGx_TestCases f_cf_1Gx1RxUp(v_diameterComponent_pcef,v_diameterComponent_af); //Start /* v_diameterComponent_pcef.start(DiameterGx_Gx_TCFunctions.f_TC_PCRF_SDC_02()); v_diameterComponent_af.start(DiameterGx_Rx_TCFunctions.f_TC_PCRF_OpenSessionSponsor()); */ v_diameterComponent_pcef.start(DiameterGx_Gx_TCFunctions.f_TC_PCRF_SDC_02()); if (PX_Rxsupport) { v_diameterComponent_af.start(DiameterGx_Rx_TCFunctions.f_TC_PCRF_OpenSessionSponsor()); } // synchronize 2 PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1Gx1RxDown(v_diameterComponent_pcef,v_diameterComponent_af); } // end TC_PCRF_SDC_02 Loading Loading
DiameterGx/ttcn/DiameterGx_Gx_TCFunctions.ttcn +178 −496 File changed.Preview size limit exceeded, changes collapsed. Show changes
DiameterGx/ttcn/DiameterGx_PIXITS.ttcn +5 −1 Original line number Diff line number Diff line Loading @@ -377,6 +377,10 @@ module DiameterGx_PIXITS */ modulepar boolean PX_GTPsupport := false; /** @desc boolean indicator, * true, if Rx interface at PCRF is accessable */ modulepar boolean PX_Rxsupport := false; } //end group DiameterCommonGxData Loading
DiameterGx/ttcn/DiameterGx_Steps.ttcn3 +32 −1 Original line number Diff line number Diff line Loading @@ -56,6 +56,9 @@ vc_originHost := m_originHost(PX_OriginHost); vc_originRealm := m_originRealm(PX_OriginRealm); // realm of the originator (TS) vc_originHost_IUT := m_originHost(PX_DestinationHost); vc_originRealm_IUT := m_originRealm(PX_DestinationRealm); // realm of the originator (TS) vc_destinationHost := m_destinationHost(PX_DestinationHost); vc_destinationRealm := m_destinationRealm(PX_DestinationRealm); Loading Loading @@ -91,6 +94,28 @@ f_preambleDiameterBaseServer(c_applIdGx); } function f_initiate_session_PCEF() runs on DiameterComponent { f_send_CCR(m_CCR_InitialRequest(vc_sessionId, vc_originHost, vc_originRealm, vc_destinationRealm, f_framedIpAddress4_send(),f_framedIpAddress6_send())); f_awaiting_CCA(mw_CCA_ResultCode(vc_sessionId, vc_originHost_IUT, vc_originRealm_IUT, mw_resultCode(mw_resultCode_diameterSuccess))); } function f_initiate_session_PCRF() runs on DiameterComponent { f_awaiting_CCR(mw_CCR_Request(?, vc_originHost, vc_originRealm, vc_destinationRealm, mw_cC_Request_Type(INITIAL_REQUEST_E), f_framedIpAddress4(), f_framedIpAddress6(), *)); f_send_CCA(m_CCA_basic(vc_sessionId, vc_originHost, vc_originRealm, m_cC_Request_Type(INITIAL_REQUEST_E))); } }// end group Preambles group Postambles { Loading @@ -107,7 +132,7 @@ } function f_terminate_session() runs on DiameterComponent function f_terminate_session_PCRF() runs on DiameterComponent { f_send_RAR(m_RAR_SessionEnd (vc_sessionId, vc_originHost, vc_originRealm, Loading @@ -127,6 +152,12 @@ f_send_CCA(m_CCA_basic(vc_sessionId, vc_originHost, vc_originRealm, m_cC_Request_Type(TERMINATION_REQUEST_E))); } function f_terminate_session_PCEF() runs on DiameterComponent { f_send_CCR(m_CCR_TerminationRequest(vc_sessionId, vc_originHost, vc_originRealm, vc_destinationRealm)); f_awaiting_CCA(mw_CCA_basic(vc_sessionId, vc_originHost_IUT, vc_originRealm_IUT)); } function f_ConfigRun_PCRF(DiameterComponent p_diameterComponent_pcrf, GtpComponent p_gtpComponent1, GtpComponent p_gtpComponent2) runs on ServerSyncComp { Loading
DiameterGx/ttcn/DiameterGx_Templates.ttcn +3 −2 Original line number Diff line number Diff line Loading @@ -347,13 +347,13 @@ module DiameterGx_Templates { template Subscription_Id_Data_AVP m_subscription_Id_Data(UTF8String p_avpData):= { aVP_Header := m_aVP_HeaderVid(c_subscription_Id_Data_AVP_Code, 4, omit), aVP_Header := m_aVP_HeaderVid(c_subscription_Id_Data_AVP_Code, lengthof(p_avpData), omit), aVP_Data := p_avpData } template Framed_IP_Address_AVP m_framedIpAddress(template (value) octetstring p_avpData) := { aVP_Header := m_aVP_HeaderVid(c_framed_IP_Address_AVP_Code, 4+lengthof(p_avpData), omit), aVP_Header := m_aVP_HeaderVid(c_framed_IP_Address_AVP_Code, lengthof(p_avpData), omit), aVP_Data := p_avpData } Loading Loading @@ -1371,6 +1371,7 @@ module DiameterGx_Templates { modifies m_RAA_dummy := { header := m_diameterHeaderAns_dummy(RAA_E, c_applIdGx), session_Id := p_sessionId, origin_Host := p_originHost, origin_Realm := p_originRealm } Loading
DiameterGx/ttcn/DiameterGx_TestCases.ttcn +54 −46 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_IPS_01()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_IPS_01 Loading @@ -61,7 +61,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_IPS_02()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_IPS_02 Loading @@ -81,7 +81,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_IPS_03()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_IPS_03 Loading @@ -101,7 +101,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_IPS_04()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_IPS_04 Loading @@ -122,7 +122,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_IPS_05()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_IPS_05 Loading @@ -143,7 +143,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_IPS_06()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_IPS_06 Loading @@ -166,7 +166,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_MSI_01()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_MSI_01 Loading @@ -186,7 +186,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_MSI_02()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_MSI_02 Loading @@ -206,7 +206,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_MSI_03()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_MSI_03 Loading @@ -226,7 +226,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_MSI_04()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_MSI_04 Loading @@ -246,7 +246,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_MSI_05()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_MSI_05 Loading @@ -266,7 +266,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_MSI_06()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_MSI_06 Loading @@ -288,7 +288,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_INV_01()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_INV_01 Loading @@ -308,7 +308,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_INV_02()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_INV_02 Loading @@ -330,7 +330,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_ST_01()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_ST_01 Loading @@ -350,7 +350,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_ST_02()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_ST_02 Loading @@ -370,7 +370,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_ST_03()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_ST_03 Loading @@ -392,7 +392,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_PCC_01()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_PCC_01 Loading @@ -412,7 +412,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_PCC_02()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_PCC_02 Loading @@ -432,7 +432,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_PCC_03()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_PCC_03 Loading @@ -452,7 +452,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_PCC_04()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_PCC_04 Loading @@ -472,7 +472,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_PCC_05()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_PCC_05 Loading @@ -492,7 +492,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_PCC_06()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_PCC_06 Loading @@ -512,7 +512,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_PCC_07()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_PCC_07 Loading @@ -532,7 +532,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_PCC_08()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_PCC_08 Loading @@ -552,7 +552,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_PCC_09()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_PCC_09 Loading @@ -574,7 +574,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_EMS_01()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_EMS_01 Loading @@ -594,7 +594,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_EMS_02()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_EMS_02 Loading @@ -616,7 +616,7 @@ module DiameterGx_TestCases v_diameterComponent_pcef.start(f_TC_PCRF_UMC_01()); // synchronize PTC on 3 sychronization points f_serverSync1Client({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1GxEDown(v_diameterComponent_pcef); } // end TC_PCRF_UMC_01 Loading @@ -637,10 +637,12 @@ module DiameterGx_TestCases //Start v_diameterComponent_pcef.start(DiameterGx_Gx_TCFunctions.f_TC_PCRF_IRS_01()); if (PX_Rxsupport) { v_diameterComponent_af.start(DiameterGx_Rx_TCFunctions.f_TC_PCRF_OpenSession()); } // synchronize 2 PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1Gx1RxDown(v_diameterComponent_pcef,v_diameterComponent_af); } // end TC_PCRF_IRS_01 Loading @@ -659,10 +661,12 @@ module DiameterGx_TestCases //Start v_diameterComponent_pcef.start(DiameterGx_Gx_TCFunctions.f_TC_PCRF_IRS_02()); if (PX_Rxsupport) { v_diameterComponent_af.start(DiameterGx_Rx_TCFunctions.f_TC_PCRF_OpenCloseSession()); } // synchronize 2 PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1Gx1RxDown(v_diameterComponent_pcef,v_diameterComponent_af); } // end TC_PCRF_IRS_02 Loading @@ -683,10 +687,11 @@ module DiameterGx_TestCases //Start v_diameterComponent_pcef.start(DiameterGx_Gx_TCFunctions.f_TC_PCRF_MPS_01()); if (PX_Rxsupport) { v_diameterComponent_af.start(DiameterGx_Rx_TCFunctions.f_TC_PCRF_OpenSessionPrio()); } // synchronize 2 PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1Gx1RxDown(v_diameterComponent_pcef,v_diameterComponent_af); } // end TC_PCRF_MPS_01 Loading @@ -705,10 +710,11 @@ module DiameterGx_TestCases //Start v_diameterComponent_pcef.start(DiameterGx_Gx_TCFunctions.f_TC_PCRF_MPS_02()); if (PX_Rxsupport) { v_diameterComponent_af.start(DiameterGx_Rx_TCFunctions.f_TC_PCRF_OpenSessionPrio2()); } // synchronize 2 PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1Gx1RxDown(v_diameterComponent_pcef,v_diameterComponent_af); } // end TC_PCRF_MPS_02 Loading @@ -729,10 +735,11 @@ module DiameterGx_TestCases //Start v_diameterComponent_pcef.start(DiameterGx_Gx_TCFunctions.f_TC_PCRF_SDC_01()); if (PX_Rxsupport) { v_diameterComponent_af.start(DiameterGx_Rx_TCFunctions.f_TC_PCRF_OpenSessionSponsor()); } // synchronize 2 PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1Gx1RxDown(v_diameterComponent_pcef,v_diameterComponent_af); } // end TC_PCRF_SDC_01 Loading @@ -750,11 +757,12 @@ module DiameterGx_TestCases f_cf_1Gx1RxUp(v_diameterComponent_pcef,v_diameterComponent_af); //Start /* v_diameterComponent_pcef.start(DiameterGx_Gx_TCFunctions.f_TC_PCRF_SDC_02()); v_diameterComponent_af.start(DiameterGx_Rx_TCFunctions.f_TC_PCRF_OpenSessionSponsor()); */ v_diameterComponent_pcef.start(DiameterGx_Gx_TCFunctions.f_TC_PCRF_SDC_02()); if (PX_Rxsupport) { v_diameterComponent_af.start(DiameterGx_Rx_TCFunctions.f_TC_PCRF_OpenSessionSponsor()); } // synchronize 2 PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_tbDone, c_poDone}); f_serverSyncNClients(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1Gx1RxDown(v_diameterComponent_pcef,v_diameterComponent_af); } // end TC_PCRF_SDC_02 Loading