Attention is currently required from: osmith, fixeria, pespin, msuraev.
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/31513 )
Change subject: GSMTAP: allow configuring src IP for log messages
......................................................................
Patch Set 4:
(9 comments)
Patchset:
PS4:
it would be great to also see this tested in logging_vty_test.vty: i know it sounds annoying, but i've made so many mistakes already, merging broken vty commands i wrote ... now my opinion is that the only sane way to add vty commands is to add a *.vty test that verifies the doc strings are right and the config is written back ok. This patch affects all osmo programs so it's worth being tested.
so ... please add to tests/logging/logging_vty_test.vty lines like this:
# log?
# log ?
# log gsmtap ?
# log gsmtap foo ?
# log gsmtap foo 127.0.0.99
# show running-config
...
log gsmtap foo 127.0.0.99
...
literally like above, and then you can run
make vty-test U=-u
to automagically fill in what the vty returns
File src/core/logging_gsmtap.c:
https://gerrit.osmocom.org/c/libosmocore/+/31513/comment/dd43a8ff_ce234187
PS4, Line 122: g
(for doxygen: the summary line should end in a period '.')
It would be nice to point out the reason for version 2 to exist like
Same as log_target_create_gsmtap() with the possibility to provide a local IP and port to send gsmtap from.
https://gerrit.osmocom.org/c/libosmocore/+/31513/comment/7beb53bb_610dbc32
PS4, Line 123: m
or NULL for "localhost".
https://gerrit.osmocom.org/c/libosmocore/+/31513/comment/1636f6b6_dedaaba5
PS4, Line 124: m
or zero for any local port.
https://gerrit.osmocom.org/c/libosmocore/+/31513/comment/41bc5041_a5741028
PS4, Line 126: o
or 0 to use GSMTAP_UDP_PORT.
(this one was also "missing" in the old doc, but might as well add it)
https://gerrit.osmocom.org/c/libosmocore/+/31513/comment/98edbb78_1eaf7339
PS4, Line 156: src
src can be passed as NULL, should we call talloc_strdup() on NULL?
File src/vty/logging_vty.c:
https://gerrit.osmocom.org/c/libosmocore/+/31513/comment/67bece04_ffc31c91
PS4, Line 808: )
(i guess it should say "default is 127.0.0.1" but yes, not really part of this patch)
https://gerrit.osmocom.org/c/libosmocore/+/31513/comment/773c0977_13fc80b1
PS4, Line 822: NULL
rather "any" .. at least some string literal instead of passing NULL to varargs, so that we have a definite deterministic string to test for in vty transcript testing if we ever want to
File utils/osmo-stat-dummy/osmo-stat-dummy.cfg:
https://gerrit.osmocom.org/c/libosmocore/+/31513/comment/bc72d7ab_0338f759
PS4, Line 1: log gsmtap 127.0.0.69 127.6.9.1
what's the rationale for adding this here at all? don't we have some example cfg file for logging?
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/31513
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I9000269ce5b3dce1e757271b7c42e77b68d38f25
Gerrit-Change-Number: 31513
Gerrit-PatchSet: 4
Gerrit-Owner: msuraev <msuraev(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: msuraev <msuraev(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 06 Mar 2023 01:32:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: laforge.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmocore/+/31668
to look at the new patch set (#3).
Change subject: gsm: TS 44.021 modified V.110 frame encoding/decoding support
......................................................................
gsm: TS 44.021 modified V.110 frame encoding/decoding support
3GPP TS 44.021 specifies the format for modified V.110 frames as used
on the GSM air (radio) interface. Implement encoders and decoders for
this modified V.110 format.
Related: OS#1572
Change-Id: I60a2f2690459359437df20cf4da9043fa7c3ad11
---
M include/osmocom/gsm/Makefile.am
A include/osmocom/gsm/gsm44021.h
M src/gsm/Makefile.am
A src/gsm/gsm44021.c
M src/gsm/libosmogsm.map
M tests/Makefile.am
A tests/gsm44021/test_frame_csd.c
A tests/gsm44021/test_frame_csd.ok
M tests/testsuite.at
9 files changed, 455 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/68/31668/3
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/31668
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I60a2f2690459359437df20cf4da9043fa7c3ad11
Gerrit-Change-Number: 31668
Gerrit-PatchSet: 3
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: laforge, fixeria.
Hello Jenkins Builder, fixeria,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmocore/+/30762
to look at the new patch set (#9).
Change subject: isdn: Add V.110 encoder/decoder
......................................................................
isdn: Add V.110 encoder/decoder
V.110 defines a B-channel protocol for transmission of synchronous and
asynchronous serial data of V-series interfaces via terminal adapters
over ISDN.
Let's add (unoptimized but easy to debug) functions for encoding and
decoding of V.110 frames for various bit-rates.
Related: OS#1572
Change-Id: I1b5fd3847d3bfb0a0f763e0574893962ec699680
---
M include/osmocom/isdn/Makefile.am
A include/osmocom/isdn/v110.h
M src/isdn/Makefile.am
M src/isdn/libosmoisdn.map
A src/isdn/v110.c
M tests/Makefile.am
M tests/testsuite.at
A tests/v110/test_frame.c
A tests/v110/test_frame.ok
A tests/v110/test_ra1.c
A tests/v110/test_ra1.ok
11 files changed, 1,031 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/62/30762/9
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/30762
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I1b5fd3847d3bfb0a0f763e0574893962ec699680
Gerrit-Change-Number: 30762
Gerrit-PatchSet: 9
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newpatchset