This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated via 4d87e22980edb5a0ec170801980f76c837183b32 (commit) from 4b731a33783b1eb9cfb83577d8fc414433e20eb0 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=4d87e22980edb5a0ec170801980f76c83...
commit 4d87e22980edb5a0ec170801980f76c837183b32 Author: Harald Welte laforge@gnumonks.org Date: Tue Jul 18 19:11:49 2017 +0200
bsc_vty: Add VTY command to test CTRL TRAP feature
Using this new command (introduced in OsmoBSC + OsmoNITB), you can simulate the generation of TRAP events for testin purposes.
start the control interface monitor as an example client program: ./openbsc/contrib/bsc_control.py -m -d localhost -p 4249
then start OsmoBSC or OsmoNITB, telnet to the VTY and enter 'enable' mode and issue the following (example) command: ctrl-interface generate-trap my.foo.var 2342
As a result, on the bsc_control.py you will see: Got message: TRAP 0 my.foo.var 2342
Change-Id: Ib1d2ec38290dc94797c1b365d9b733e5215ab7d1
-----------------------------------------------------------------------
Summary of changes: openbsc/src/libbsc/bsc_vty.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
hooks/post-receive