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 183e7009afc8577f0d89c99f92a5720697040494 (commit)
from b6837e36a34a1e9e7fafea822516e61285e3c09c (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-hlr/commit/?id=183e7009afc8577f0d89c99f92a5720…
commit 183e7009afc8577f0d89c99f92a5720697040494
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Fri Oct 6 02:59:54 2017 +0200
implement subscriber vty interface, tests
Implement VTY commands for subscriber manipulation:
- create / delete subscriber
- modify MSISDN
- add/edit/remove 2G and 3G authentication data
- show by IMSI, MSISDN or DB ID.
(enable/disable CS/PS and purge/unpurge to follow later.)
Implement VTY unit tests for the new commands using new
osmo_verify_transcript_vty.py from osmo-python-tests.
Depends: libosmocore I1e94f5b0717b947d2a7a7d36bacdf04a75cb3522
osmo-python-tests Id47331009910e651372b9c9c76e12f2e8964cc2c
Change-Id: I42b3b70a0439a8f2e4964d7cc31e593c1f0d7537
-----------------------------------------------------------------------
Summary of changes:
src/Makefile.am | 2 +
src/hlr_vty.c | 3 +
src/hlr_vty_subscr.c | 484 ++++++++++++++++++++++++++++++++++++++++++++++
src/hlr_vty_subscr.h | 3 +
tests/Makefile.am | 21 +-
tests/test_subscriber.vty | 348 +++++++++++++++++++++++++++++++++
6 files changed, 859 insertions(+), 2 deletions(-)
create mode 100644 src/hlr_vty_subscr.c
create mode 100644 src/hlr_vty_subscr.h
create mode 100644 tests/test_subscriber.vty
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 2d2490ed4eead00f23cc4a34b6a0fb17751f6a8f (commit)
from a19c126e7693c3f98cc8f5cd0f010d4fa23d922f (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=2d2490ed4eead00f23cc4a34b6a0…
commit 2d2490ed4eead00f23cc4a34b6a0fb17751f6a8f
Author: Philipp Maier <pmaier(a)sysmocom.de>
Date: Fri Oct 20 19:41:26 2017 +0200
socket: add function osmo_sock_local_ip() to query local ip
In some cases it is required to know the ip-address of the interface
through that a given remote IP-Address can be reached.
Add function osmo_sock_local_ip() to determine the local ip-address
for a given remote ip-address
Change-Id: I2988cc52b196fc8476703d1287e24cb4a48491c2
-----------------------------------------------------------------------
Summary of changes:
include/osmocom/core/socket.h | 2 ++
src/socket.c | 53 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 55 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 a19c126e7693c3f98cc8f5cd0f010d4fa23d922f (commit)
from c5b47cc03200c983981ac4b8de20fb0e26d4f873 (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=a19c126e7693c3f98cc8f5cd0f01…
commit a19c126e7693c3f98cc8f5cd0f010d4fa23d922f
Author: Max <msuraev(a)sysmocom.de>
Date: Fri Oct 20 15:39:45 2017 +0200
GPRS: log NS socket
Let's log NS UDP socket creation similar to the way we log it for telnet
and ctrl interfaces.
Change-Id: Ic9d0f94ab2c1bb33f67cd4f1c9236b64108c0bb6
-----------------------------------------------------------------------
Summary of changes:
src/gb/gprs_ns.c | 1 +
1 file changed, 1 insertion(+)
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 "The Open Source GSM Base Band stack".
The branch, master has been updated
via da9e830af0d185c3ac2e8f4d5259758e144a3789 (commit)
via c5a08ef4f448d5fc0a0a02574eafb52c0eb7707b (commit)
from ae31c37d2b4033fb2335060e4f7942ad5ad9549a (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/osmocom-bb/commit/?id=da9e830af0d185c3ac2e8f4d52597…
commit da9e830af0d185c3ac2e8f4d5259758e144a3789
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Mon Oct 23 00:33:58 2017 +0330
mobile/vty_interface.c: do not write 'exit' to config
Since we use indenting as means to implicitly exit child nodes,
no need to write 'exit' at the end of each child node.
Change-Id: I73b0f3926d766d21ca68c8e01b7fc70b2b4636c9
http://cgit.osmocom.org/osmocom-bb/commit/?id=c5a08ef4f448d5fc0a0a02574eafb…
commit c5a08ef4f448d5fc0a0a02574eafb52c0eb7707b
Author: Vadim Yanitskiy <axilirator(a)gmail.com>
Date: Mon Oct 23 00:17:22 2017 +0330
mobile/vty_interface.c: do not install default commands
Since in recent version of libosmocore default commands (such as
'exit' and 'end') are being installed by default, no need to
install them twice. This will crash the program.
Change-Id: I82c8d04ccc7dc3f19589a79b859a2c993bd1d39c
-----------------------------------------------------------------------
Summary of changes:
src/host/layer23/src/mobile/vty_interface.c | 53 -----------------------------
1 file changed, 53 deletions(-)
hooks/post-receive
--
The Open Source GSM Base Band stack
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 "Osmocom BTS-side code (Abis, scheduling, ...)".
The branch, master has been updated
via 0c9bc5422a267e51381bbc715b826f2681390e38 (commit)
from 8c9bc5c6c70a34c88733f09bd1d8f7735881357b (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-bts/commit/?id=0c9bc5422a267e51381bbc715b826f2…
commit 0c9bc5422a267e51381bbc715b826f2681390e38
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Tue Oct 17 12:35:48 2017 +0200
osmo-bts-trx: vty: various fixes of 'write file' and doc
On 'write file':
- Write 'osmotrx' before 'maxdly' and 'maxdlynb' (broken since "Introduce new
phy_link and phy_instance abstraction"
d784e50747b8cf0ce505489e1451f75be5ccbd4b)
- Fix indenting of 'write file' output, command 'osmotrx timing-advance-loop',
had a stray space in case there is not a 'no' preceding it.
Add some missing instances of OSMOTRX_STR doc strings.
examples/osmo-bts.cfg:
- Drop 'settsc', the command no longer exists.
- Fix indenting of 'osmotrx rx-gain' command.
osmo-bts does not feature VTY tests, so it is pointless to add example files to
test these fixes. We should probably add VTY tests separately. However, I have
briefly tested manually (and hence found all of these issues).
Change-Id: I018eaef40345bfa26e12eb7d09e83a52596c1000
-----------------------------------------------------------------------
Summary of changes:
doc/examples/trx/osmo-bts.cfg | 3 +--
src/osmo-bts-trx/trx_vty.c | 14 +++++++++-----
2 files changed, 10 insertions(+), 7 deletions(-)
hooks/post-receive
--
Osmocom BTS-side code (Abis, scheduling, ...)
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 c5b47cc03200c983981ac4b8de20fb0e26d4f873 (commit)
from fcf81b5deb8d02ba45907e90bb6668c67986a028 (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=c5b47cc03200c983981ac4b8de20…
commit c5b47cc03200c983981ac4b8de20fb0e26d4f873
Author: Philipp Maier <pmaier(a)sysmocom.de>
Date: Tue Oct 10 16:53:21 2017 +0200
add function msgb_printf() to print formatted text into msg buf
In ASCII string based protocols it a printf() version that prints
directly to the message buffer may be useful.
Add function msgb_printf(), make sure that msg buffer bounderies
are not exceeded. If the end of the tail buffer is hit, return
with an error code.
Change-Id: I15e1af68616309555d0ed9ac5da027c9833d42e3
-----------------------------------------------------------------------
Summary of changes:
include/osmocom/core/msgb.h | 1 +
src/msgb.c | 48 ++++++++++++++++++++
tests/msgb/msgb_test.c | 105 ++++++++++++++++++++++++++++++++++++++++++++
tests/msgb/msgb_test.ok | 8 ++++
4 files changed, 162 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, neels/vty has been updated
discards 139d0c08d3e1dcf206f6fdcc04fbb53db777aff4 (commit)
discards b4e165914e3ed459b5dd7d6c5efb5803511a8a26 (commit)
discards 6fa35b39e8b515e45689235cd7e7f40ae78b0ea8 (commit)
discards e8c9c0dc78035e2a085ef1d263486ed795eda8c5 (commit)
discards 032846ad92776004faedca7be378f558234fec29 (commit)
via 2f5da1de44f3bc54bd6267edb00634fd8ea7481e (commit)
via 5e8c555b5f08f13fb2a3fc2180600aef465d73aa (commit)
via cb67201a62e7848538132d38020adab3acfdd1eb (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (139d0c08d3e1dcf206f6fdcc04fbb53db777aff4)
\
N -- N -- N (2f5da1de44f3bc54bd6267edb00634fd8ea7481e)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
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=2f5da1de44f3bc54bd6267edb006…
commit 2f5da1de44f3bc54bd6267edb00634fd8ea7481e
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Sun Oct 22 02:31:33 2017 +0200
VTY reference: use node names as section names
In 'show online-help' output, add the node names (currently all derived from
the prompt) as <node><name> entry, so that in the osmo-gsm-manuals, each
section of node commands gets a title. So far, each section of commands has no
name at all, and it is entirely up for guessing which part of the VTY the
commands are about.
Node section names, e.g. for OsmoHLR, will be like
1 VTY reference
1.4 config
1.5 config-log
1.6 config-line
1.7 config-ctrl
1.8 config-hlr
1.9 config-hlr-gsup
Before this patch, all but '1 VTY reference' were plain empty.
A better solution would be to list the actual command name that enters the
node, and to nest the commands identically to VTY node nesting, but since this
information is currently hidden in node command implementations, it is
impossible to derive it. So we should actually make the VTY reflect the node
nesting structure in its data model, which would resolve both the accurate node
name problem as well as produce well-structured output to generate the VTY
references from. This patch is a workaround for lack of a more profound fix of
the VTY data model. At least it makes the VTY references' sections even
remotely useful.
Change-Id: Iaf745b2ab3d9b02fc47025a0eba3beb711068bfe
http://cgit.osmocom.org/libosmocore/commit/?id=5e8c555b5f08f13fb2a3fc218060…
commit 5e8c555b5f08f13fb2a3fc2180600aef465d73aa
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Sun Oct 22 02:31:33 2017 +0200
VTY reference: do not list empty nodes
In 'show online-help' output, don't list nodes that have no commands (the
'Password' node).
Change-Id: Iaf745b2ab3d9b02fc47025a0eba3beb711068bfe
http://cgit.osmocom.org/libosmocore/commit/?id=cb67201a62e7848538132d38020a…
commit cb67201a62e7848538132d38020adab3acfdd1eb
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Thu Oct 19 02:44:57 2017 +0200
vty XML export: avoid repeating common node commands for each node
We use 'show online-help' to generate VTY reference manuals. It is not helpful
to include the common node commands on each and every node level, it clutters
the actual useful help.
Have a separate first section called 'Common Commands', but omit them
elsewhere.
Change-Id: Ie802eccad80887968b10269ff9c0e9797268e0d4
-----------------------------------------------------------------------
Summary of changes:
include/osmocom/core/utils.h | 18 ---------
include/osmocom/ctrl/control_cmd.h | 3 --
include/osmocom/ctrl/control_if.h | 8 ----
src/ctrl/control_if.c | 81 +++++++-------------------------------
4 files changed, 14 insertions(+), 96 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 "An utility library for Open Source Mobile Communications".
The branch, neels/vty has been created
at 139d0c08d3e1dcf206f6fdcc04fbb53db777aff4 (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=139d0c08d3e1dcf206f6fdcc04fb…
commit 139d0c08d3e1dcf206f6fdcc04fbb53db777aff4
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Sun Oct 22 02:31:33 2017 +0200
VTY reference: use node names as section names
In 'show online-help' output, add the node names (currently all derived from
the prompt) as <node><name> entry, so that in the osmo-gsm-manuals, each
section of node commands gets a title. So far, each section of commands has no
name at all, and it is entirely up for guessing which part of the VTY the
commands are about.
Node section names, e.g. for OsmoHLR, will be like
1 VTY reference
1.4 config
1.5 config-log
1.6 config-line
1.7 config-ctrl
1.8 config-hlr
1.9 config-hlr-gsup
Before this patch, all but '1 VTY reference' were plain empty.
A better solution would be to list the actual command name that enters the
node, and to nest the commands identically to VTY node nesting, but since this
information is currently hidden in node command implementations, it is
impossible to derive it. So we should actually make the VTY reflect the node
nesting structure in its data model, which would resolve both the accurate node
name problem as well as produce well-structured output to generate the VTY
references from. This patch is a workaround for lack of a more profound fix of
the VTY data model. At least it makes the VTY references' sections even
remotely useful.
Change-Id: Iaf745b2ab3d9b02fc47025a0eba3beb711068bfe
http://cgit.osmocom.org/libosmocore/commit/?id=b4e165914e3ed459b5dd7d6c5efb…
commit b4e165914e3ed459b5dd7d6c5efb5803511a8a26
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Sun Oct 22 02:31:33 2017 +0200
VTY reference: do not list empty nodes
In 'show online-help' output, don't list nodes that have no commands (the
'Password' node).
Change-Id: Iaf745b2ab3d9b02fc47025a0eba3beb711068bfe
http://cgit.osmocom.org/libosmocore/commit/?id=6fa35b39e8b515e45689235cd7e7…
commit 6fa35b39e8b515e45689235cd7e7f40ae78b0ea8
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Thu Oct 19 02:44:57 2017 +0200
vty XML export: avoid repeating common node commands for each node
We use 'show online-help' to generate VTY reference manuals. It is not helpful
to include the common node commands on each and every node level, it clutters
the actual useful help.
Still list the common nodes on the CONFIG node, but omit them elsewhere.
Change-Id: Ie802eccad80887968b10269ff9c0e9797268e0d4
http://cgit.osmocom.org/libosmocore/commit/?id=e8c9c0dc78035e2a085ef1d26348…
commit e8c9c0dc78035e2a085ef1d263486ed795eda8c5
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Mon Oct 16 16:18:01 2017 +0200
ctrl: allow more nodes than those in enum ctrl_node_type
Add ctrl_interface_setup_dynip2() to add a node_count parameter, which can be
used to define more ctrl nodes without having to merge a patch to libosmocore.
In consequence, also add ctrl_handle_alloc2(), since
ctrl_interface_setup_dynip() uses ctrl_handle_alloc() to allocate the node
slots, and add node_count param to static ctrl_init().
Passing zero as node_count indicates to use the default of _LAST_CTRL_NODE as
before, i.e. to not define more ctrl nodes. Assert that we never allocate less
than _LAST_CTRL_NODE slots.
The current ctrl_interface_setup_dynip() and ctrl_handle_alloc() become simple
wrappers that pass zero as node_count. Their use is still valid and they do not
need to be deprecated.
The API comment to ctrl_interface_setup_dynip2() explains how to define more
node IDs.
This patch was verified to work by osmo-hlr.git change
I98ee6a06b3aa6a67adb868e0b63b0e04eb42eb50 which adds two node IDs for use by
osmo-hlr only.
Change-Id: I1bd62ae0d4eefde7e1517db15a2155640a1bab58
http://cgit.osmocom.org/libosmocore/commit/?id=032846ad92776004faedca7be378…
commit 032846ad92776004faedca7be378f558234fec29
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
-----------------------------------------------------------------------
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 fcf81b5deb8d02ba45907e90bb6668c67986a028 (commit)
from d7ee5759cb3296ef32b6dc1858882a122c358165 (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=fcf81b5deb8d02ba45907e90bb66…
commit fcf81b5deb8d02ba45907e90bb6668c67986a028
Author: Max <msuraev(a)sysmocom.de>
Date: Thu Oct 19 15:50:44 2017 +0200
Make osmo_apn_to_str() more robust
Previously it would crash on NULL input. Let's handle it gracefully
instead. Corresponding test case is also added.
Change-Id: I587153e49d1c92128fac3ae5c124adba9592378e
-----------------------------------------------------------------------
Summary of changes:
src/gsm/apn.c | 3 +++
tests/gprs/gprs_test.c | 7 +++++++
2 files changed, 10 insertions(+)
hooks/post-receive
--
An utility library for Open Source Mobile Communications