Change in osmo-ttcn3-hacks[master]: sgsn: use vty cmd `reset sgsn state`.

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Aug 7 17:56:38 UTC 2018


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/10388


Change subject: sgsn: use vty cmd `reset sgsn state`.
......................................................................

sgsn: use vty cmd `reset sgsn state`.

Cleans most of the sgsn state.

Change-Id: Idff3de6f1b8f5cb503edc5c6256ce2bf7ec7aaa2
---
M sgsn/SGSN_Tests.ttcn
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/88/10388/1

diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index 18e9c20..07bf5fd 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -178,6 +178,7 @@
 	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");
 }
 
@@ -235,12 +236,12 @@
 		sgsn_role := false
 	};
 
+	f_init_vty();
 	f_init_gb(g_gb[0], "SGSN_Test-Gb0", 0);
 	f_init_gb(g_gb[1], "SGSN_Test-Gb0", 1);
 	f_init_gb(g_gb[2], "SGSN_Test-Gb0", 2);
 	f_init_gsup("SGSN_Test");
 	f_init_gtp("SGSN_Test");
-	f_init_vty();
 	f_vty_enable_echo_interval(g_use_echo);
 }
 

-- 
To view, visit https://gerrit.osmocom.org/10388
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idff3de6f1b8f5cb503edc5c6256ce2bf7ec7aaa2
Gerrit-Change-Number: 10388
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180807/1eaf559c/attachment.htm>


More information about the gerrit-log mailing list