Keith Whyte has posted comments on this change. ( https://gerrit.osmocom.org/13756 )
Change subject: Add expect script: 'vty' for easy access to all vtys ...................................................................... Patch Set 1: > The more "canonical" way for the port numbers part is of course to > add them to /etc/services Right. This is meant to be non system-intrusive. > > Another approach would be to write a NSS module (see > http://www.gnu.org/software/libc/manual/html_node/Name-Service-Switch.html#Name-Service-Switch) Sounds great. I don't think I am going to turn this patch into that though. This (at least for my part) is going to remain a scripting based helper solution for now. My idea is this is a highly customisable script and you change it yourself to your [current] needs in terms of desired logging messages from each program. What I do intend to do is create "sets" using tmux or suchlike, so one command ./vty data for example would give you a four way split, say ggsn, sgsn, bts, pcu. > > Yet another approach is to use http://git.osmocom.org/libtelnet/ to > create an osmocom-extended telnet client program which would have > capabilities specific to the osmcoom vty, and tab completion + persistent readline/history capability, as was discussed some other place/time IIRC. :) -- To view, visit https://gerrit.osmocom.org/13756 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ice4532be7cb3139da29cb9d84dd4769e8d826dfa Gerrit-Change-Number: 13756 Gerrit-PatchSet: 1 Gerrit-Owner: Keith Whyte <[email protected]> Gerrit-Reviewer: Harald Welte <[email protected]> Gerrit-Reviewer: Jenkins Builder (1000002) Gerrit-Reviewer: Keith Whyte <[email protected]> Gerrit-Reviewer: Pau Espin Pedrol <[email protected]> Gerrit-CC: Vadim Yanitskiy <[email protected]> Gerrit-Comment-Date: Wed, 24 Apr 2019 08:57:42 +0000 Gerrit-HasComments: No Gerrit-HasLabels: No
