<p>daniel <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/9402">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gb_proxy: Add ctrl interface and ns-state, gbproxy-state commands<br><br>This patch adds a control interface to osmo-gbproxy as well as the first<br>two commands to query the state of each NSVC and gbproxy peer.<br><br>The "ns-state" command replies with<br>nsei, nsvci, local state, role, remote state of all NSVCs.<br><br>The "gbproxy-state" command replies with<br>nsei, bvci, mcc, mnc, lac, rac, and state of each peer.<br><br>If there are no entries an error is returned.<br><br>$ ./osmo_ctrl.py -d 127.0.0.1 -p 4263 -g ns-state<br>Got message: b'GET_REPLY 23 gb-status 101,101,DEAD,BLOCKED,SGSN,DEAD,UNBLOCKED;'<br>$ ./osmo_ctrl.py -d 127.0.0.1 -p 4263 -g gbproxy-state<br>Got message: b'ERROR 23 No peers found'<br><br>Change-Id: I82c74fd0bfcb9ba4ec3619d9fdaa0cae201b3177<br>Ticket: OS#3281, SYS#4235<br>Sponsored-by: On-Waves ehf<br>---<br>M include/osmocom/sgsn/gb_proxy.h<br>M src/gprs/Makefile.am<br>A src/gprs/gb_proxy_ctrl.c<br>M src/gprs/gb_proxy_main.c<br>4 files changed, 132 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/02/9402/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/9402">change 9402</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/9402"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-sgsn </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I82c74fd0bfcb9ba4ec3619d9fdaa0cae201b3177 </div>
<div style="display:none"> Gerrit-Change-Number: 9402 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: daniel <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>