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 Sep 4 16:40:30 UTC 2018


lynxis lazus has submitted this change and it was merged. ( 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.
Depends on the SGSN commit I92096f3f6ea49e75676e30e9921d00210bac5382.

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

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index edc19bc..1453456 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -206,6 +206,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");
 }
 
@@ -263,12 +264,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-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);
 }
 

-- 
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: merged
Gerrit-Change-Id: Idff3de6f1b8f5cb503edc5c6256ce2bf7ec7aaa2
Gerrit-Change-Number: 10388
Gerrit-PatchSet: 5
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180904/5f82306c/attachment.htm>


More information about the gerrit-log mailing list