Commit 8b715762 authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

Validation untill week17

parent e4d05539
Loading
Loading
Loading
Loading
+253 −254
Original line number Diff line number Diff line
@@ -32,20 +32,18 @@ public class IotConnectionOffline extends Thread/*PCAP*/ implements LocalAdapter
	TriPortId comPortId = null;
	TriPortId tsiPortId = null;

	protected Logger log = null;
	Logger log = null;

	public static Hashtable<String, TriPortId> ComponentCollection = new Hashtable<String, TriPortId>();
	public static Hashtable<String, TriPortId> ComponentCollectionCompPort = new Hashtable<String, TriPortId>();
	public static Hashtable<String, FilterPackets> ComponentCollectionFilter2Port = new Hashtable<String, FilterPackets>();

	private Queue<TriComponentId> FilterMsgFIFO = new LinkedList<>(); //for selection sequence to which PTC first send resonse
	private Queue<TriComponentId> FilterMsgFIFO = new LinkedList<>(); // for selection sequence to which PTC first send
																		// resonse

	public String tracefile = "";

	
	
    public class FilterPackets
    {
	public class FilterPackets {
		public List packets;
		public String filter;
		public TriComponentId componentId;
@@ -53,31 +51,25 @@ public class IotConnectionOffline extends Thread/*PCAP*/ implements LocalAdapter
		public TriCommunicationTE cte;
		final IotConnectionOffline this$0;

        public boolean equals(Object obj)
        {
            if(obj instanceof FilterPackets)
            {
		public boolean equals(Object obj) {
			if (obj instanceof FilterPackets) {
				return filter.equals(((FilterPackets) obj).filter);
            } else
            {
			} else {
				return false;
			}
		}

        public int hashCode()
        {
		public int hashCode() {
			return filter.hashCode() + componentId.hashCode();
		}

        public FilterPackets(String filter)
        {
		public FilterPackets(String filter) {
			super();
			this$0 = IotConnectionOffline.this;
			this.filter = filter;
		}

        public FilterPackets(String filter,  TriComponentId componentId, TriPortId tsiPortId, TriCommunicationTE cte)
        {
		public FilterPackets(String filter, TriComponentId componentId, TriPortId tsiPortId, TriCommunicationTE cte) {
			this(filter);
			this.componentId = componentId;
			this.tsiPortId = tsiPortId;
@@ -89,21 +81,22 @@ public class IotConnectionOffline extends Thread/*PCAP*/ implements LocalAdapter
		}

		public String toString() {
        	return (componentId.getComponentName() + " " + tsiPortId.toString() + " " + ((filter != null) ? filter : "(null)"));// + "\n" + "packets count: " + ((packets != null) ? packets.size() : "(null)"));
			return (componentId.getComponentName() + " " + tsiPortId.toString() + " "
					+ ((filter != null) ? filter : "(null)"));// + "\n" + "packets count: " + ((packets != null) ?
																// packets.size() : "(null)"));
		}
	}

	
	public IotConnectionOffline(Logger log, TriCommunicationTE cte) {
		this.cte = cte;
		this.log = log;
	}

	
	public synchronized TriStatus triMap(TriPortId comPortId, TriPortId tsiPortId) {
		try {
			boolean result = false;
			log.debug("comPortId.getPortName()= " + comPortId.getPortName() + "; tsiPortId.getPortName()= " + tsiPortId.getPortName());
			log.debug("comPortId.getPortName()= " + comPortId.getPortName() + "; tsiPortId.getPortName()= "
					+ tsiPortId.getPortName());
			// Save parameters for later usage
			// this.comPortId = comPortId;
			// this.tsiPortId = tsiPortId;
@@ -123,31 +116,27 @@ public class IotConnectionOffline extends Thread/*PCAP*/ implements LocalAdapter
					// log.debug(""+ComponentCollection.elements().toString());
					result = true; // assume MTC acport was succesfully conected
				}
			}else
			    if (tsiPortId.getPortName().equals("sipPort")){
			} else if (tsiPortId.getPortName().equals("sipPort")) {
				ComponentCollection.put(comPortId.getComponent().getComponentName() + "-data", tsiPortId);
				ComponentCollectionCompPort.put(comPortId.getComponent().getComponentName()/* +"-sip" */, comPortId);
				// log.debug(""+ComponentCollection.elements().toString());
				result = true; // asuume MTC acport was succesfully conected
			}else
			    if (tsiPortId.getPortName().equals("diameterPort")){
			} else if (tsiPortId.getPortName().equals("diameterPort")) {
				ComponentCollection.put(comPortId.getComponent().getComponentName() + "-data", tsiPortId);
			    	ComponentCollectionCompPort.put(comPortId.getComponent().getComponentName()/*+"-diameter"*/, comPortId);
				ComponentCollectionCompPort.put(comPortId.getComponent().getComponentName()/* +"-diameter" */,
						comPortId);
				// log.debug(""+ComponentCollection.elements().toString());
				result = true; // asuume MTC acport was succesfully conected
			}else
			    if (tsiPortId.getPortName().equals("dPort")){
			} else if (tsiPortId.getPortName().equals("dPort")) {
				ComponentCollection.put(comPortId.getComponent().getComponentName() + "-d", tsiPortId);
				ComponentCollectionCompPort.put(comPortId.getComponent().getComponentName() + "-d", comPortId);
				// log.debug(""+ComponentCollection.elements().toString());
				result = true; // asuume MTC acport was succesfully conected
			}else
				if(tsiPortId.getPortName().equals("")){
			} else if (tsiPortId.getPortName().equals("")) {
				result = false;
			}

			return (result == true) ? new TriStatusImpl(TriStatus.TRI_OK)
					: new TriStatusImpl(TriStatus.TRI_ERROR);
			return (result == true) ? new TriStatusImpl(TriStatus.TRI_OK) : new TriStatusImpl(TriStatus.TRI_ERROR);
			// return new TriStatusImpl(TriStatus.TRI_OK);
		} catch (Throwable ex) {
			ex.printStackTrace();
@@ -156,7 +145,8 @@ public class IotConnectionOffline extends Thread/*PCAP*/ implements LocalAdapter
	}

	// public synchronized TriStatus triSend(TriAddress triAddress,
    public TriStatus triSend(TriComponentId componentId, TriPortId tsiPortId,TriAddress triAddress,	TriMessage triMessage) {
	public TriStatus triSend(TriComponentId componentId, TriPortId tsiPortId, TriAddress triAddress,
			TriMessage triMessage) {

		try {
			byte[] buffer = triMessage.getEncodedMessage();
@@ -168,12 +158,14 @@ public class IotConnectionOffline extends Thread/*PCAP*/ implements LocalAdapter

			int recv_reply = 0;
			int iotmsgType = buffer[0] & 0xFF | buffer[1] & 0xFF << 8;
	    	int iotmsgLen  = 2+4+(((buffer[2] & 0xFF))|((buffer[3] & 0xFF) << 8)|((buffer[4] & 0xFF) << 16) |  ((buffer[5] & 0xFF)<<24));
			int iotmsgLen = 2 + 4 + (((buffer[2] & 0xFF)) | ((buffer[3] & 0xFF) << 8) | ((buffer[4] & 0xFF) << 16)
					| ((buffer[5] & 0xFF) << 24));

			switch (iotmsgType) {
			case 7: /* OPEN_DEVICE_REQ = 0x0007; /**< ID of OpenDeviceRequest */
				log.info("ConfigureREQ");
	        	byte[] confresp= {0x08, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00};/*OPEN_DEVICE_REP	  =	  0x0008; /**< ID of OpenDeviceReply*/
				byte[] confresp = { 0x08, 0x00, 0x01, 0x00, 0x00, 0x00,
						0x00 };/* OPEN_DEVICE_REP = 0x0008; /**< ID of OpenDeviceReply */

				log.debug(this.getTraceFile());

@@ -182,25 +174,29 @@ public class IotConnectionOffline extends Thread/*PCAP*/ implements LocalAdapter

			case 2: /* SET_FILTER_REQ = 0x0002; /**< ID of SetFilterRequest */
				log.info("FilterREQ: " + componentId.getComponentName());
	        	byte[] filterresp= {0x09, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00};/*SET_FILTER_REP    =   0x0009; /**< ID of SetFilterReply */
				byte[] filterresp = { 0x09, 0x00, 0x01, 0x00, 0x00, 0x00,
						0x00 };/* SET_FILTER_REP = 0x0009; /**< ID of SetFilterReply */

				String filter = new String(buffer, 10, buffer.length - 10);
				log.debug("FilterREQ: filter=" + filter);
				try {
	        	    FilterPackets fp = new FilterPackets(filter, componentId,ComponentCollection.get(componentId.getComponentName()+"-data"), this.cte/*tsiPortId*/);
					FilterPackets fp = new FilterPackets(filter, componentId,
							ComponentCollection.get(componentId.getComponentName() + "-data"), this.cte/* tsiPortId */);
					ComponentCollectionFilter2Port.put(componentId.getComponentName(), fp);
				} catch (Exception e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
				
				FilterMsgFIFO.add(componentId);
				recv_reply = receiveBuffer(filterresp, filterresp.length);
				break;

			case 3:/* START_CAPTURE_REQ = 0x0003; /**< ID of StartCaptureRequest */
				log.info("StartCaptureREQ: " + componentId.getComponentName());
				log.info("StartCaptureREQ: ComponentCollectionFilter2Port=" + ComponentCollectionFilter2Port.size());
	        	byte[] startcapresp= {0x04, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00};/*START_CAPTURE_REP    =   0x0004; /**< ID of StartCaptureReply */
				byte[] startcapresp = { 0x04, 0x00, 0x01, 0x00, 0x00, 0x00,
						0x00 };/* START_CAPTURE_REP = 0x0004; /**< ID of StartCaptureReply */

				if (!ComponentCollectionFilter2Port.isEmpty()) {

@@ -211,8 +207,10 @@ public class IotConnectionOffline extends Thread/*PCAP*/ implements LocalAdapter
						try {
							String key = (String) keys.nextElement();
							FilterPackets fp = ComponentCollectionFilter2Port.get(key);
		    				log.info("StartCaptureREQ: launch ReadCaptureThread for component " + fp.componentId.getComponentName());
		    				ReadCaptureThread t = new ReadCaptureThread (fp.componentId.getComponentName(),log, tracefile,fp);
							log.info("StartCaptureREQ: launch ReadCaptureThread for component "
									+ fp.componentId.getComponentName());
							ReadCaptureThread t = new ReadCaptureThread(fp.componentId.getComponentName(), log,
									tracefile, fp);
							t.join(1000);
							Thread.sleep(100);
						} catch (Exception e) {
@@ -228,7 +226,8 @@ public class IotConnectionOffline extends Thread/*PCAP*/ implements LocalAdapter

			case 5:/* STOP_CAPTURE_REQ = 0x0005; /**< ID of StopCaptureRequest */
				log.info("StopCaptureREQ");
	        	byte[] stopcapresp= {0x06, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00};/*STOP_CAPTURE_REP     =   0x0006; /**< ID of StopCaptureReply */
				byte[] stopcapresp = { 0x06, 0x00, 0x01, 0x00, 0x00, 0x00,
						0x00 };/* STOP_CAPTURE_REP = 0x0006; /**< ID of StopCaptureReply */

				if (!ComponentCollectionFilter2Port.isEmpty()) {

@@ -265,10 +264,11 @@ public class IotConnectionOffline extends Thread/*PCAP*/ implements LocalAdapter
				if (componentId.getComponentName().equals("MTC")) {
					// result = send(packet);
					result = true;
				}
				else{
					//for selection sequence to which PTC first send resonse //FILTER_REQ - FILTER_REP
					FilterMsgFIFO.add(componentId);
				} else {
					// for selection sequence to which PTC first send resonse //FILTER_REQ -
					// FILTER_REP
					//log.debug(FilterMsgFIFO.size());
					//FilterMsgFIFO.add(componentId);
					// result = send(packet);
					result = true;
				}
@@ -298,7 +298,8 @@ public class IotConnectionOffline extends Thread/*PCAP*/ implements LocalAdapter

			if (tsiPortId.getPortName().equals("acPort")) {
				if (comPortId.getComponent().getComponentName().equals("MTC")) {
				   //ComponentCollection.remove(comPortId.getComponent().getComponentName(), tsiPortId);
					// ComponentCollection.remove(comPortId.getComponent().getComponentName(),
					// tsiPortId);
					result = true;// disconnect();
				} else {
					ComponentCollection.remove(comPortId.getComponent().getComponentName(), tsiPortId);
@@ -306,20 +307,17 @@ public class IotConnectionOffline extends Thread/*PCAP*/ implements LocalAdapter
					// log.debug(ComponentCollection.elements().toString());
					result = true; // assume MTC acport was successfully connected
				}
			}else
			    if (tsiPortId.getPortName().equals("sipPort")){
			} else if (tsiPortId.getPortName().equals("sipPort")) {
				ComponentCollection.remove(comPortId.getComponent().getComponentName(), tsiPortId);
				ComponentCollectionCompPort.remove(comPortId.getComponent().getComponentName() + "-data", comPortId);
				// log.debug(ComponentCollection.elements().toString());
				result = true; // assume MTC acport was successfully connected
			}else
			    if (tsiPortId.getPortName().equals("diameterPort")){
			} else if (tsiPortId.getPortName().equals("diameterPort")) {
				ComponentCollection.remove(comPortId.getComponent().getComponentName(), tsiPortId);
				ComponentCollectionCompPort.remove(comPortId.getComponent().getComponentName() + "-data", comPortId);
				// log.debug(ComponentCollection.elements().toString());
				result = true; // assume MTC acport was successfully connected
			}else
			    if (tsiPortId.getPortName().equals("dPort")){
			} else if (tsiPortId.getPortName().equals("dPort")) {
				ComponentCollection.remove(comPortId.getComponent().getComponentName(), tsiPortId);
				ComponentCollectionCompPort.remove(comPortId.getComponent().getComponentName() + "-d", comPortId);
				// log.debug(ComponentCollection.elements().toString());
@@ -347,7 +345,7 @@ public class IotConnectionOffline extends Thread/*PCAP*/ implements LocalAdapter
		
		int iotmsg = ((buffer[0] & 0xFF))|((buffer[1] & 0xFF) << 8);//iot message type
		byte[] message = new byte[packetLength];
		
		log.debug("IOT MSG TYPE "+iotmsg);
		if (iotmsg==1){ //CAPTURE_DATA_IND
			byte[] packetb = new byte[packetLength-0x1b];
			System.arraycopy(buffer,0x1b, packetb, 0, packetLength-0x1b);
@@ -362,7 +360,7 @@ public class IotConnectionOffline extends Thread/*PCAP*/ implements LocalAdapter
			System.arraycopy(buffer,0, message, 0, packetLength);
		}
		//base (MTC) component
		TriComponentId compid = comPortId.getComponent();
		TriComponentId compid = this.comPortId.getComponent();
		//for selection sequence to which PTC first send response - //FILTER_MSG_RSP
		if (!FilterMsgFIFO.isEmpty()){ 
			 compid = FilterMsgFIFO.remove();
@@ -376,6 +374,7 @@ public class IotConnectionOffline extends Thread/*PCAP*/ implements LocalAdapter
				//DONE in separate class
			}
			else
				log.debug("ENQUE"+tsiPortId.toString()+" "+compid.getComponentName().toString());
			    cte.triEnqueueMsg(tsiPortId, triAddress, compid/*comPortId.getComponent()*/, triMessage);
			
		}
+113 −36

File changed.

Preview size limit exceeded, changes collapsed.

+4 −6
Original line number Diff line number Diff line
@@ -2652,18 +2652,16 @@ module AtsImsIot_Functions {
         *     If single is set to true then only CxSH monitor is enabled. If single is set to false this monitor is set to CxIH monitor.
         * @param p_singleCxInterface true - only one interface Cx with IH-SH/false - two separate interfaces one for SH(S-CSCF HSS) and another for IH(I-CSCF HSS) 
         */
         function f_getCxInterface(boolean p_singleCxInterface) runs on ImsTestCoordinator system IotSystemInterface return DiameterInterfaceMonitor {
           var DiameterInterfaceMonitor v_diameterInterfaceMonitor;
         function f_getCxInterface(boolean p_singleCxInterface) runs on ImsTestCoordinator return DiameterInterfaceMonitor {
           if (p_singleCxInterface)
           { 
               v_diameterInterfaceMonitor := vc_vxlte_monitor_components.cxSH
               return vc_vxlte_monitor_components.cxSH;
           }
           else
           {
               v_diameterInterfaceMonitor := vc_vxlte_monitor_components.cxIH
           }
           return v_diameterInterfaceMonitor;
               return vc_vxlte_monitor_components.cxIH;
           }
         }//end f_getCxInterface
        
    }  //end group diameterComponent

+15 −17
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ module AtsImsIot_TD_DRG{
            testcase TC_VxLTE_INT_DRG_01 ( ) runs on ImsTestCoordinator system IotSystemInterface {
                
                var IotEquipmentUser v_ueA    := f_cf_create_IotEquipmentUser ( c_userUE_A );
                var ImsUserInfo v_userInfoA    := f_getImUser ( PX_EUT_A );
                var ImsUserInfo v_userInfoA   := f_getSipUserId ( PX_EUT_A );
                
                f_setVxLteMonIterfacesAvailability();
                //Check required monitor interfaces due to TD
@@ -70,16 +70,14 @@ module AtsImsIot_TD_DRG{

                    // test body
                    
                    //f_mtc_check_TP_GM_PCSCF_REGISTER_07(vc_vxlte_monitor_components.gmA, false); // Events 1
                    //f_mtc_check_TP_MW_PCSCF_REGISTER_07(vc_vxlte_monitor_components.mwPS, false, true); // Event 2
                    //f_mtc_check_TP_MW_ICSCF_REGISTER_07(vc_vxlte_monitor_components.mwIS, false, true); // Event 5
                    //f_mtc_check_TP_MW_SCSCF_REGISTER_07(vc_vxlte_monitor_components.mwIB, false, true); // Event 8
                    f_mtc_check_TP_GM_PCSCF_REGISTER_07(vc_vxlte_monitor_components.gmA, true); // Events 1, 10
                    f_mtc_check_TP_MW_PCSCF_REGISTER_07(vc_vxlte_monitor_components.mwPS, true); // Event 2
                    //f_mtc_check_TP_MW_ICSCF_REGISTER_07(vc_vxlte_monitor_components.mwIS, true); // Event 5
                    //f_mtc_check_TP_MW_SCSCF_REGISTER_07(vc_vxlte_monitor_components.mwIB, true); // Event 8
                    
                    f_mtc_check_TP_CX_HSS_UAA_04(vc_vxlte_monitor_components.cxIH);// Event 3, 4
                    f_mtc_check_TP_CX_HSS_UAA_04(f_getCxInterface(PX_DIAMETER_CX_SINGLE_INTERFACE));// Event 3, 4
                    f_mtc_check_TP_CX_HSS_SAA_02(vc_vxlte_monitor_components.cxSH);// Event 6, 7
                    
                    //f_mtc_check_TP_GM_PCSCF_200OK_01(vc_vxlte_monitor_components.gmA, false); // Events 10
                    
                    f_mtc_check_TP_RX_PCSCF_STR_07(vc_vxlte_monitor_components.rx);// Event 11
                    f_mtc_check_TP_RX_PCRF_STA_02(vc_vxlte_monitor_components.rx); // Event 12
                    f_mtc_check_TP_GX_PGW_RAA_04(vc_vxlte_monitor_components.gx); // Event 13, 14
@@ -130,7 +128,7 @@ module AtsImsIot_TD_DRG{
        
                    // test body
                    
                    f_mtc_check_TP_CX_HSS_RTA_01(vc_vxlte_monitor_components.cxIH);// Event 1, 8
                    f_mtc_check_TP_CX_HSS_RTA_01(f_getCxInterface(PX_DIAMETER_CX_SINGLE_INTERFACE));// Event 1, 8
                    
                    //f_mtc_check_TP_MW_PCSCF_NOTIFY_01(vc_vxlte_monitor_components.mwPS, false, true); // Event 2
                    //f_mtc_check_TP_GM_PCSCF_NOTIFY_01(vc_vxlte_monitor_components.gmA, false); // Events 3
@@ -191,7 +189,7 @@ module AtsImsIot_TD_DRG{
                    
                    //f_mtc_check_TP_MW_PCSCF_REGISTER_09(vc_vxlte_monitor_components.mwPS, false, true); // Event 2
                    
                    f_mtc_check_TP_CX_HSS_UAA_04(vc_vxlte_monitor_components.cxIH);// Event 3, 4
                    f_mtc_check_TP_CX_HSS_UAA_04(f_getCxInterface(PX_DIAMETER_CX_SINGLE_INTERFACE));// Event 3, 4
                    
                    //f_mtc_check_TP_MW_ICSCF_REGISTER_07(vc_vxlte_monitor_components.mwIS, false, true); // Event 5
                    
@@ -256,7 +254,7 @@ module AtsImsIot_TD_DRG{
                    //f_mtc_check_TP_MW_PCSCF_REGISTER_10(vc_vxlte_monitor_components.mwPS, false, true); // Event 3, 7
                    //f_mtc_check_TP_MW_SCSCF_REGISTER_10(vc_vxlte_monitor_components.mwIS, false, true); // Event 6, 7, 8
                    
                    f_mtc_check_TP_CX_HSS_UAA_04(vc_vxlte_monitor_components.cxIH);// Event 4, 5
                    f_mtc_check_TP_CX_HSS_UAA_04(f_getCxInterface(PX_DIAMETER_CX_SINGLE_INTERFACE));// Event 4, 5
                    f_mtc_check_TP_CX_HSS_SAA_02(vc_vxlte_monitor_components.cxSH);// Event 10, 11
                    
                    f_mtc_check_TP_RX_PCSCF_STR_01(vc_vxlte_monitor_components.rx);// Event 12
@@ -331,7 +329,7 @@ module AtsImsIot_TD_DRG{
                    f_mtc_check_TP_IC_IBCF_REGISTER_03(vc_vxlte_monitor_components.ic, false); // Event 3
                    //f_mtc_check_TP_MW_ICSCF_REGISTER_08(vc_vxlte_monitor_components.mwIS, false, true); // Event 4
                    
                    f_mtc_check_TP_CX_HSS_UAA_04(vc_vxlte_monitor_components.cxIH);// Event 5, 6
                    f_mtc_check_TP_CX_HSS_UAA_04(f_getCxInterface(PX_DIAMETER_CX_SINGLE_INTERFACE));// Event 5, 6
                    f_mtc_check_TP_CX_HSS_SAA_02(vc_vxlte_monitor_components.cxSH);// Event 8, 9
                    
                    f_mtc_check_TP_RX_PCSCF_STR_07(vc_vxlte_monitor_components.rx);// Event 15
@@ -389,7 +387,7 @@ module AtsImsIot_TD_DRG{
        
                    // test body
                    
                    f_mtc_check_TP_CX_HSS_RTA_01(vc_vxlte_monitor_components.cxIH);// Event 1, 16
                    f_mtc_check_TP_CX_HSS_RTA_01(f_getCxInterface(PX_DIAMETER_CX_SINGLE_INTERFACE));// Event 1, 16
                    
                    //f_mtc_check_TP_MW_SCSCF_NOTIFY_03(vc_vxlte_monitor_components.mwIS, false, true); // Event 2, 9
                    f_mtc_check_TP_IC_IBCF_NOTIFY_01(vc_vxlte_monitor_components.ic, false); // Events 3, 8
@@ -458,7 +456,7 @@ module AtsImsIot_TD_DRG{
                    //f_mtc_check_TP_MW_PCSCF_REGISTER_12(vc_vxlte_monitor_components.mwPS, false, true); // Event 3
                    f_mtc_check_TP_IC_IBCF_REGISTER_04(vc_vxlte_monitor_components.ic, false); // Event 4, 13
                    
                    f_mtc_check_TP_CX_HSS_UAA_04(vc_vxlte_monitor_components.cxIH);// Event 6, 7
                    f_mtc_check_TP_CX_HSS_UAA_04(f_getCxInterface(PX_DIAMETER_CX_SINGLE_INTERFACE));// Event 6, 7
                    
                    //f_mtc_check_TP_MW_SCSCF_REGISTER_12(vc_vxlte_monitor_components.mwIS, false, true); // Event 8
                    
@@ -529,7 +527,7 @@ module AtsImsIot_TD_DRG{
                    //f_mtc_check_TP_MW_ICSCF_BYE_07(vc_vxlte_monitor_components.mwIS, false, true); // Event 9, 13
                    f_mtc_check_TP_IC_IBCF_BYE_02(vc_vxlte_monitor_components.ic, false); // Event 10, 24
                    
                    f_mtc_check_TP_CX_HSS_UAA_04(vc_vxlte_monitor_components.cxIH);// Event 6, 7
                    f_mtc_check_TP_CX_HSS_UAA_04(f_getCxInterface(PX_DIAMETER_CX_SINGLE_INTERFACE));// Event 6, 7
                    f_mtc_check_TP_CX_HSS_SAA_02(vc_vxlte_monitor_components.cxSH);// Event 14, 15
                    
                    f_mtc_check_TP_RX_PCSCF_STR_01(vc_vxlte_monitor_components.rx);// Event 16
+6 −4
Original line number Diff line number Diff line
@@ -87,10 +87,10 @@ module AtsImsIot_TD_REG{
                    f_mtc_check_TP_CX_HSS_UAA_02(f_getCxInterface(PX_DIAMETER_CX_SINGLE_INTERFACE), false);// Event 13, 14
                    f_mtc_check_TP_CX_HSS_SAA_01(vc_vxlte_monitor_components.cxSH, false);// Event 16, 17
                    
                    // FIXME TD_VxLTE_INT_REG_01 indictes a SUBSCRIBE, we have an INVITE in log, do we have to change the TD_VxLTE_INT_REG_01
                    //f_mtc_check_TP_GM_PCSCF_SUBSCRIBE_01(vc_vxlte_monitor_components.gmA, false); // Events 21, 24
                    //f_mtc_check_TP_MW_PCSCF_SUBSCRIBE_01(vc_vxlte_monitor_components.mwPS, false); // Events 22, 23
                    f_mtc_check_TP_GM_PCSCF_SUBSCRIBE_01(vc_vxlte_monitor_components.gmA, false); // Events 21, 24
                    f_mtc_check_TP_MW_PCSCF_SUBSCRIBE_01(vc_vxlte_monitor_components.mwPS, false); // Events 22, 23

                    //FIXME Rx and Gx interfaces not in PCAP traces
                    f_mtc_check_TP_RX_PCSCF_AAR_01(vc_vxlte_monitor_components.rx, false);// Event 25
                    f_mtc_check_TP_RX_PCRF_AAA_01(vc_vxlte_monitor_components.rx, false); // Event 26
                    f_mtc_check_TP_GX_PGW_RAA_01(vc_vxlte_monitor_components.gx, false); // Event 27, 28
@@ -124,6 +124,7 @@ module AtsImsIot_TD_REG{
                if (f_checkVxLteRequiredMonitorInterface({PX_SIP_GMA_INTERFACENAME,
                                                          PX_SIP_MW_PI_INTERFACENAME,
                                                          PX_SIP_MW_IS_INTERFACENAME,
                                                          PX_DIAMETER_CX_SH_INTERFACENAME,
                                                          PX_DIAMETER_CX_IH_INTERFACENAME,
                                                          PX_DIAMETER_RX_INTERFACENAME}))
                {  
@@ -329,6 +330,7 @@ module AtsImsIot_TD_REG{
                                                          PX_SIP_MW_PI_INTERFACENAME,
                                                          PX_SIP_MW_IS_INTERFACENAME,
                                                          PX_SIP_IC_INTERFACENAME,
                                                          PX_DIAMETER_CX_SH_INTERFACENAME,
                                                          PX_DIAMETER_CX_IH_INTERFACENAME,
                                                          PX_DIAMETER_RX_INTERFACENAME}))
                {  
Loading