This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/21010 ) Change subject: main: move general options from bts_vty_init() ...................................................................... main: move general options from bts_vty_init() These are not BTS specific options, so register them in main(). Change-Id: Ib6be66537791d489cb709d4d653c4cb434896f77 Related: SYS#4937, OS#3036 --- M src/common/main.c M src/common/vty.c 2 files changed, 6 insertions(+), 4 deletions(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved diff --git a/src/common/main.c b/src/common/main.c index 463b7a8..67aeff3 100644 --- a/src/common/main.c +++ b/src/common/main.c @@ -38,6 +38,8 @@ #include <osmocom/core/application.h> #include <osmocom/vty/telnet_interface.h> #include <osmocom/vty/logging.h> +#include <osmocom/vty/stats.h> +#include <osmocom/vty/misc.h> #include <osmocom/vty/cpu_sched_vty.h> #include <osmocom/core/gsmtap_util.h> #include <osmocom/core/gsmtap.h> @@ -277,6 +279,10 @@ osmo_cpu_sched_vty_init(tall_bts_ctx); rate_ctr_init(tall_bts_ctx); + logging_vty_add_cmds(); + osmo_talloc_vty_add_cmds(); + osmo_stats_vty_add_cmds(); + bts_vty_init(tall_bts_ctx); e1inp_vty_init(); diff --git a/src/common/vty.c b/src/common/vty.c index 957678a..82fcba2 100644 --- a/src/common/vty.c +++ b/src/common/vty.c @@ -1853,10 +1853,6 @@ install_element_ve(&logging_fltr_l1_sapi_cmd); install_element_ve(&no_logging_fltr_l1_sapi_cmd); - logging_vty_add_cmds(); - osmo_talloc_vty_add_cmds(); - osmo_stats_vty_add_cmds(); - install_node(&bts_node, config_write_bts); install_element(CONFIG_NODE, &cfg_bts_cmd); install_element(CONFIG_NODE, &cfg_vty_telnet_port_cmd); -- To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21010 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-Change-Id: Ib6be66537791d489cb709d4d653c4cb434896f77 Gerrit-Change-Number: 21010 Gerrit-PatchSet: 2 Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de> Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201102/c4b7ea18/attachment.htm>