diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-07-18 19:11:49 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-08-27 02:33:48 +0200 |
commit | 1f7fe3c813e607e004b94c86161581579ef70425 (patch) | |
tree | 1db6bb42ed16deecfc3d2b8a4ee15ec11ee7c2a4 /include | |
parent | 63dde0a44a353a15fb94624287aeb24f25711446 (diff) |
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
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions