You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Maxim Suraev 17fe718687 ctrl2cgi: update default parameters in config 4 years ago
contrib Trap handlers: always log to stdout 4 years ago
debian ctrl2cgi: Add systemd service file and install with debian 5 years ago
doc/examples ctrl2cgi: update default parameters in config 4 years ago
osmopy twisted: remove low-level logging in dispatchers 4 years ago
scripts ctrl2cgi: explicitly ignore unrelated TRAPs 4 years ago
tests Fix install in the presence of old modules 5 years ago
.gitignore Ignore compilation byproducts 5 years ago
.gitreview Add git-review config 5 years ago
README Move common Trap-related code into separate file 4 years ago Introduce script 5 years ago


sudo python install
If you prefer to have it cleanly removable, install checkinstall and run
sudo checkinstall python install
Alternatively, just run 'pip install --user -e ./' or 'pip3 install --user -e ./'
depending on your python version.

There are currently following scripts in this package: - test that apps start/write with example configs - implementation of SOAP <-> Ctrl proxy implemented on top of Twisted - implementation of CGI <-> Ctrl proxy implemented on top of Twisted - rate counter dumper on top of osmo_ipa - pipe stdin/stdout to a VTY session - pipe stdin/stdout to a CTRL port - VTY testing by VTY session screen dumps - CTRL testing by CTRL session script files - implementation of IPA and Ctrl protocols on top of Twisted framework - dump documentation, superseded by -X - test vty operations, superseded by

Each of these scripts imports a project-specific,
which provides information about the available apps, configs, vty ports, etc.

Run the scripts with in the current directory (preferred)
or with -p <the directory containing>.
Remember that may contain relative paths.

After install osmodumpdoc for openbsc's apps can be run by:
cd <your_source_dir>/openbsc/openbsc &&

osmopy/ - code that's shared between the scripts
osmopy/ - generic implementation of IPA and Ctrl protocols in python
osmopy/ - generic Trap class and related helpers used by and
osmopy/osmo_interact/{vty,ctrl}.py - general interactions with VTY and CTRL ports
osmopy/ - connect to a vty, superseded by osmo_interact/vty may be of general use. probably isn't.