pespin submitted this change.

View Change

Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved osmith: Looks good to me, but someone else must approve
hnbgw: Introduce module parameter mp_statsd_prefix

The value in that parameter depends on IUT configuration.

Change-Id: I007d45b8323831e8f3708d22c6a9bc6e9badd896
---
M hnbgw/HNBGW_Tests.ttcn
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn
index c917816..0e32e63 100644
--- a/hnbgw/HNBGW_Tests.ttcn
+++ b/hnbgw/HNBGW_Tests.ttcn
@@ -111,6 +111,7 @@
/* Our emulated StatsD server: */
charstring mp_local_statsd_ip := "127.0.0.1";
integer mp_local_statsd_port := 8125;
+ charstring mp_statsd_prefix := "TTCN3.";

charstring mp_mgw_ip := "127.0.0.1";
integer mp_mgw_port := 2427;
@@ -978,7 +979,7 @@
}

friend function f_tc_rab_assignment(charstring id) runs on ConnHdlr {
- const charstring hnb0_ctr_prefix := "TTCN3.hnb.001-01-L2342-R0-S55-C1.";
+ const charstring hnb0_ctr_prefix := mp_statsd_prefix & "hnb.001-01-L2342-R0-S55-C1.";
var MgcpCommand mgcp_cmd;
var RANAP_PDU tx;
timer T := 5.0;
@@ -1022,7 +1023,7 @@
}

friend function f_tc_rab_assign_fail(charstring id) runs on ConnHdlr {
- const charstring hnb0_ctr_prefix := "TTCN3.hnb.001-01-L2342-R0-S55-C1.";
+ const charstring hnb0_ctr_prefix := mp_statsd_prefix & "hnb.001-01-L2342-R0-S55-C1.";
var MgcpCommand mgcp_cmd;
var RANAP_PDU tx;
timer T := 5.0;

To view, visit change 38617. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I007d45b8323831e8f3708d22c6a9bc6e9badd896
Gerrit-Change-Number: 38617
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>