From 72a8d62dd3ceedb62f911b24c948a1001bee8853 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 26 Jan 2023 13:47:01 +0100 Subject: hnbgw: add HNBGWVTY to ConnHdlr Change-Id: Ic325fd5eb5134529012856c08336633c1413284d --- hnbgw/HNBGW_Tests.ttcn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'hnbgw') 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; */ -- cgit v1.2.3