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/.
dexter gerrit-no-reply at lists.osmocom.orgdexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/24644 ) Change subject: osmo_ss7_vty: allow config-cs7-rt also in client role ...................................................................... osmo_ss7_vty: allow config-cs7-rt also in client role The VTY commands config-cs7-rt are used to set up routing in SG mode, they are usually not needed in client applications like osmo-hnbgw. However, in some situations it may be still useful to have control over the routes in client mode as well, lets move the installation of rtable_node and its related VTY commands from osmo_ss7_vty_init_sg() to vty_init_shared() Change-Id: I72950cb58edb201f21c35dd7e032ce0fdc1530f7 Related: SYS#5392 --- M src/osmo_ss7_vty.c 1 file changed, 7 insertions(+), 7 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/44/24644/1 diff --git a/src/osmo_ss7_vty.c b/src/osmo_ss7_vty.c index 63625a8..42e51ce 100644 --- a/src/osmo_ss7_vty.c +++ b/src/osmo_ss7_vty.c @@ -2137,6 +2137,13 @@ install_lib_element(L_CS7_AS_NODE, &as_pc_override_cmd); install_lib_element(L_CS7_AS_NODE, &as_pc_patch_sccp_cmd); + install_node(&rtable_node, NULL); + install_lib_element_ve(&show_cs7_route_cmd); + install_lib_element(L_CS7_NODE, &cs7_route_table_cmd); + install_lib_element(L_CS7_RTABLE_NODE, &cfg_description_cmd); + install_lib_element(L_CS7_RTABLE_NODE, &cs7_rt_upd_cmd); + install_lib_element(L_CS7_RTABLE_NODE, &cs7_rt_rem_cmd); + vty_init_addr(); } @@ -2151,13 +2158,6 @@ cs7_role = CS7_ROLE_SG; vty_init_shared(ctx); - install_node(&rtable_node, NULL); - install_lib_element_ve(&show_cs7_route_cmd); - install_lib_element(L_CS7_NODE, &cs7_route_table_cmd); - install_lib_element(L_CS7_RTABLE_NODE, &cfg_description_cmd); - install_lib_element(L_CS7_RTABLE_NODE, &cs7_rt_upd_cmd); - install_lib_element(L_CS7_RTABLE_NODE, &cs7_rt_rem_cmd); - install_node(&xua_node, NULL); install_lib_element(L_CS7_NODE, &cs7_xua_cmd); install_lib_element(L_CS7_NODE, &no_cs7_xua_cmd); -- To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/24644 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-Change-Id: I72950cb58edb201f21c35dd7e032ce0fdc1530f7 Gerrit-Change-Number: 24644 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210610/2339a871/attachment.htm>