INSTALL.txt: update VTY reference how-to to new osmo_interact_vty.py
Change-Id: I5bf1fea83354049f4157ee9ac8b40f673597f908
This commit is contained in:
parent
9af4229dbe
commit
386703a3e4
33
INSTALL.txt
33
INSTALL.txt
|
@ -18,23 +18,24 @@ Build PDFs, run:
|
||||||
or for a parallel build using more CPU cores:
|
or for a parallel build using more CPU cores:
|
||||||
make -j 5
|
make -j 5
|
||||||
|
|
||||||
To update the VTY reference for a given program, use osmodumpdoc.py, available
|
To update the VTY reference for a given program, use 'osmo_interact_vty.py -X',
|
||||||
from git.osmocom.org/python/osmo-python-tests -- for example, for osmo-msc:
|
available from git.osmocom.org/python/osmo-python-tests:
|
||||||
|
|
||||||
cd ~/osmo-python-tests
|
cd ~/osmo-python-tests
|
||||||
./setup.py install
|
python3 setup.py install
|
||||||
|
|
||||||
cd ~/osmo-msc
|
osmo_interact_vty.py -X -p $VTY_PORT > vty/*_vty_reference.xml
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
../configure --enable-smpp
|
|
||||||
make
|
|
||||||
osmodumpdoc.py -p ~/osmo-msc
|
|
||||||
|
|
||||||
cp doc/msc_vty_reference.xml ~/osmo-gsm-manuals/OsmoMSC/vty/
|
Find the VTY port number at
|
||||||
cd ~/osmo-gsm-manuals/OsmoMSC
|
https://osmocom.org/projects/cellular-infrastructure/wiki/Port_Numbers
|
||||||
git status
|
|
||||||
git diff
|
For example, for osmo-msc, which has VTY port 4254:
|
||||||
make
|
|
||||||
git commit -a -m "OsmoMSC: update VTY reference"
|
a) with an osmo-msc already running:
|
||||||
git push origin HEAD:refs/for/master/msc_vty
|
|
||||||
|
osmo_interact_vty.py -X -p 4254 > OsmoMSC/vty/msc_vty_reference.xml
|
||||||
|
|
||||||
|
b) launching an osmo-msc along:
|
||||||
|
|
||||||
|
osmo_interact_vty.py -r "osmo-msc -c ~/src/osmo-msc/doc/examples/osmo-msc/osmo-msc.cfg" \
|
||||||
|
-X -p 4254 > OsmoMSC/vty/msc_vty_reference.xml
|
||||||
|
|
Loading…
Reference in New Issue