daniel has uploaded this change for review.

View Change

Iuh_Emulation: Introduce Iuh_ConnHdlr component type

Like RAN_ConnHdlr, this contains the ports required for
a ConnHdlr attaching to Iuh_Emulaiton

Change-Id: Icbffedceb65f791306fde74f3bc5b8fe964148b9
---
M hnodeb/HNBGW_ConnectionHandler.ttcn
M library/Iuh_Emulation.ttcn
2 files changed, 8 insertions(+), 3 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/07/27107/1
diff --git a/hnodeb/HNBGW_ConnectionHandler.ttcn b/hnodeb/HNBGW_ConnectionHandler.ttcn
index ac280b0..076cb82 100644
--- a/hnodeb/HNBGW_ConnectionHandler.ttcn
+++ b/hnodeb/HNBGW_ConnectionHandler.ttcn
@@ -40,10 +40,8 @@
import from GTPU_Types all;

/* this component represents a single Iuh connection at the HNBGW. */
-type component HNBGW_ConnHdlr extends StatsD_ConnHdlr, GTP_ConnHdlr {
+type component HNBGW_ConnHdlr extends Iuh_ConnHdlr, GTP_ConnHdlr, StatsD_ConnHdlr {
port TELNETasp_PT HNBVTY;
- port HNBAP_PT HNBAP;
- port RUA_PT RUA;
/* HNBLLIF Interface of HNodeB */
port HNBLLIF_CODEC_PT LLSK;
var integer g_llsk_conn_id;
diff --git a/library/Iuh_Emulation.ttcn b/library/Iuh_Emulation.ttcn
index bc8e7c3..e05afe5 100644
--- a/library/Iuh_Emulation.ttcn
+++ b/library/Iuh_Emulation.ttcn
@@ -38,6 +38,13 @@
import from IPL4asp_Types all;
import from DNS_Helpers all;

+/* General "base class" component definition, of which specific implementations
+ * derive themselves by means of the "extends" feature */
+type component Iuh_ConnHdlr {
+ port HNBAP_PT HNBAP;
+ port RUA_PT RUA;
+};
+
type enumerated IUHEM_EventUpDown {
IUHEM_EVENT_DOWN,
IUHEM_EVENT_UP

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Icbffedceb65f791306fde74f3bc5b8fe964148b9
Gerrit-Change-Number: 27107
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann@sysmocom.de>
Gerrit-CC: laforge <laforge@osmocom.org>
Gerrit-MessageType: newchange