arehbein has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/30703 )
Change subject: libosmocore: Transition to use of 'telnet_init_default'
......................................................................
libosmocore: Transition to use of 'telnet_init_default'
Related: OS#5809
Change-Id: Ibd05d3bc2736256aa45e9e7ec15a98bd14a10454
---
M src/vty/telnet_interface.c
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/03/30703/1
diff --git a/src/vty/telnet_interface.c b/src/vty/telnet_interface.c
index 3fcae6e..cfc553d 100644
--- a/src/vty/telnet_interface.c
+++ b/src/vty/telnet_interface.c
@@ -42,7 +42,7 @@
* process in order to enable interactive command-line introspection,
* interaction and configuration.
*
- * You typically call \ref telnet_init or \ref telnet_init_dynif once
+ * You typically call \ref telnet_init_default once
* from your application code to enable this.
*/
@@ -64,6 +64,7 @@
* \param[in] tall_ctx \ref talloc context
* \param[in] priv private data to be passed to callback
* \param[in] port TCP port number to bind to
+ * \deprecated use telnet_init_default() instead
*/
int telnet_init(void *tall_ctx, void *priv, int port)
{
@@ -75,6 +76,7 @@
* \param[in] priv private data to be passed to callback
* \param[in] ip IP to listen to ('::1' for localhost, '::0' for all, ...)
* \param[in] port TCP port number to bind to
+ * \deprecated use telnet_init_default() instead
*/
int telnet_init_dynif(void *tall_ctx, void *priv, const char *ip, int port)
{
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/30703
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ibd05d3bc2736256aa45e9e7ec15a98bd14a10454
Gerrit-Change-Number: 30703
Gerrit-PatchSet: 1
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-MessageType: newchange
lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/30702 )
Change subject: OML: NSVC[1] MO should have the same initial state as NVSC[0]
......................................................................
OML: NSVC[1] MO should have the same initial state as NVSC[0]
There is no reason why they should have different initial
states. Keep it consistent with the other MOs.
Change-Id: I9fd744ec79da9fc26d3ebe9857b2b0bbd5fcd1ff
---
M src/common/bts.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/02/30702/1
diff --git a/src/common/bts.c b/src/common/bts.c
index 7f252da..9cc694f 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -375,7 +375,7 @@
oml_mo_state_init(&bts->gprs.nse.mo, NM_OPSTATE_DISABLED, NM_AVSTATE_DEPENDENCY);
oml_mo_state_init(&bts->gprs.cell.mo, NM_OPSTATE_DISABLED, NM_AVSTATE_DEPENDENCY);
oml_mo_state_init(&bts->gprs.nsvc[0].mo, NM_OPSTATE_DISABLED, NM_AVSTATE_DEPENDENCY);
- oml_mo_state_init(&bts->gprs.nsvc[1].mo, NM_OPSTATE_DISABLED, NM_AVSTATE_OFF_LINE);
+ oml_mo_state_init(&bts->gprs.nsvc[1].mo, NM_OPSTATE_DISABLED, NM_AVSTATE_DEPENDENCY);
/* allocate a talloc pool for ORTP to ensure it doesn't have to go back
* to the libc malloc all the time */
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/30702
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I9fd744ec79da9fc26d3ebe9857b2b0bbd5fcd1ff
Gerrit-Change-Number: 30702
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-MessageType: newchange
Attention is currently required from: pespin.
keith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-hlr/+/30699 )
Change subject: Vty: Add missing param to config write
......................................................................
Patch Set 1:
(1 comment)
File src/dgsm_vty.c:
https://gerrit.osmocom.org/c/osmo-hlr/+/30699/comment/ba1285a9_0b4147cc
PS1, Line 479: vty_out(vty, " timeout %u%s",
> are you sure you are not missing the "mdns" prefix here?
yes, I'm sure, see below, Do you think the timeout should have this prefix?
DEFUN(cfg_mslookup_client_timeout,
cfg_mslookup_client_timeout_cmd,
"timeout <1-100000>",
OsmoHLR(config-mslookup-client)#
help Description of the interactive help system
list Print command list
show Show running system information
write Write running configuration to memory, network, or terminal
exit Exit current mode and down to previous mode
end End current mode and change to enable mode.
timeout How long should the mslookup client wait for remote responses before evaluating received results
mdns Multicast DNS related configuration
no Negate a command or set its defaults
gateway-proxy Configure a fixed IP address to send all GSUP requests for unknown IMSIs to, without invoking a lookup for IMSI
--
To view, visit https://gerrit.osmocom.org/c/osmo-hlr/+/30699
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Change-Id: Ibb60e74a0803f05f37ac13ca529d77b4cb736025
Gerrit-Change-Number: 30699
Gerrit-PatchSet: 1
Gerrit-Owner: keith <keith(a)rhizomatica.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 19 Dec 2022 19:06:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: Hoernchen, laforge.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/30633 )
Change subject: logging: add log level cache
......................................................................
Patch Set 9:
(1 comment)
Patchset:
PS9:
This is not fixing the fact that you are using some big numbers which are somehow related hardcoded in multiple places.
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/30633
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I35f8dd9127dd6e7feae392094fd6b3ce2d32558d
Gerrit-Change-Number: 30633
Gerrit-PatchSet: 9
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Mon, 19 Dec 2022 19:03:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: keith.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-hlr/+/30699 )
Change subject: Vty: Add missing param to config write
......................................................................
Patch Set 1:
(1 comment)
File src/dgsm_vty.c:
https://gerrit.osmocom.org/c/osmo-hlr/+/30699/comment/5ae7af20_2a7aff0e
PS1, Line 479: vty_out(vty, " timeout %u%s",
are you sure you are not missing the "mdns" prefix here?
--
To view, visit https://gerrit.osmocom.org/c/osmo-hlr/+/30699
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Change-Id: Ibb60e74a0803f05f37ac13ca529d77b4cb736025
Gerrit-Change-Number: 30699
Gerrit-PatchSet: 1
Gerrit-Owner: keith <keith(a)rhizomatica.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: keith <keith(a)rhizomatica.org>
Gerrit-Comment-Date: Mon, 19 Dec 2022 19:02:08 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: laforge, pespin.
Hoernchen has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/30633 )
Change subject: logging: add log level cache
......................................................................
Patch Set 9:
(3 comments)
File src/logging.c:
https://gerrit.osmocom.org/c/libosmocore/+/30633/comment/83388ef2_310c724e
PS6, Line 107: memset(tmp_level, 100, osmo_log_info->num_cat);
> NOT DONE YET
literally done by adding a comment that explains that it is a random big value which is not going to get its own useless define.
https://gerrit.osmocom.org/c/libosmocore/+/30633/comment/014d7d68_d71c6978
PS6, Line 134: struct log_category tmp = { 99, 0 };
> NOT DONE YET
literally done by adding a comment that explains that it is a random big value which is not going to get its own useless define.
https://gerrit.osmocom.org/c/libosmocore/+/30633/comment/58022b3a_f6a98855
PS6, Line 145: log_level_lookup_cache[mapped_subsys] = tmp.enabled ? tmp.loglevel : 99;
> NOT DONE YET
literally done by adding a comment that explains that it is a random big value which is not going to get its own useless define.
What the function does is described by the preceding comment.
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/30633
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I35f8dd9127dd6e7feae392094fd6b3ce2d32558d
Gerrit-Change-Number: 30633
Gerrit-PatchSet: 9
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 19 Dec 2022 18:59:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Hoernchen <ewild(a)sysmocom.de>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment