aboutsummaryrefslogtreecommitdiffstats
path: root/hnbgw
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2023-01-26 13:47:01 +0100
committerneels <nhofmeyr@sysmocom.de>2023-02-01 15:38:36 +0000
commit72a8d62dd3ceedb62f911b24c948a1001bee8853 (patch)
treef499316350016525bee6bf087c07c9ac7c6169bb /hnbgw
parent40b1e00b3d2bd798b9a7eab2c324fd014bd7a3f0 (diff)
hnbgw: add HNBGWVTY to ConnHdlr
Diffstat (limited to 'hnbgw')
-rw-r--r--hnbgw/HNBGW_Tests.ttcn7
1 files changed, 6 insertions, 1 deletions
diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn
index 0d32edfe..eb7fad04 100644
--- a/hnbgw/HNBGW_Tests.ttcn
+++ b/hnbgw/HNBGW_Tests.ttcn
@@ -194,6 +194,8 @@ type component ConnHdlr extends RAN_ConnHdlr, MGCP_ConnHdlr, RUA_ConnHdlr, PFCP_
var integer g_sccp_conn_id;
var TestHdlrParams g_pars;
timer g_Tguard;
+
+ port TELNETasp_PT HNBGWVTY;
}
@@ -457,8 +459,11 @@ function f_init_handler(TestHdlrParams pars, float t_guard := 20.0) runs on Conn
g_Tguard.start(t_guard);
activate(as_Tguard_ConnHdlr());
+ map(self:HNBGWVTY, system:HNBGWVTY);
+ f_vty_set_prompts(HNBGWVTY);
+ f_vty_transceive(HNBGWVTY, "enable");
+
/* TODO: CTRL? */
- /* TODO: VTY? */
}
/* global altstep for global guard timer; */