Commit 44d7f1b3 authored by schmitting's avatar schmitting
Browse files

Validation Results included

parent bfe597e4
Loading
Loading
Loading
Loading
+5
Changes for DiameterRx/ttcn/DiameterRx_PIXITS.ttcn: 5 added lines, 0 removed lines.
Original line number Original line Diff line number Diff line
@@ -12,6 +12,11 @@ module DiameterRx_PIXITS


    //const charstring IPV4or6RegExp:= pattern "/^(?:(?>(?>([a-f0-9]{1,4})(?>:(?1)){7})|(?>(?!(?:.*[a-f0-9](?>:|$)){8,})((?1)(?>:(?1)){0,6})?::(?2)?))|(?>(?>(?>(?1)(?>:(?1)){5}:)|(?>(?!(?:.*[a-f0-9]:){6,})((?1)(?>:(?1)){0,4})?::(?>(?3):)?))?(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?>\.(?4)){3}))$/iD";
    //const charstring IPV4or6RegExp:= pattern "/^(?:(?>(?>([a-f0-9]{1,4})(?>:(?1)){7})|(?>(?!(?:.*[a-f0-9](?>:|$)){8,})((?1)(?>:(?1)){0,6})?::(?2)?))|(?>(?>(?>(?1)(?>:(?1)){5}:)|(?>(?!(?:.*[a-f0-9]:){6,})((?1)(?>:(?1)){0,4})?::(?>(?3):)?))?(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?>\.(?4)){3}))$/iD";


    /** @desc	boolean indicator, 
     * true, if two Gm interfaces are accessible to trigger Diameter messages at the Rx interface of the P-CSCF
    */
    modulepar boolean PX_SIPsupport := false;

    group Port_and_addresses{
    group Port_and_addresses{
        
        
        /** @desc	charstring, PIXIT item A-1/3
        /** @desc	charstring, PIXIT item A-1/3
+168 −83

File changed.

Preview size limit exceeded, changes collapsed.

+29 −57
Changes for DiameterRx/ttcn/DiameterRx_Steps.ttcn3: 29 added lines, 57 removed lines.
Original line number Original line Diff line number Diff line
@@ -33,7 +33,7 @@
        runs on DiameterComponent {
        runs on DiameterComponent {
            
            
            //Defaults
            //Defaults
    		vc_def_catchSyncStop_diameter := activate(a_diamater_catchSyncStop());
    		vc_def_catchSyncStop_diameter := activate(a_diameter_catchSyncStop());
    		vc_default_diameter := activate (a_diameter_default());
    		vc_default_diameter := activate (a_diameter_default());
    		
    		
    		//Base LibDiameter init function if there will be any base initialisation
    		//Base LibDiameter init function if there will be any base initialisation
@@ -60,10 +60,10 @@
        } // end function f_DiameterRx_init
        } // end function f_DiameterRx_init
        
        
        /*
        /*
        *  @desc	This is a test step that awaits session esthablishment by the IUT
        *  @desc	This is a test step that awaits session establishment by the IUT
        *  @param	
        *  @param	
        */
        */
        function f_IUT_session_esthablishment()
        function f_IUT_session_establishment()
        runs on DiameterComponent {
        runs on DiameterComponent {
    		
    		
            f_awaiting_AAR(mw_AAR_dummy); // IUT esthablish Diameter session
            f_awaiting_AAR(mw_AAR_dummy); // IUT esthablish Diameter session
@@ -74,7 +74,27 @@
													  m_resultCode(m_resultCode_diameterSuccess),
													  m_resultCode(m_resultCode_diameterSuccess),
													  omit));
													  omit));
    
    
        } // end function f_AF_IUT_session_esthablishment
        } // end function f_IUT_session_establishment
        
        /*
        *  @desc	This is a test step that initiate session establishment by the ETS
        *  @param	
        */
        function f_ETS_session_establishment()
        runs on DiameterComponent {
            f_send_AAR(m_AAR_FIP_Media1(vc_sessionId, vc_originHost,
                                        vc_originRealm,
                                        vc_destinationRealm,
                                           vc_destinationHost,
                                        f_framedIpAddress4_send(),
                                        f_framedIpAddress6_send(), 
                                        m_mediaComponentDescription_flowStatus(m_flowStatus(ENABLED_E))));
            
            f_awaiting_AAA(mw_AAA_modified_ResultCode_ANCA(?, ?, ?,
                                                           mw_resultCode
                                                           (mw_resultCode_diameterSuccess)
                                                           , ?)); // ANCA-AVP present
        } // end function f_ETS_session_establishment
        
        
    } // end group GlobalSteps
    } // end group GlobalSteps
    
    
