blob: c4b783032b78ebd670f0c8aeab383e17b11a0c58 [file] [log] [blame]
Kata8ee6bb2013-04-05 17:06:30 +02001Building/installation:
2sudo python setup.py install
3If you prefer to have it cleanly removable, install checkinstall and run
4sudo checkinstall python setup.py install
5
6Use
7There are currently 3 scripts in this package:
8osmodumpdoc.py - dump documentation (the VTY's "show online-help").
9osmotestconfig.py - test that apps start/write with example configs
10osmotestvty.py - test vty operations (currently, tests very few)
11
12Each of these scripts imports a project-specific osmoappdesc.py,
13which provides information about the available apps, configs, vty ports, etc.
14
15Run the scripts with osmoappdesc.py in the current directory (preferred)
16or with -p <the directory containing osmoappdesc.py>.
17Remember that osmoappdesc.py may contain relative paths.
18
19Example:
20After install osmodumpdoc for openbsc's apps can be run by:
21cd <your_source_dir>/openbsc/openbsc && osmodumpdoc.py
22
23Libraries:
24osmopy/obscvty.py - connect to a vty, run commands on it, see the result
25osmopy/osmoutil.py - code that's shared between the scripts
26
27obscvty.py may be of general use. osmoutil.py probably isn't.