Change in osmo-ttcn3-hacks[master]: RAN_Adapter: More verbose logging

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu May 2 17:12:15 UTC 2019


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/13852


Change subject: RAN_Adapter: More verbose logging
......................................................................

RAN_Adapter: More verbose logging

Change-Id: I16a2c4858d8cac65f39e37d23051fa77c15d4c6f
---
M library/RAN_Adapter.ttcnpp
1 file changed, 4 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/52/13852/1

diff --git a/library/RAN_Adapter.ttcnpp b/library/RAN_Adapter.ttcnpp
index 53c8bac..27d22ca 100644
--- a/library/RAN_Adapter.ttcnpp
+++ b/library/RAN_Adapter.ttcnpp
@@ -143,15 +143,16 @@
 		timer T := 5.0;
 		T.start;
 		//T.timeout;
-		log("Connecting BSSMAP Emulation to SCCP_SP_PORT and starting emulation");
 		/* connect BSSNAP component to upper side of SCCP */
 		if (cfg.transport == RANAP_TRANSPORT_IuCS) {
 #ifdef RAN_EMULATION_RANAP
+			log("Connecting RANAP RAN_Emulation to SCCP_SP_PORT");
 			ops.protocol := RAN_PROTOCOL_RANAP
 			connect(ba.vc_RAN:RANAP, ba.vc_SCCP:SCCP_SP_PORT);
 #endif
 		} else {
 #ifdef RAN_EMULATION_BSSAP
+			log("Connecting BSSAP RAN_Emulation to SCCP_SP_PORT");
 			connect(ba.vc_RAN:BSSAP, ba.vc_SCCP:SCCP_SP_PORT);
 #endif
 		}
@@ -159,9 +160,11 @@
 		    cfg.transport == BSSAP_TRANSPORT_SCCPlite_CLIENT) {
 #ifdef IPA_EMULATION_MGCP
 			/* connect IPA MGCP port with BSSMAP MGCP port */
+			log("Connecting MGCP RAN Emulation to IPA MGCP PORT");
 			connect(ba.vc_IPA:IPA_MGCP_PORT, ba.vc_RAN:MGCP);
 #endif
 		}
+		log("Starting RAN_Emulation");
 		ba.vc_RAN.start(RAN_Emulation.main(valueof(ops), ""));
 	}
 

-- 
To view, visit https://gerrit.osmocom.org/13852
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I16a2c4858d8cac65f39e37d23051fa77c15d4c6f
Gerrit-Change-Number: 13852
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190502/8323a047/attachment.html>


More information about the gerrit-log mailing list