aboutsummaryrefslogtreecommitdiffstats
path: root/doc/manuals/vty/ggsn_vty_reference.xml
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-08-21 18:49:44 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-28 11:34:11 +0200
commitf5fbb419efc3f5210da1517a889ba828b6716a1a (patch)
tree749a30a7e033b627223117d240080cd8c3020166 /doc/manuals/vty/ggsn_vty_reference.xml
parent5d8b2265975f93616d7677bd41edb426839a2698 (diff)
ggsn: Implement echo req/resp and recovery
This patch is quite big because implementing echo req/resp and recovery requires having knowledge and managing differentiated state for each GSN peer attached/connected to osmo-ggsn. This kind of information was not available in osmo-ggsn nor in libgtp. So osmo-ggsn is now able to track GSN peers connected to a ggsn_ctx (associated gsn_t from libgtp) by means of "sgsn_peer" data structure, and accessible from the ggsn through a list. The instances of sgsn_peer are currently allocated and destroyed dynamically based on discovered peer who have at least a pdp context attached to us (we are not interested in peers without pdp contexts because we don't need to send echo requests/responses and maintain state in that case). A new private pointer (pdp_t->priv) data structure struct pdp_priv_t is added to be able to relate a pdp_t to an sgsn as well as the already existing pointer to an apn. An "echo-interval <0-36000>" VTY command is added which allows configuring time wait between echo requests being sent to each sgsn_peer. Transmission of echo requests is disabled by default. Finally, a new "show sgsn" VTY command is introduced, and its output is also printed during "show ggsn". Related: OS#4165 Change-Id: Id2c84165dc59dff495106758146a701ca488834f
Diffstat (limited to 'doc/manuals/vty/ggsn_vty_reference.xml')
-rw-r--r--doc/manuals/vty/ggsn_vty_reference.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/manuals/vty/ggsn_vty_reference.xml b/doc/manuals/vty/ggsn_vty_reference.xml
index 15128ed..64bd07a 100644
--- a/doc/manuals/vty/ggsn_vty_reference.xml
+++ b/doc/manuals/vty/ggsn_vty_reference.xml
@@ -1380,6 +1380,18 @@
<param name='default-apn' doc='Remove default-APN to be used if no other APN matches' />
</params>
</command>
+ <command id='show sgsn'>
+ <params>
+ <param name='show' doc='Negate a command or set its defaults' />
+ <param name='sgsn' doc='Gateway GPRS Support NODE (GGSN)' />
+ </params>
+ </command>
+ <command id='echo-interval &lt;0-36000&gt;'>
+ <params>
+ <param name='echo-interval' doc='Gateway GPRS Support NODE (GGSN)' />
+ <param name='&lt;0-36000&gt;' doc='GGSN Number' />
+ </params>
+ </command>
</node>
<node id='config-ggsn-apn'>
<name>config-ggsn-apn</name>