Change in libosmocore[master]: Add expect script: 'vty' for easy access to all vtys

Keith Whyte gerrit-no-reply at
Wed Apr 24 08:57:42 UTC 2019

Keith Whyte has posted comments on this change. ( )

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
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 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
To unsubscribe, or for help writing mail filters, visit

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ice4532be7cb3139da29cb9d84dd4769e8d826dfa
Gerrit-Change-Number: 13756
Gerrit-PatchSet: 1
Gerrit-Owner: Keith Whyte <keith at>
Gerrit-Reviewer: Harald Welte <laforge at>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Keith Whyte <keith at>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at>
Gerrit-CC: Vadim Yanitskiy <axilirator at>
Gerrit-Comment-Date: Wed, 24 Apr 2019 08:57:42 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gerrit-log mailing list