This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, neels/subscr_ctrl has been created
at a64fbccd0570cab900d2e729d929b61627927278 (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-hlr/commit/?id=a64fbccd0570cab900d2e729d929b61…
commit a64fbccd0570cab900d2e729d929b61627927278
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Tue Oct 17 22:26:00 2017 +0200
test_subscriber.ctrl: test against octal/hex interpretation of id
Add a large enough subscriber id and add a test that ensures a leading zero is
not interpreted as octal, and that a leading 0x is invalid and not interpreted
as hexadecimal.
Change-Id: Ib468b7cb595cf52331ebb41e6de0e8f57f69e173
http://cgit.osmocom.org/osmo-hlr/commit/?id=f2a15dd9d3295a12c445b66598e0987…
commit f2a15dd9d3295a12c445b66598e09872f90c8f83
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Tue Oct 17 01:58:24 2017 +0200
ctrl: completely replace all CTRL commands
The previous commands are not conforming to how the CTRL interface is intended
to work:
SET enable-ps <IMSI>
SET disable-ps <IMSI>
SET status-ps <IMSI>
'status-ps' is a write-only command even though it returns the status.
'enable-ps' / 'disable-ps' indicate the value instead of a variable name of an
entity. The entity <IMSI> takes the place of the variable value.
See also https://lists.osmocom.org/pipermail/openbsc/2017-September/011236.html
Instead, replace with
SET subscriber.by-imsi-123456.ps-enabled {0,1}
GET subscriber.by-imsi-123456.ps-enabled
and also provide further CTRL functions while at it:
{SET,GET} subscriber.by-{imsi,msisdn,id}-123456.{cs,ps}-enabled {0,1}
GET subscriber.by-{imsi,msisdn,id}-123456.{info,info-aud,info-all}
Provide CTRL tests in the form of transcripts.
Adjust tests/test_subscriber.sql to feature nonzero SQN, to see some values for
SQN in the CTRL transcript tests. (This does not affect the VTY tests, because
that creates its own subscribers, and there's no VTY command to set the SQN.)
This is the first time an application uses CTRL_NODE ids that are defined
outside of libosmocore, see 'Depends' below.
Implementation choice: the first idea was to have a '.' between the 'by-xxx'
and the value, like:
subscriber.by-xxx.123456.function
but the difficulty with subscribers is that they are not in RAM, and I can't
just point node_data at a struct instance that is always there (like, say, a
global bts[0] struct in osmo-bsc). Instead, I want to store the selector and
later decide whether to read from the DB or whatever. With a '.' separating
things, the only way in a ctrl function to obtain both 'by-xxx' and '123456'
for picking a subscriber record would be to parse the entire variable path
string elements, including 'subscriber' and 'function', which would then also
clumsily fix at which node level we hook these commands; there could have been
separate CTRL_NODE_SUBSCR_BY_{IMSI,MSISDN,ID} parent nodes, but we cannot
introspect the current parent node dynamically within a ctrl function handler
(plus I'm not sure whether it's possible and a good idea to have the same
command under multiple parent nodes).
Rather than that, I store the 'by-foo-123' token in the node_data pointer to
have both bits of information pointed at by a single pointer; I use the
incoming command parsing to get this token pre-separated from surrounding node
names, and no need to re-allocate it, since the vector of tokens lives until
after command execution is complete. Each leaf command obtains this token from
cmd->node (aka node_data), and feeds this token to a common static function to
parse selector and value from it and to retrieve a subscriber record as needed.
(BTW, I have mentioned on the mailing list that this way might be necessary to
avoid numeric-only CTRL node names, but we don't need to, and that is not at
all related to this choice of structure.)
Depends: libosmocore I1bd62ae0d4eefde7e1517db15a2155640a1bab58
libosmocore Ic9dba0e4a1eb5a7dc3cee2f181b9024ed4fc7005
Change-Id: I98ee6a06b3aa6a67adb868e0b63b0e04eb42eb50
http://cgit.osmocom.org/osmo-hlr/commit/?id=1eed54f449413a6168f2f74c74cf39f…
commit 1eed54f449413a6168f2f74c74cf39f5cb1475d8
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Tue Oct 24 17:23:04 2017 +0200
cosmetic: tweak params of hlr_controlif_setup()
Cosmetically prepare for adding new CTRL commands in hlr_controlif_setup():
- drop unused 'gs' param.
- use ctrl_interface_setup_dynip2(), so far with default CTRL nodes; custom
nodes will be added soon.
Prepares: I98ee6a06b3aa6a67adb868e0b63b0e04eb42eb50
Change-Id: I63004a7953b04988449697dbc5d55d7ed0c6d82d
-----------------------------------------------------------------------
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Manuals for Osmocom GSM components".
The branch, neels/osmo-hlr has been updated
via 8a08220bbb0086220922b91e8dbd59e6164aeaf7 (commit)
via 38b7cff16cee2fb787ca26e2e892dc93e6c9e06c (commit)
from 68a9801c88b20f717cee3ccab29d57ec07be91d5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-gsm-manuals/commit/?id=8a08220bbb0086220922b91…
commit 8a08220bbb0086220922b91e8dbd59e6164aeaf7
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Tue Oct 24 15:47:12 2017 +0200
OsmoHLR: update ctrl description and examples
The patch to refactor ctrl commands to osmo-hlr, change
I98ee6a06b3aa6a67adb868e0b63b0e04eb42eb50, was tweaked. Adjust accordingly.
Change-Id: Ie4da6115bb2eb005a9f95bf4de1bfe36468fd607
http://cgit.osmocom.org/osmo-gsm-manuals/commit/?id=38b7cff16cee2fb787ca26e…
commit 38b7cff16cee2fb787ca26e2e892dc93e6c9e06c
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Tue Oct 24 14:31:13 2017 +0200
OsmoHLR: add make target to update the example ctrl and vty files
Change-Id: I88027396ec15101697a79aa5e964387d47abdae2
-----------------------------------------------------------------------
Summary of changes:
OsmoHLR/Makefile | 41 +++++++++++++++++++++++++++
OsmoHLR/chapters/control.adoc | 13 ++++++---
OsmoHLR/example_subscriber_cs_ps_enabled.ctrl | 25 ++++++++++++++++
OsmoHLR/example_subscriber_info.ctrl | 18 ++++++++++--
4 files changed, 91 insertions(+), 6 deletions(-)
hooks/post-receive
--
Manuals for Osmocom GSM components
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Manuals for Osmocom GSM components".
The branch, master has been updated
via 1b1b176e68730f5e42bf71e444c0ba1f3d9acea4 (commit)
from 644bcae369f481b426553050cb31a73ce9f76255 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-gsm-manuals/commit/?id=1b1b176e68730f5e42bf71e…
commit 1b1b176e68730f5e42bf71e444c0ba1f3d9acea4
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Mon Sep 18 18:32:30 2017 +0200
OsmoNITB: update vty reference
Change node IDs to use the names derived from the node prompt,
in the process fix the node references to not place the vty_additions in the
wrong places.
Related: I8fa555570268b231c5e01727c661da92fad265de (libosmocore)
Change-Id: I48edb65be94be56c4b57293d8edc1b30271acc12
-----------------------------------------------------------------------
Summary of changes:
OsmoNITB/vty/nitb_vty_additions.xml | 12 +-
OsmoNITB/vty/nitb_vty_reference.xml | 867 +++++++++++++++++++++++++++++++-----
2 files changed, 761 insertions(+), 118 deletions(-)
hooks/post-receive
--
Manuals for Osmocom GSM components
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".
The branch, master has been updated
via c8ef736370483df6feb761b49fccaa6790b6f8c2 (commit)
via 754e6877cccddd0a279659c32fa594b23369dc61 (commit)
via a568af25d2a8382265b44c9b2b3a72ca504d2443 (commit)
from 37f465e275bea35d36b0763bfaef759792a9031f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=c8ef736370483df6feb761b49fcc…
commit c8ef736370483df6feb761b49fccaa6790b6f8c2
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Mon Oct 23 15:10:00 2017 +0200
jenkins: bail early if $MAKE env var is not set
If $MAKE is unset, it produces confusing errors, rather check explicitly.
Change-Id: I59b111dfdee4e1edea04155144f01d99f5f72aa1
http://cgit.osmocom.org/libosmocore/commit/?id=754e6877cccddd0a279659c32fa5…
commit 754e6877cccddd0a279659c32fa594b23369dc61
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Mon Oct 23 14:57:56 2017 +0200
fixups for recent "Cleanup jenkins build scripts"
Change I24e500e132f5c8e8133d35548cb7b4e4552331d0 was merged, but IMHO needs
improvement. Fix these:
- clean the git source tree before each build step, in common prep_build().
- fix indenting inside the build() macros.
- change build() arg to be build_dir, to absorb cleanup steps into build().
- in jenkins.sh, use $ENABLE_SANITIZE as global env, not passed as arg.
- in jenkins.sh, don't do 'make distcheck' twice. It is not necessary to do it
from source tree as well as separately from source tree, since distcheck
already moves to a different build dir.
Change-Id: I09d306350602f21943d5bd45f7388c83ede9b524
http://cgit.osmocom.org/libosmocore/commit/?id=a568af25d2a8382265b44c9b2b3a…
commit a568af25d2a8382265b44c9b2b3a72ca504d2443
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Mon Oct 23 04:03:19 2017 +0200
contrib/fsm-to-dot.py: some tweaks that help with osmo-bsc's new FSMs
Combine the C source file name and the string name into the fsm's internal name
token, and use it in most places instead of the plain struct name: osmo-bsc's
new FSMs have identical struct names in each static c context.
Output in a file name that includes all of these more detailed name tokens.
Also parse '(1 << EVENT)' as event names.
Note that besides this patch, there are also some tweaks to the osmo-bsc patch
that improve the fsm-to-dot experience...
- call fsm-to-dot for single files to avoid name conflicts, or rename each
struct as a unique name.
- Add comments for the event name a callback is intended for, so that not all
transitions are interpreted as TEARDOWN (because it is invoked in common
error handling, which causes the script to interpret it as the causing
event). (or change the event-checking if into a switch that names the valid
event and has a default case for all others.)
Change-Id: Ib60df7fd19efc99ba9fe797f14c0e3239c4bea20
-----------------------------------------------------------------------
Summary of changes:
contrib/fsm-to-dot.py | 53 +++++++++++++++++++++++++++++++++++------------
contrib/jenkins-arm.sh | 21 ++++++++++---------
contrib/jenkins.sh | 26 +++++++++++++----------
contrib/jenkins_common.sh | 24 ++++++++++++++++++++-
4 files changed, 89 insertions(+), 35 deletions(-)
hooks/post-receive
--
An utility library for Open Source Mobile Communications
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, master has been updated
via 066a95dec529c3fc5c77e186a0f25ca613e74ff5 (commit)
via 6562c085c42f3fa669a3c8a71c99cda7a108a3ad (commit)
via 08d645b01db09c14520a6000ce4833dbb74c0c88 (commit)
via 32cbce1a163f4c5e084bbb5f02e5312cd78575c1 (commit)
via 7b5203f6aa2eb236019470029f0891bfc7998eff (commit)
from 4e8d6eec5cef0fdba861ba6d29ee59b09631c296 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
osmopy/__init__.py | 4 +-
...ranscript_common.py => osmo_interact_common.py} | 118 ++++++++++++++++----
...fy_transcript_ctrl.py => osmo_interact_ctrl.py} | 38 ++-----
...rify_transcript_vty.py => osmo_interact_vty.py} | 80 +++++++-------
osmopy/osmo_verify_transcript_ctrl.py | 68 +-----------
osmopy/osmo_verify_transcript_vty.py | 119 +--------------------
setup.py | 4 +-
7 files changed, 159 insertions(+), 272 deletions(-)
rename osmopy/{osmo_verify_transcript_common.py => osmo_interact_common.py} (74%)
copy osmopy/{osmo_verify_transcript_ctrl.py => osmo_interact_ctrl.py} (71%)
copy osmopy/{osmo_verify_transcript_vty.py => osmo_interact_vty.py} (73%)
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".
The branch, master has been updated
via 37f465e275bea35d36b0763bfaef759792a9031f (commit)
via 95308596540b0733a43d9db5dc6ab0c4f5e2d08f (commit)
via c513c0f562b193a8e710b904b980bfa9b3d08b56 (commit)
via 4ce24c45b9286c3946135f97d6ca6f2d4074526e (commit)
from abdd7a28ede091f06325b3e5b8a77fc9130e6ee3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=37f465e275bea35d36b0763bfaef…
commit 37f465e275bea35d36b0763bfaef759792a9031f
Author: Max <msuraev(a)sysmocom.de>
Date: Tue Oct 24 16:04:55 2017 +0200
GPRS: check and report local address used for NSE
When dumping NSE via vty:
* check which local address would be used to communicate with a given
NSE and print it
* print link layer type last to make output more consistent
Change-Id: I6932a29c7899d36bcc275f05dda9670b0e69bef0
Related: SYS#3610
http://cgit.osmocom.org/libosmocore/commit/?id=95308596540b0733a43d9db5dc6a…
commit 95308596540b0733a43d9db5dc6ab0c4f5e2d08f
Author: Max <msuraev(a)sysmocom.de>
Date: Tue Oct 24 15:54:28 2017 +0200
GPRS: clarify ip/frgre union use
* add comment about underlying assumption that structs in ip/frgre union
members in gprs_nsvc struct have the same memory layout
* remove such assumption from gprs_ns_ll_str()
* use gprs_ns_ll_str() for NSE dump
Change-Id: Idcb912b7b3f7460fd2b058e16650c0bde8f757ee
http://cgit.osmocom.org/libosmocore/commit/?id=c513c0f562b193a8e710b904b980…
commit c513c0f562b193a8e710b904b980bfa9b3d08b56
Author: Max <msuraev(a)sysmocom.de>
Date: Mon Oct 23 15:11:14 2017 +0200
GPRS: wrap NS state assignment in macro
This enables logging for every state transition which makes NS
troubleshooting easier.
Change-Id: I5d6eaef0432d9be810bf93d07e40787b9ca59142
Related: SYS#3610
http://cgit.osmocom.org/libosmocore/commit/?id=4ce24c45b9286c3946135f97d6ca…
commit 4ce24c45b9286c3946135f97d6ca6f2d4074526e
Author: Max <msuraev(a)sysmocom.de>
Date: Mon Oct 23 15:09:23 2017 +0200
GPRS: unify NS state printing
* introduce defines with NS state names
* use them for vty and tests
* expand test output to print complete NS state
Change-Id: I69f8d536135ae76dbca623c2f1ffba625adcb1e9
Related: SYS#3610
-----------------------------------------------------------------------
Summary of changes:
include/osmocom/gprs/gprs_ns.h | 6 +++
src/gb/gprs_ns.c | 67 +++++++++++++++++------
src/gb/gprs_ns_vty.c | 29 +++++-----
tests/gb/gprs_ns_test.c | 7 +--
tests/gb/gprs_ns_test.ok | 120 ++++++++++++++++++++---------------------
5 files changed, 137 insertions(+), 92 deletions(-)
hooks/post-receive
--
An utility library for Open Source Mobile Communications
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cellmanager NG, intended to interface with BSplus".
The branch, master has been updated
via 650176435412d601d4bf973ced2c99dd8693d80e (commit)
via 1bf8a4e42a643e9949e8f94b80ceb56be9579b14 (commit)
from a6d27a62ede95b46de453fd139d0855637065aba (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/cellmgr-ng/commit/?id=650176435412d601d4bf973ced2c9…
commit 650176435412d601d4bf973ced2c99dd8693d80e
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon Oct 23 14:15:24 2017 +0800
Make a local release
Change-Id: I32da63d05a45aff50c657fe8640fa997daa668e2
http://cgit.osmocom.org/cellmgr-ng/commit/?id=1bf8a4e42a643e9949e8f94b80ceb…
commit 1bf8a4e42a643e9949e8f94b80ceb56be9579b14
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon Oct 23 11:55:28 2017 +0800
m3ua: Make connection non-blocking to not block other flows
Currently the connect is blocking leading to one bad connection
(e.g. to a black hole) blocking all other connections leading to
bursty traffic.
Change-Id: Idfca8acbce09176055da3e577566386e07d7a348
-----------------------------------------------------------------------
Summary of changes:
debian/changelog | 6 +++
src/sctp_m3ua_client.c | 103 +++++++++++++++++++++++++++++++++++++++++++------
2 files changed, 98 insertions(+), 11 deletions(-)
hooks/post-receive
--
Cellmanager NG, intended to interface with BSplus
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, master has been updated
via 4c9ec22546264454662895123ff2b1310b1081ad (commit)
from a4f4822784c35d89d8dfa644f0546f6510f889db (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=4c9ec22546264454662895123ff2b13…
commit 4c9ec22546264454662895123ff2b1310b1081ad
Author: Philipp Maier <pmaier(a)sysmocom.de>
Date: Tue Oct 17 15:33:48 2017 +0200
gb: allow only packets from a specific SGSN
Each PCU has a specifically assigned SGSN, which may send
packets to the PCU. Ensure that no one else except the
configured SGSN can send packets to the PCU.
Change-Id: Ic2009039fab7cf0fba916556239747ae5b410366
Depends: libosmocore Ifeb201d9006eec275a46708007ff342cdfc14e45
-----------------------------------------------------------------------
Summary of changes:
src/gprs_bssgp_pcu.cpp | 2 ++
1 file changed, 2 insertions(+)
hooks/post-receive
--
UNNAMED PROJECT
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".
The branch, master has been updated
via abdd7a28ede091f06325b3e5b8a77fc9130e6ee3 (commit)
from e9e9e427b78271941a25a63567fc2ec2bb9e4433 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=abdd7a28ede091f06325b3e5b8a7…
commit abdd7a28ede091f06325b3e5b8a77fc9130e6ee3
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Thu Oct 19 02:40:01 2017 +0200
add osmo_talloc_asprintf() and ctrl_cmd_reply_printf()
Add macro to append to a CTRL commands' reply string, ctrl_cmd_reply_printf().
The talloc_asprintf() part of it is generic enough to qualify for a separate
macro, osmo_talloc_asprintf().
The idea is to not have to decide for each bit added to a string whether the
string is already allocated or not, but simply be able to issue printf commands
and let the macro worry about initial allocation or reallocation.
This originally came from osmo-hlr change
I1bd62ae0d4eefde7e1517db15a2155640a1bab58, where it was requested to move this
bit to libosmocore.
Change-Id: Ic9dba0e4a1eb5a7dc3cee2f181b9024ed4fc7005
-----------------------------------------------------------------------
Summary of changes:
include/osmocom/core/utils.h | 18 ++++++++++++++++++
include/osmocom/ctrl/control_cmd.h | 3 +++
2 files changed, 21 insertions(+)
hooks/post-receive
--
An utility library for Open Source Mobile Communications
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".
The branch, master has been updated
via e9e9e427b78271941a25a63567fc2ec2bb9e4433 (commit)
from 224a6dda02a2fcf11f70ac25abe9c780167649bf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=e9e9e427b78271941a25a63567fc…
commit e9e9e427b78271941a25a63567fc2ec2bb9e4433
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Mon Oct 23 19:19:13 2017 +0200
vty: Fix bad use of vector_slot()
Fixes the compilation warning below:
git/libosmocore/src/vty/command.c: In function ‘cmd_complete_command_real’:
git/libosmocore/src/vty/command.c:1953:33: warning: comparison between pointer and zero character const
ant [-Wpointer-compare]
if (vector_slot(vline, index) == '\0')
^~
git/libosmocore/src/vty/command.c:37:0:
git/libosmocore/include/osmocom/vty/vector.h:39:27: note: did you mean to dereference the pointer?
#define vector_slot(V,I) ((V)->index[(I)])
^
git/libosmocore/src/vty/command.c:1953:7: note: in expansion of macro ‘vector_slot’
if (vector_slot(vline, index) == '\0')
^~~~~~~~~~~
Change-Id: Iaba9e3450d68c51e16a7bda2fc0fc370992ca866
-----------------------------------------------------------------------
Summary of changes:
src/vty/command.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
An utility library for Open Source Mobile Communications