Commit 993a30f2 authored by rennoch's avatar rennoch
Browse files

optional GTP (un)mapping

parent a2e78046
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ module DiameterGx_TestConfiguration
    // GPRS tunneling protocol 
    import from LibGtp_TypesAndValues all;
    import from LibGtp_Interface all;
    import from LibGtp_PIXITS all;
	
	group cfUp {
	
@@ -98,8 +99,10 @@ module DiameterGx_TestConfiguration
            connect(p_gtpComponent2:syncPort, self:syncPort) ;
            //Map 
            map(p_diameterComponent_pcrf:DIAMP, system:PCRF);// Diameter Init test Configuration
            if (PX_GTP) {
                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
@@ -167,8 +170,10 @@ module DiameterGx_TestConfiguration
            disconnect(p_gtpComponent2:syncPort, self:syncPort);
            //Unmap
            unmap(p_diameterComponent_pcrf:DIAMP, system:PCRF);
            if (PX_GTP) {
                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);
            }