From 2158c69e051f84da8382f600702065069e826e1d Mon Sep 17 00:00:00 2001 From: Keith Date: Mon, 19 Oct 2020 22:24:48 +0200 Subject: [PATCH] VTY: Add gtp state-dir command The SGSN initialises GTP with gtp_statedir of "./" which may not be the desired path for writing the gsn_restart file. When starting from systemd for example, we might write to the system root. This patch allows override via the config file. Closes: OS#4820 Change-Id: Ib3ffb7fd6ea1d9b0286111d8c2cba9da5394ca58 --- tests/test_nodes.vty | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_nodes.vty b/tests/test_nodes.vty index 18bccc8f..109e2ece 100644 --- a/tests/test_nodes.vty +++ b/tests/test_nodes.vty @@ -27,6 +27,7 @@ OsmoSGSN(config)# list OsmoSGSN(config)# sgsn OsmoSGSN(config-sgsn)# list ... + gtp state-dir PATH gtp local-ip A.B.C.D ggsn <0-255> remote-ip A.B.C.D ggsn <0-255> gtp-version (0|1)