diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-07-18 19:11:49 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-08-27 17:40:54 +0200 |
commit | 710319933190acf60dc1eaeb73ea6f41ae1385c4 (patch) | |
tree | 7c51d89eb5d50a8c659725e2b8bd47399fd8a4d3 /include/openbsc/gsm_data.h | |
parent | d939ac0cf4c32998f6a37b47f301f168de1ec7a4 (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/openbsc/gsm_data.h')
0 files changed, 0 insertions, 0 deletions