diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-07-18 19:11:49 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-07-19 10:03:57 +0000 |
commit | 4d87e22980edb5a0ec170801980f76c837183b32 (patch) | |
tree | 698380724d6ff5fcd3c816d15793c476b8b50cc5 /openbsc/doc/examples/osmo-bsc | |
parent | 4b731a33783b1eb9cfb83577d8fc414433e20eb0 (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 'openbsc/doc/examples/osmo-bsc')
0 files changed, 0 insertions, 0 deletions