[PATCH] osmo-iuh[master]: vty: skip installing cmds now always installed by default

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
Wed Nov 1 00:05:30 UTC 2017


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

vty: skip installing cmds now always installed by default

vty_install_default() and install_default() will soon be deprecated.

Depends: I5021c64a787b63314e0f2f1cba0b8fc7bff4f09b
Change-Id: I61b79f633d36814b53e40f1a92b5847c9ff4fde0
---
M src/hnbgw_vty.c
M src/tests/hnb-test.c
2 files changed, 0 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/12/4612/1

diff --git a/src/hnbgw_vty.c b/src/hnbgw_vty.c
index ddea578..f504dd5 100644
--- a/src/hnbgw_vty.c
+++ b/src/hnbgw_vty.c
@@ -268,11 +268,9 @@
 
 	install_element(CONFIG_NODE, &cfg_hnbgw_cmd);
 	install_node(&hnbgw_node, config_write_hnbgw);
-	vty_install_default(HNBGW_NODE);
 
 	install_element(HNBGW_NODE, &cfg_hnbgw_iuh_cmd);
 	install_node(&iuh_node, config_write_hnbgw_iuh);
-	vty_install_default(IUH_NODE);
 
 	install_element(IUH_NODE, &cfg_hnbgw_iuh_local_ip_cmd);
 	install_element(IUH_NODE, &cfg_hnbgw_iuh_local_port_cmd);
@@ -280,13 +278,11 @@
 
 	install_element(HNBGW_NODE, &cfg_hnbgw_iucs_cmd);
 	install_node(&iucs_node, config_write_hnbgw_iucs);
-	vty_install_default(IUCS_NODE);
 
 	install_element(IUCS_NODE, &cfg_hnbgw_iucs_remote_addr_cmd);
 
 	install_element(HNBGW_NODE, &cfg_hnbgw_iups_cmd);
 	install_node(&iups_node, config_write_hnbgw_iups);
-	vty_install_default(IUPS_NODE);
 
 	install_element(IUPS_NODE, &cfg_hnbgw_iups_remote_addr_cmd);
 
diff --git a/src/tests/hnb-test.c b/src/tests/hnb-test.c
index 68a3117..32f4ba8 100644
--- a/src/tests/hnb-test.c
+++ b/src/tests/hnb-test.c
@@ -904,7 +904,6 @@
 	install_element_ve(&chan_cmd);
 
 	install_node(&chan_node, NULL);
-	vty_install_default(CHAN_NODE);
 }
 
 static void handle_options(int argc, char **argv)

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

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



More information about the gerrit-log mailing list