From 1d1744fe9ea9350117a3aed2b280cd5dc020addc Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 7 Aug 2018 11:56:14 +0200 Subject: sgsn: use vty cmd `reset sgsn state`. Cleans most of the sgsn state. Depends on the SGSN commit I92096f3f6ea49e75676e30e9921d00210bac5382. Change-Id: Idff3de6f1b8f5cb503edc5c6256ce2bf7ec7aaa2 --- sgsn/SGSN_Tests.ttcn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn index edc19bcf..14534564 100644 --- a/sgsn/SGSN_Tests.ttcn +++ b/sgsn/SGSN_Tests.ttcn @@ -206,6 +206,7 @@ private function f_init_vty() runs on test_CT { map(self:SGSNVTY, system:SGSNVTY); f_vty_set_prompts(SGSNVTY); f_vty_transceive(SGSNVTY, "enable"); + f_vty_transceive(SGSNVTY, "reset sgsn state"); f_vty_config(SGSNVTY, "sgsn", "auth-policy remote"); } @@ -263,12 +264,12 @@ function f_init(BcdMccMnc mcc_mnc := '26242F'H) runs on test_CT { sgsn_role := false }; + f_init_vty(); f_init_gb(g_gb[0], "SGSN_Test-Gb0", 0); f_init_gb(g_gb[1], "SGSN_Test-Gb1", 1); f_init_gb(g_gb[2], "SGSN_Test-Gb2", 2); f_init_gsup("SGSN_Test"); f_init_gtp("SGSN_Test"); - f_init_vty(); f_vty_enable_echo_interval(g_use_echo); } -- cgit v1.2.3