This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Max gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/5220 Update CTRL example Use proper script new and repository location. Change-Id: I3c16f38ade6fcfadffd8d2573f71828119da055c --- M common/chapters/control_if.adoc 1 file changed, 10 insertions(+), 10 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals refs/changes/20/5220/1 diff --git a/common/chapters/control_if.adoc b/common/chapters/control_if.adoc index c4d38d7..682483a 100644 --- a/common/chapters/control_if.adoc +++ b/common/chapters/control_if.adoc @@ -173,10 +173,10 @@ so its use is discouraged. There might still be some applications not yet converted to rate_ctr. -=== Control Interface python example: `bsc_control.py` +=== Control Interface python example: `osmo_ctrl.py` -In the `openbsc.git` repository, there is an example python script -called `openbsc/contrib/bsc_control.py` which implements the Osmocom +In the `osmo-python-tests` repository, there is an example python script +called `osmopy/osmo_ctrl.py` which implements the Osmocom control interface protocol. You can use this tool either stand-alone to perform control interface @@ -186,27 +186,27 @@ ==== Setting a value -.Example: Use `bsc_control.py` to set the short network name of OsmoNITB +.Example: Use `osmo_ctrl.py` to set the short network name of OsmoBSC ---- -$ ./bsc_control.py -d localhost -s short-name 32C3 +$ ./osmo_ctrl.py -d localhost -s short-name 32C3 Got message: SET_REPLY 1 short-name 32C3 ---- ==== Getting a value -.Example: Use `bsc_control.py` to get the mnc of OsmoNITB +.Example: Use `osmo_ctrl.py` to get the mnc of OsmoBSC ---- -$ ./bsc_control.py -d localhost -g mnc +$ ./osmo_ctrl.py -d localhost -g mnc Got message: GET_REPLY 1 mnc 262 ---- ==== Listening for traps -You can use `bsc_control.py` to listen for traps the following way: +You can use `osmo_ctrl.py` to listen for traps the following way: -.Example: Using `bsc_control.py` to listen for traps: +.Example: Using `osmo_ctrl.py` to listen for traps: ---- -$ ./bsc_control.py -d localhost -m +$ ./osmo_ctrl.py -d localhost -m <1> ---- <1> the command will not return and wait for any TRAP messages to arrive -- To view, visit https://gerrit.osmocom.org/5220 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3c16f38ade6fcfadffd8d2573f71828119da055c Gerrit-PatchSet: 1 Gerrit-Project: osmo-gsm-manuals Gerrit-Branch: master Gerrit-Owner: Max <msuraev at sysmocom.de>