hnbgw: add HNBGWVTY to ConnHdlr

Change-Id: Ic325fd5eb5134529012856c08336633c1413284d
This commit is contained in:
Neels Hofmeyr 2023-01-26 13:47:01 +01:00
parent 6a423f4f67
commit 740223e794
1 changed files with 6 additions and 1 deletions

View File

@ -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; */