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
This commit is contained in:
Harald Welte 2022-01-10 19:14:28 +01:00 committed by Daniel Willmann
parent c8c0341b16
commit cb3e2d75b8
2 changed files with 8 additions and 3 deletions

View File

@ -40,10 +40,8 @@ import from GTP_CodecPort all;
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;

View File

@ -38,6 +38,13 @@ import from Osmocom_Types all;
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