sgsn: use vty cmd `reset sgsn state`.

Cleans most of the sgsn state.
Depends on the SGSN commit I92096f3f6ea49e75676e30e9921d00210bac5382.

Change-Id: Idff3de6f1b8f5cb503edc5c6256ce2bf7ec7aaa2
This commit is contained in:
Alexander Couzens 2018-08-07 11:56:14 +02:00
parent be837bdd69
commit 1d1744fe9e
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}