Commit 007f8e96 authored by schmitting's avatar schmitting
Browse files

End of Spectra2 validation June 12, 2013

parent bcc60b9f
Loading
Loading
Loading
Loading
+178 −496

File changed.

Preview size limit exceeded, changes collapsed.

+5 −1
Original line number Diff line number Diff line
@@ -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

+32 −1
Original line number Diff line number Diff line
@@ -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);
            
@@ -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 {
@@ -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,
@@ -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
        {
+3 −2
Original line number Diff line number Diff line
@@ -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
            }
    		
@@ -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
            }
+54 −46
Original line number Diff line number Diff line
@@ -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	
@@ -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	
@@ -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
@@ -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            
@@ -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   
@@ -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            
@@ -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	
@@ -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	
@@ -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	
@@ -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	
@@ -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	
@@ -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
@@ -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 	
@@ -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
@@ -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 	
@@ -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	
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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    
@@ -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
@@ -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
@@ -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  
@@ -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