@@ -82,16 +102,21 @@
        
        
        function f_preamble_AF() runs on DiameterComponent
        function f_preamble_AF() runs on DiameterComponent
        {
        {
            vc_isAF := true;
            
            if(PX_DIAM_LLP_ENABLED)
            if(PX_DIAM_LLP_ENABLED)
            {
            {
                f_preambleClient();
                f_preambleClient();
            }
            }
            
            f_DiameterRx_init();
            f_DiameterRx_init();
            f_preambleDiameterBaseClient(c_applIdRx);
            f_preambleDiameterBaseClient(c_applIdRx);
        }
        }
       
       
        function f_preamble_PCRF() runs on DiameterComponent
        function f_preamble_PCRF() runs on DiameterComponent
        {
        {
            vc_isAF := false;
            
            if(PX_DIAM_LLP_ENABLED)
            if(PX_DIAM_LLP_ENABLED)
            {
            {
                f_preambleServer();
                f_preambleServer();
@@ -135,57 +160,4 @@
        }
        }
    }//end group AVPOperations
    }//end group AVPOperations
             
             
    group DefaultAltsteps {
    
    	
    	
    	/**
    	* @desc	This default handles receiving of the sync server
    	*		STOP message and calls the RT HUT postamble. (copy from common lib)
    	*/	
    	altstep a_diamater_catchSyncStop() runs on DiameterComponent 
    	{
    		[]	syncPort.receive(m_syncServerStop)
    		{
    			tc_sync.stop ;
    			log("**** a_diameter_catchSyncStop: Test component received STOP signal from MTC - going to IDLE state **** ");
    			syncPort.send(m_syncClientStop);
    			f_terminate_diameter_component();
    			log("**** a_diameter_catchSyncStop: TEST COMPONENT NOW STOPPING ITSELF! **** ") ;
    			setverdict(inconc);
    			stop ;
    		}
    	} 
    
        altstep a_diameter_default() runs on DiameterComponent
        {
            [] any timer.timeout 
             {
               setverdict(fail); 
               all timer.stop;
               //TODO: need to be done
               //stop
             }
            [] DIAMP.receive (DIAMETER_MSG:{dWR_MSG := mw_DWR_dummy}) -> value vc_recvDiamMsgDefault
              {
                vc_recv_hopid:= vc_recvDiamMsgDefault.dWR_MSG.header.hopid;
                vc_recv_endid:= vc_recvDiamMsgDefault.dWR_MSG.header.endid;
                f_send_DWA(m_DWA_dummy);
                repeat;
              };
            [] DIAMP.receive (DIAMETER_MSG:{cER_MSG := mw_CER_dummy}) -> value vc_recvDiamMsgDefault
              {
                vc_recv_hopid:= vc_recvDiamMsgDefault.cER_MSG.header.hopid;
                vc_recv_endid:= vc_recvDiamMsgDefault.cER_MSG.header.endid;
                f_send_CEA(m_CEA_basic(vc_originHost, vc_originRealm, vc_hostIPAddress));
                repeat;
              };
            [] DIAMP.receive (DIAMETER_MSG:?) -> value vc_recvDiamMsgDefault
              {
                  //TODO: need to be done
                  setverdict (fail);
              };
        }
    
    }// end group DefaultAltsteps
} // end module DiameterRx_Steps
} // end module DiameterRx_Steps
 No newline at end of file
+141 −154

File changed.

Preview size limit exceeded, changes collapsed.

+123 −29

File changed.

Preview size limit exceeded, changes collapsed.

Loading