<p>lynxis lazus <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22503">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  daniel: Looks good to me, approved
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">sgsn: change configuration to the new NS2<br><br>Change the whole vty configuration for NS to be more flexible<br>and support more setups. Old configurations are invalid.<br><br>For further information see:<br>https://osmocom.org/projects/libosmocore/wiki/Network_service_(NS)<br><br>Depends-on: If5bd6b86e130772e6c93d640b0c637985416136d (osmo-sgsn)<br>Change-Id: I37d010bc4ae553c30feb2ebd2be66d23b96bf42a<br>---<br>M sgsn/SGSN_Tests_NS.ttcn<br>M sgsn/osmo-sgsn.cfg<br>2 files changed, 3 insertions(+), 5 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/sgsn/SGSN_Tests_NS.ttcn b/sgsn/SGSN_Tests_NS.ttcn</span><br><span>index 9ef2dfb..dd68b05 100644</span><br><span>--- a/sgsn/SGSN_Tests_NS.ttcn</span><br><span>+++ b/sgsn/SGSN_Tests_NS.ttcn</span><br><span>@@ -23,7 +23,6 @@</span><br><span> testcase TC_NS_connect_reset() runs on RAW_Test_CT {</span><br><span>    f_init_vty();</span><br><span>        f_init_ns_codec(mp_nsconfig[0], guard_secs := 10.0);</span><br><span style="color: hsl(0, 100%, 40%);">-    f_vty_config(SGSNVTY, "ns", "encapsulation udp use-reset-block-unblock enabled");</span><br><span> </span><br><span>    /* Send a NS-ALIVE */</span><br><span>        f_outgoing_ns_reset();</span><br><span>@@ -35,7 +34,6 @@</span><br><span> testcase TC_NS_connect_alive() runs on RAW_Test_CT {</span><br><span>   f_init_vty();</span><br><span>        f_init_ns_codec(mp_nsconfig[0], guard_secs := 10.0);</span><br><span style="color: hsl(0, 100%, 40%);">-    f_vty_config(SGSNVTY, "ns", "encapsulation udp use-reset-block-unblock disabled");</span><br><span> </span><br><span>   /* Send a NS-ALIVE */</span><br><span>        NSCP[0].send(t_NS_ALIVE);</span><br><span>diff --git a/sgsn/osmo-sgsn.cfg b/sgsn/osmo-sgsn.cfg</span><br><span>index 7ac50bc..c03c9a3 100644</span><br><span>--- a/sgsn/osmo-sgsn.cfg</span><br><span>+++ b/sgsn/osmo-sgsn.cfg</span><br><span>@@ -47,9 +47,9 @@</span><br><span>  timer tns-test 30</span><br><span>  timer tns-alive 3</span><br><span>  timer tns-alive-retries 10</span><br><span style="color: hsl(0, 100%, 40%);">- encapsulation udp local-ip 127.0.0.10</span><br><span style="color: hsl(0, 100%, 40%);">- encapsulation udp local-port 23000</span><br><span style="color: hsl(0, 100%, 40%);">- encapsulation framerelay-gre enabled 0</span><br><span style="color: hsl(120, 100%, 40%);">+ bind udp local10</span><br><span style="color: hsl(120, 100%, 40%);">+  listen 127.0.0.10 23000</span><br><span style="color: hsl(120, 100%, 40%);">+  accept-ipaccess</span><br><span> bssgp</span><br><span> sgsn</span><br><span>  gtp local-ip 127.0.0.10</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22503">change 22503</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22503"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I37d010bc4ae553c30feb2ebd2be66d23b96bf42a </div>
<div style="display:none"> Gerrit-Change-Number: 22503 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: daniel <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>