pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38617?usp=email )
Change subject: hnbgw: Introduce module parameter mp_statsd_prefix
......................................................................
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(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/17/38617/1
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
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38617?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I007d45b8323831e8f3708d22c6a9bc6e9badd896
Gerrit-Change-Number: 38617
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>