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
This commit is contained in:
Keith Whyte 2020-10-19 22:24:48 +02:00 committed by keith
parent 3d7be512b7
commit 2158c69e05
1 changed files with 1 additions and 0 deletions

View File

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