Commit a2e78046 authored by rennoch's avatar rennoch
Browse files

use of two separated GTP ports

parent e58f4728
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ module DiameterGx_TestCases
    import from DiameterGx_PICS all;
    // GPRS tunneling protocol 
    import from LibGtp_TypesAndValues all;
    import from LibGtp_Interface all;
    

    group TP_PCEFRole {
+8 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ module DiameterGx_TestConfiguration
	import from DiameterGx_PIXITS all;
    // GPRS tunneling protocol 
    import from LibGtp_TypesAndValues all;
    import from LibGtp_Interface all;
	
	group cfUp {
	
@@ -93,8 +94,13 @@ module DiameterGx_TestConfiguration
            
            //Connect
            connect(p_diameterComponent_pcrf:syncPort, self:syncPort) ;
            connect(p_gtpComponent1:syncPort, self:syncPort) ;
            connect(p_gtpComponent2:syncPort, self:syncPort) ;
            //Map 
            map(p_diameterComponent_pcrf:DIAMP, system:PCRF);// Diameter Init test Configuration
            map(p_gtpComponent1:GTP, system:GTP1);// Diameter Init test Configuration
            map(p_gtpComponent2:GTP, system:GTP2);// Diameter Init test Configuration
            
            if (PX_DIAM_LLP_ENABLED){
                map(p_diameterComponent_pcrf:LLPP, system:LLIMS);// Lower Layer Primitive Init test Configuration
            }
@@ -161,6 +167,8 @@ module DiameterGx_TestConfiguration
            disconnect(p_gtpComponent2:syncPort, self:syncPort);
            //Unmap
            unmap(p_diameterComponent_pcrf:DIAMP, system:PCRF);
            unmap(p_gtpComponent1:GTP, system:GTP1);// Diameter Init test Configuration
            unmap(p_gtpComponent2:GTP, system:GTP2);// Diameter Init test Configuration
            if (PX_DIAM_LLP_ENABLED){
                unmap(p_diameterComponent_pcrf:LLPP, system:LLIMS);
            }
+2 −1
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ module DiameterGx_TestSystem
	import from DiameterGx_PIXITS all;
	// GPRS tunneling protocol 
	import from LibGtp_TypesAndValues all;
	import from LibGtp_Interface all;
	
	group CMTypes {
		type charstring CM_Message;
@@ -34,7 +35,7 @@ module DiameterGx_TestSystem
    		type component TestAdapter {
    			port LowerLayerPPort LLPCRF, LLIMS; 
                port DiameterPort PCRF, PCEF; 
                port GtpPort GTP;
                port GtpPort GTP1, GTP2;
    		}
		} // end Group TestSystemInterfaces
	  }// end group TestComponents