From 740223e794e1437133e2359a4374d60f4c46d90f Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 26 Jan 2023 13:47:01 +0100 Subject: [PATCH] hnbgw: add HNBGWVTY to ConnHdlr Change-Id: Ic325fd5eb5134529012856c08336633c1413284d --- hnbgw/HNBGW_Tests.ttcn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn index 0d32edfe4..eb7fad049 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; */