[PATCH] osmo-bts[master]: vty: mgr: sysmobts, lc15: install default commands for ACT_N...

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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Tue Sep 19 01:29:23 UTC 2017


Review at  https://gerrit.osmocom.org/3987

vty: mgr: sysmobts, lc15: install default commands for ACT_NORM_NODE

Change-Id: Ia1b3d5e010c5b6ea8e655b79d9b36b08cd1ef4c4
---
M src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c
M src/osmo-bts-sysmo/misc/sysmobts_mgr_vty.c
2 files changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/87/3987/1

diff --git a/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c b/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c
index e7e33e5..189a7e2 100644
--- a/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c
+++ b/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c
@@ -1056,6 +1056,7 @@
 	install_node(&act_norm_node, config_write_dummy);
 	install_element(MGR_NODE, &cfg_action_normal_cmd);
 	register_normal_action(ACT_NORM_NODE);
+	vty_install_default(ACT_NORM_NODE);
 
 	/* install the warning and critical node */
 	install_node(&act_warn_node, config_write_dummy);
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_mgr_vty.c b/src/osmo-bts-sysmo/misc/sysmobts_mgr_vty.c
index b49f282..cba4fbb 100644
--- a/src/osmo-bts-sysmo/misc/sysmobts_mgr_vty.c
+++ b/src/osmo-bts-sysmo/misc/sysmobts_mgr_vty.c
@@ -507,6 +507,7 @@
 	install_node(&act_norm_node, config_write_dummy);
 	install_element(MGR_NODE, &cfg_action_normal_cmd);
 	register_normal_action(ACT_NORM_NODE);
+	vty_install_default(ACT_NORM_NODE);
 
 	/* install the warning and critical node */
 	install_node(&act_warn_node, config_write_dummy);

-- 
To view, visit https://gerrit.osmocom.org/3987
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia1b3d5e010c5b6ea8e655b79d9b36b08cd1ef4c4
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list