Skip to content
Failed

Console Output

Skipping 146 KB.. Full Log
checking whether make supports nested variables... (cached) yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking for libosmocore >= 1.10.0... yes
checking for libosmovty >= 1.10.0... yes
checking for libosmogsm >= 1.10.0... yes
checking for libosmo-netif >= 1.5.0... yes
checking for library containing sctp_recvmsg... -lsctp
checking if gcc supports -fvisibility=hidden... yes
checking for doxygen... /usr/bin/doxygen
checking for OSMO_GSM_MANUALS_DIR... /opt/osmo-gsm-manuals (from env)
All dependencies installed!
checking for python... no
checking for python2... no
checking for python3... /usr/bin/python3
checking for python version... 3.11
checking for python platform... linux
checking for GNU default python prefix... ${prefix}
checking for GNU default python exec_prefix... ${exec_prefix}
checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.11/site-packages
checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.11/site-packages
checking for osmo_verify_transcript_vty.py... yes
checking whether to enable VTY/CTRL tests... yes
CFLAGS=" -std=gnu11 -fsanitize=address -fsanitize=undefined -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Wno-error=cpp -Wall"
CPPFLAGS=" -fsanitize=address -fsanitize=undefined -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Wno-error=cpp -Wall"
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libosmo-sigtran.pc
config.status: creating include/osmocom/Makefile
config.status: creating include/osmocom/sccp/Makefile
config.status: creating include/osmocom/sigtran/Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating tests/m2ua/Makefile
config.status: creating tests/xua/Makefile
config.status: creating tests/ss7/Makefile
config.status: creating tests/vty/Makefile
config.status: creating examples/Makefile
config.status: creating stp/Makefile
config.status: creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating doc/manuals/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/systemd/Makefile
config.status: creating Doxyfile
config.status: creating Makefile
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
+ make -j 4
echo 2.0.0.28-d128 > .version-t && mv .version-t .version
make  all-recursive
make[1]: Entering directory '/build'
Making all in include
make[2]: Entering directory '/build/include'
Making all in osmocom
make[3]: Entering directory '/build/include/osmocom'
Making all in sccp
make[4]: Entering directory '/build/include/osmocom/sccp'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/include/osmocom/sccp'
Making all in sigtran
make[4]: Entering directory '/build/include/osmocom/sigtran'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/include/osmocom/sigtran'
make[4]: Entering directory '/build/include/osmocom'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/build/include/osmocom'
make[3]: Leaving directory '/build/include/osmocom'
make[3]: Entering directory '/build/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build/include'
make[2]: Leaving directory '/build/include'
Making all in src
make[2]: Entering directory '/build/src'
  CC       libxua_a-xua_msg.o
  CC       m3ua.lo
  CC       ipa.lo
  CC       osmo_ss7.lo
  CC       osmo_ss7_as.lo
  CC       osmo_ss7_asp.lo
  CC       osmo_ss7_asp_peer.lo
  CC       osmo_ss7_hmrt.lo
  CC       osmo_ss7_link.lo
  CC       osmo_ss7_linkset.lo
  CC       osmo_ss7_vty.lo
  CC       osmo_ss7_xua_srv.lo
  CC       osmo_ss7_route.lo
  CC       osmo_ss7_route_table.lo
  CC       sccp2sua.lo
  CC       sccp_helpers.lo
  CC       sccp_lbcs.lo
  CC       sccp_sap.lo
  CC       sccp_sclc.lo
  CC       sccp_scmg.lo
  CC       sccp_scrc.lo
  CC       sccp_scoc.lo
  CC       sccp_types.lo
  CC       sccp_user.lo
  CC       sccp_vty.lo
  CC       sua.lo
sccp_scoc.c: In function 'scoc_fsm_active':
sccp_scoc.c:1200:9: note: '#pragma message: TODO: internal disco: send N-DISCONNECT.ind to user'
 1200 | #pragma message ("TODO: internal disco: send N-DISCONNECT.ind to user")
      |         ^~~~~~~
  CC       xua_asp_fsm.lo
  CC       xua_as_fsm.lo
  CC       xua_default_lm_fsm.lo
  CC       xua_msg.lo
  CC       xua_rkm.lo
  CC       xua_shared.lo
  CC       xua_snm.lo
  AR       libxua.a
ar: `u' modifier ignored since `D' is the default (see `U')
  CCLD     libosmo-sigtran.la
make[2]: Leaving directory '/build/src'
Making all in tests
make[2]: Entering directory '/build/tests'
Making all in xua
make[3]: Entering directory '/build/tests/xua'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/tests/xua'
Making all in m2ua
make[3]: Entering directory '/build/tests/m2ua'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/tests/m2ua'
Making all in ss7
make[3]: Entering directory '/build/tests/ss7'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/tests/ss7'
Making all in vty
make[3]: Entering directory '/build/tests/vty'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/tests/vty'
make[3]: Entering directory '/build/tests'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build/tests'
make[2]: Leaving directory '/build/tests'
Making all in examples
make[2]: Entering directory '/build/examples'
  CC       sccp_demo_user.o
  CC       sccp_test_server.o
  CC       sccp_test_vty.o
  CCLD     sccp_demo_user
make[2]: Leaving directory '/build/examples'
Making all in stp
make[2]: Entering directory '/build/stp'
  CC       stp_main.o
  CCLD     osmo-stp
make[2]: Leaving directory '/build/stp'
Making all in doc
make[2]: Entering directory '/build/doc'
Making all in examples
make[3]: Entering directory '/build/doc/examples'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/doc/examples'
Making all in manuals
make[3]: Entering directory '/build/doc/manuals'
ln -s /opt/osmo-gsm-manuals/build build
ln -s /opt/osmo-gsm-manuals/common common
mkdir -p ./vty
xmllint --xinclude --postvalid --noout osmostp-vty-reference.xml
if ! [ -f osmostp-usermanual.adoc ]; then \
	ln -s osmostp-usermanual.adoc osmostp-usermanual.adoc; \
fi
../../stp/osmo-stp --vty-ref-xml > vty/osmo-stp_vty_reference.xml
TEXINPUTS="/opt/osmo-gsm-manuals" \
	a2x -vv -L --asciidoc-opts="-f /opt/osmo-gsm-manuals/build/mscgen-filter.conf -f /opt/osmo-gsm-manuals/build/diag-filter.conf -f /opt/osmo-gsm-manuals/build/docinfo-releaseinfo.conf -f /opt/osmo-gsm-manuals/build/graphviz-filter.conf -a srcdir='/build/doc/manuals' -a commondir='/opt/osmo-gsm-manuals/common' " --dblatex-opts="--config /opt/osmo-gsm-manuals/build/dblatex_config.xml -s /opt/osmo-gsm-manuals/build/custom-dblatex.sty -P draft.mode=yes -P draft.watermark=0 " -a docinfo -a revnumber="DRAFT 2.0.0-28-gd128" -a revdate="2024-Nov-05" osmostp-usermanual.adoc
Generating the VTY reference in mode 'default' (all commands except deprecated and hidden)
mkdir -p generated
/opt/osmo-gsm-manuals/build/vty_reference_combine.sh "/opt/osmo-gsm-manuals/merge_doc.xsl" \
	$(/opt/osmo-gsm-manuals/build/find_existing_path.sh "vty/*reference.xml" . .) \
	/opt/osmo-gsm-manuals/common/vty_additions.xml \
	./vty/*additions*.xml > generated/combined.xml
asciidoc: reading: /etc/asciidoc/asciidoc.conf
+ mktemp
+ combined=/tmp/tmp.p0PeYfdiQo
+ mktemp
+ combine_src=/tmp/tmp.QtPb6zxWjI
+ cp ./vty/osmo-stp_vty_reference.xml /tmp/tmp.p0PeYfdiQo
asciidoc: reading: /opt/osmo-gsm-manuals/build/mscgen-filter.conf
+ [ -n /opt/osmo-gsm-manuals/common/vty_additions.xml ]
+ realpath /opt/osmo-gsm-manuals/common/vty_additions.xml
asciidoc: reading: /opt/osmo-gsm-manuals/build/diag-filter.conf
+ addition=/opt/osmo-gsm-manuals/common/vty_additions.xml
+ shift
+ cp /tmp/tmp.p0PeYfdiQo /tmp/tmp.QtPb6zxWjI
asciidoc: reading: /opt/osmo-gsm-manuals/build/docinfo-releaseinfo.conf
asciidoc: reading: /opt/osmo-gsm-manuals/build/graphviz-filter.conf
asciidoc: reading: /etc/asciidoc/asciidoc.conf
+ xsltproc -o /tmp/tmp.p0PeYfdiQo --stringparam with /opt/osmo-gsm-manuals/common/vty_additions.xml /opt/osmo-gsm-manuals/merge_doc.xsl /tmp/tmp.QtPb6zxWjI
asciidoc: reading: /build/doc/manuals/osmostp-usermanual.adoc
+ [ -n ./vty/osmo-stp_additions.xml ]
+ realpath ./vty/osmo-stp_additions.xml
asciidoc: reading: /etc/asciidoc/docbook45.conf
+ addition=/build/doc/manuals/vty/osmo-stp_additions.xml
+ shift
+ cp /tmp/tmp.p0PeYfdiQo /tmp/tmp.QtPb6zxWjI
+ xsltproc -o /tmp/tmp.p0PeYfdiQo --stringparam with /build/doc/manuals/vty/osmo-stp_additions.xml /opt/osmo-gsm-manuals/merge_doc.xsl /tmp/tmp.QtPb6zxWjI
asciidoc: reading: /etc/asciidoc/filters/latex/latex-filter.conf
asciidoc: reading: /etc/asciidoc/filters/graphviz/graphviz-filter.conf
asciidoc: reading: /etc/asciidoc/filters/source/source-highlight-filter.conf
asciidoc: reading: /etc/asciidoc/filters/code/code-filter.conf
asciidoc: reading: /etc/asciidoc/filters/music/music-filter.conf
asciidoc: reading: /etc/asciidoc/lang-en.conf
asciidoc: reading: /opt/osmo-gsm-manuals/build/mscgen-filter.conf
asciidoc: reading: /opt/osmo-gsm-manuals/build/diag-filter.conf
asciidoc: reading: /opt/osmo-gsm-manuals/build/docinfo-releaseinfo.conf
asciidoc: reading: /opt/osmo-gsm-manuals/build/graphviz-filter.conf
+ [ -n  ]
+ cat /tmp/tmp.p0PeYfdiQo
+ rm -f /tmp/tmp.QtPb6zxWjI
asciidoc: writing: /build/doc/manuals/osmostp-usermanual.xml
+ rm -f /tmp/tmp.p0PeYfdiQo
xsltproc /opt/osmo-gsm-manuals/vty_reference.xsl generated/combined.xml \
	> generated/docbook_vty.xml
asciidoc: osmostp-usermanual.adoc: line 3: evaluating: {include:/build/doc/manuals/osmostp-usermanual-docinfo.xml}
asciidoc: include: /build/doc/manuals/common/chapters/preface.adoc
asciidoc: osmostp-usermanual.adoc: line 6: reading: /build/doc/manuals/common/chapters/preface.adoc
set -x && \
export GIT_DATE="2021-Feb-23" && \
export REVNUMBER="DRAFT 2.0.0-28-gd128" && \
export TEMPFILE="/build/doc/manuals/generated/_temp_osmostp-vty-reference.xml" && \
/opt/osmo-gsm-manuals/build/docbook-set-revhistory.py "osmostp-vty-reference.xml" && \
dblatex \
	--config /opt/osmo-gsm-manuals/build/dblatex_config.xml \
	--xslt-opts="--path /opt/osmo-gsm-manuals/common/chapters:/build/doc/manuals/generated" \
	 \
	-P draft.mode=no \
	-o osmostp-vty-reference.pdf \
	"$TEMPFILE" && \
rm $TEMPFILE
+ export GIT_DATE=2021-Feb-23
+ GIT_DATE=2021-Feb-23
+ export 'REVNUMBER=DRAFT 2.0.0-28-gd128'
+ REVNUMBER='DRAFT 2.0.0-28-gd128'
+ export TEMPFILE=/build/doc/manuals/generated/_temp_osmostp-vty-reference.xml
+ TEMPFILE=/build/doc/manuals/generated/_temp_osmostp-vty-reference.xml
+ /opt/osmo-gsm-manuals/build/docbook-set-revhistory.py osmostp-vty-reference.xml
Changing revhistory to DRAFT 2.0.0-28-gd128, 2021-Feb-23...
+ dblatex --config /opt/osmo-gsm-manuals/build/dblatex_config.xml '--xslt-opts=--path /opt/osmo-gsm-manuals/common/chapters:/build/doc/manuals/generated' -P draft.mode=no -o osmostp-vty-reference.pdf /build/doc/manuals/generated/_temp_osmostp-vty-reference.xml
asciidoc: include: /build/doc/manuals/common/chapters/sigtran.adoc
asciidoc: osmostp-usermanual.adoc: line 10: reading: /build/doc/manuals/common/chapters/sigtran.adoc
Build the book set list...
asciidoc: include: /build/doc/manuals/common/chapters/sigtran-osmocom.adoc
asciidoc: osmostp-usermanual.adoc: line 12: reading: /build/doc/manuals/common/chapters/sigtran-osmocom.adoc
asciidoc: include: /build/doc/manuals/common/chapters/sigtran-simple-2g.dot
asciidoc: sigtran-osmocom.adoc: line 221: reading: /build/doc/manuals/common/chapters/sigtran-simple-2g.dot
asciidoc: sigtran-osmocom.adoc: line 220: evaluating: {counter2:target-number}
asciidoc: sigtran-osmocom.adoc: line 220: evaluating: {set2:target:osmostp-usermanual__1.svg}
asciidoc: sigtran-simple-2g.dot: line 22: filtering: dot -o "/build/doc/manuals/osmostp-usermanual__1.svg" -T svg && echo " "
Build the listings...
asciidoc: include: /build/doc/manuals/common/chapters/sigtran-simple-3g.dot
asciidoc: sigtran-osmocom.adoc: line 251: reading: /build/doc/manuals/common/chapters/sigtran-simple-3g.dot
asciidoc: sigtran-osmocom.adoc: line 250: evaluating: {counter2:target-number}
asciidoc: sigtran-osmocom.adoc: line 250: evaluating: {set2:target:osmostp-usermanual__2.svg}
asciidoc: sigtran-simple-3g.dot: line 24: filtering: dot -o "/build/doc/manuals/osmostp-usermanual__2.svg" -T svg && echo " "
asciidoc: include: /build/doc/manuals/common/chapters/vty.adoc
asciidoc: osmostp-usermanual.adoc: line 17: reading: /build/doc/manuals/common/chapters/vty.adoc
XSLT stylesheets DocBook - LaTeX 2e (0.3.12)
===================================================
Stripping NS from DocBook 5/NG document.
asciidoc: include: /build/doc/manuals/common/chapters/logging.adoc
asciidoc: osmostp-usermanual.adoc: line 19: reading: /build/doc/manuals/common/chapters/logging.adoc
Processing stripped document.
asciidoc: include: /build/doc/manuals/common/chapters/vty_cpu_sched.adoc
asciidoc: osmostp-usermanual.adoc: line 21: reading: /build/doc/manuals/common/chapters/vty_cpu_sched.adoc
asciidoc: include: /build/doc/manuals/common/chapters/port_numbers.adoc
asciidoc: osmostp-usermanual.adoc: line 29: reading: /build/doc/manuals/common/chapters/port_numbers.adoc
asciidoc: include: /build/doc/manuals/common/chapters/bibliography.adoc
asciidoc: osmostp-usermanual.adoc: line 31: reading: /build/doc/manuals/common/chapters/bibliography.adoc
Build _temp_osmostp-vty-reference.pdf
asciidoc: include: /build/doc/manuals/common/chapters/glossary.adoc
asciidoc: osmostp-usermanual.adoc: line 33: reading: /build/doc/manuals/common/chapters/glossary.adoc
asciidoc: include: /build/doc/manuals/common/chapters/gfdl.adoc
asciidoc: osmostp-usermanual.adoc: line 35: reading: /build/doc/manuals/common/chapters/gfdl.adoc
'osmostp-vty-reference.pdf' successfully built
+ rm /build/doc/manuals/generated/_temp_osmostp-vty-reference.xml
a2x: args: ['-vv', '-L', "--asciidoc-opts=-f /opt/osmo-gsm-manuals/build/mscgen-filter.conf -f /opt/osmo-gsm-manuals/build/diag-filter.conf -f /opt/osmo-gsm-manuals/build/docinfo-releaseinfo.conf -f /opt/osmo-gsm-manuals/build/graphviz-filter.conf -a srcdir='/build/doc/manuals' -a commondir='/opt/osmo-gsm-manuals/common' ", '--dblatex-opts=--config /opt/osmo-gsm-manuals/build/dblatex_config.xml -s /opt/osmo-gsm-manuals/build/custom-dblatex.sty -P draft.mode=yes -P draft.watermark=0 ', '-a', 'docinfo', '-a', 'revnumber=DRAFT 2.0.0-28-gd128', '-a', 'revdate=2024-Nov-05', 'osmostp-usermanual.adoc']
a2x: resource files: []
a2x: resource directories: ['/etc/asciidoc/stylesheets']
a2x: executing: asciidoc ['-f', '/opt/osmo-gsm-manuals/build/mscgen-filter.conf', '-f', '/opt/osmo-gsm-manuals/build/diag-filter.conf', '-f', '/opt/osmo-gsm-manuals/build/docinfo-releaseinfo.conf', '-f', '/opt/osmo-gsm-manuals/build/graphviz-filter.conf', '-a', 'srcdir=/build/doc/manuals', '-a', 'commondir=/opt/osmo-gsm-manuals/common', ('--attribute', 'docinfo'), ('--attribute', 'revnumber=DRAFT 2.0.0-28-gd128'), ('--attribute', 'revdate=2024-Nov-05'), ('--verbose',), ('--backend', 'docbook'), ('-a', 'a2x-format=pdf'), ('--out-file', '/build/doc/manuals/osmostp-usermanual.xml')]
a2x: executing: "dblatex" -t pdf -p "/etc/asciidoc/dblatex/asciidoc-dblatex.xsl" -s "/etc/asciidoc/dblatex/asciidoc-dblatex.sty" --config /opt/osmo-gsm-manuals/build/dblatex_config.xml -s /opt/osmo-gsm-manuals/build/custom-dblatex.sty -P draft.mode=yes -P draft.watermark=0  -V  "/build/doc/manuals/osmostp-usermanual.xml"

Build the book set list...
xsltproc -o doclist.txt --xinclude --xincludestyle doclist.xsl /build/doc/manuals/osmostp-usermanual.xml
Build the listings...
xsltproc -o listings.xml --xinclude --xincludestyle --param current.dir '/build/doc/manuals' /usr/share/dblatex/xsl/common/mklistings.xsl /build/doc/manuals/osmostp-usermanual.xml
xsltproc -o osmostp-usermanual.rtex --xinclude --xincludestyle --param listings.xml '/tmp/tmp8y4v4h6s/listings.xml' --param current.dir '/build/doc/manuals' /tmp/tmp8y4v4h6s/custom.xsl /build/doc/manuals/osmostp-usermanual.xml
XSLT stylesheets DocBook - LaTeX 2e (0.3.12)
===================================================
Error: no ID for constraint linkend: ieee-802.11.
XRef to nonexistent id: ieee-802.11
Section level > 6 not well supported for bibliodiv
Image 'dblatex' not found
rsvg-convert -a -f pdf -o fig0.pdf /build/doc/manuals/osmostp-usermanual__1.svg
rsvg-convert -a -f pdf -o fig1.pdf /build/doc/manuals/osmostp-usermanual__2.svg
Cannot convert './common/images/wireshark-gsmtap-log.png' to pdf
Build osmostp-usermanual.pdf
built-in module pdftex registered
no support found for ifthen
no support found for ifxetex
no support found for fontspec
no support found for xltxtra
no support found for fontenc
no support found for inputenc
no support found for fancybox
built-in module makeidx registered
no support found for custom-dblatex
built-in module bibtopic registered
building additional files...
checking if compiling is necessary...
the output file doesn't exist
pdflatex -interaction=batchmode osmostp-usermanual.tex

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 tctt0900
mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600; nonstopmode; input tctt0900
This is METAFONT, Version 2.71828182 (TeX Live 2022/Debian) (preloaded base=mf)

(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/tctt0900.mf
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbase.mf)
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/tctt.mf
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txsymb.mf
 Ok (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccess.mf
 Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txpseudo.mf
 Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txaccent.mf
 Ok [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [27] [29])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txgen.mf
 Ok [100] [109] [98] [99] [108])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txsymbol.mf
 Ok [13] [18] [21] [22] [23] [24] [25] [26] [28] [31] [32] [36] [39] [44]
[45] [46] [42] [47] [60] [61] [62] [77] [79] [87] [110] [91] [93] [94] [95]
[96] [126] [127] [128] [129] [130] [131] [132] [133] [134] [135] [136] [137]
[138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149]
[150] [151] [152] [153] [154] [155] [156] [157] [158] [159] [160] [161]
[162] [163] [164] [165] [166] [167] [168] [169] [171] [172] [173] [174]
[175] [177] [176] [180] [181] [182] [183] [184] [187] [191] [214] [246])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txromod.mf
 Ok [48] [49] [50] [51] [52] [53] [54] [55] [56] [57])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txrsuper.mf
 Ok [185] [178] [179] [170] [186])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txrfract.mf
 Ok [188] [189] [190]) ) ) )
Font metrics written on tctt0900.tfm.
Output written on tctt0900.600gf (128 characters, 17564 bytes).
Transcript written on tctt0900.log.
mktexpk: /build/.texlive2022/texmf-var/fonts/pk/ljfour/jknappen/ec/tctt0900.600pk: successfully generated.
running post-compilation scripts...
[index] the index file /tmp/tmp8y4v4h6s/osmostp-usermanual.idx is empty
osmostp-usermanual.aux MD5 checksum changed
osmostp-usermanual.toc MD5 checksum changed
the /tmp/tmp8y4v4h6s/osmostp-usermanual.aux file has changed
pdflatex -interaction=batchmode osmostp-usermanual.tex
running post-compilation scripts...
[index] the index file /tmp/tmp8y4v4h6s/osmostp-usermanual.idx is empty
osmostp-usermanual.aux MD5 checksum changed
the /tmp/tmp8y4v4h6s/osmostp-usermanual.aux file has changed but no re-run required?
no new compilation is needed
running last-compilation scripts...
'osmostp-usermanual.pdf' successfully built

a2x: deleting /build/doc/manuals/osmostp-usermanual.xml
make[3]: Leaving directory '/build/doc/manuals'
make[3]: Entering directory '/build/doc'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build/doc'
make[2]: Leaving directory '/build/doc'
Making all in contrib
make[2]: Entering directory '/build/contrib'
Making all in systemd
make[3]: Entering directory '/build/contrib/systemd'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/contrib/systemd'
make[3]: Entering directory '/build/contrib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build/contrib'
make[2]: Leaving directory '/build/contrib'
make[2]: Entering directory '/build'
mkdir -p doc/sigtran
/usr/bin/doxygen Doxyfile
warning: Tag 'SYMBOL_CACHE_SIZE' at line 310 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'SHOW_DIRECTORIES' at line 519 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'COLS_IN_ALPHA_INDEX' at line 799 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'HTML_ALIGN_MEMBERS' at line 900 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'USE_INLINE_TREES' at line 1087 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'LATEX_SOURCE_CODE' at line 1247 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'XML_SCHEMA' at line 1339 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'XML_DTD' at line 1345 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'PERL_PATH' at line 1510 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'CLASS_DIAGRAMS' at line 1522 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'MSCGEN_PATH' at line 1531 of file 'Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: argument 'a4wide' for option PAPER_TYPE is not a valid enum value
Using the default: a4!
Doxygen version used: 1.9.4
Searching for include files...
Searching for example files...
Searching for images...
Searching for dot files...
Searching for msc files...
Searching for dia files...
Searching for files to exclude
Searching INPUT for files to process...
Searching for files in directory /build/include/osmocom/sigtran
Searching for files in directory /build/include/osmocom/sigtran/protocol
Searching for files in directory /build/src
Reading and parsing tag files
Parsing files
Preprocessing /build/include/osmocom/sigtran/mtp_sap.h...
Parsing file /build/include/osmocom/sigtran/mtp_sap.h...
Preprocessing /build/include/osmocom/sigtran/osmo_ss7.h...
Parsing file /build/include/osmocom/sigtran/osmo_ss7.h...
Preprocessing /build/include/osmocom/sigtran/protocol/m2ua.h...
Parsing file /build/include/osmocom/sigtran/protocol/m2ua.h...
Preprocessing /build/include/osmocom/sigtran/protocol/m3ua.h...
Parsing file /build/include/osmocom/sigtran/protocol/m3ua.h...
Preprocessing /build/include/osmocom/sigtran/protocol/mtp.h...
Parsing file /build/include/osmocom/sigtran/protocol/mtp.h...
Preprocessing /build/include/osmocom/sigtran/protocol/sccp_scmg.h...
Parsing file /build/include/osmocom/sigtran/protocol/sccp_scmg.h...
Preprocessing /build/include/osmocom/sigtran/protocol/sua.h...
Parsing file /build/include/osmocom/sigtran/protocol/sua.h...
Preprocessing /build/include/osmocom/sigtran/sccp_helpers.h...
Parsing file /build/include/osmocom/sigtran/sccp_helpers.h...
Preprocessing /build/include/osmocom/sigtran/sccp_sap.h...
Parsing file /build/include/osmocom/sigtran/sccp_sap.h...
Preprocessing /build/include/osmocom/sigtran/sigtran_sap.h...
Parsing file /build/include/osmocom/sigtran/sigtran_sap.h...
Preprocessing /build/include/osmocom/sigtran/xua_msg.h...
Parsing file /build/include/osmocom/sigtran/xua_msg.h...
Preprocessing /build/src/ipa.c...
Parsing file /build/src/ipa.c...
Preprocessing /build/src/m3ua.c...
Parsing file /build/src/m3ua.c...
Preprocessing /build/src/osmo_ss7.c...
Parsing file /build/src/osmo_ss7.c...
Preprocessing /build/src/osmo_ss7_as.c...
Parsing file /build/src/osmo_ss7_as.c...
Preprocessing /build/src/osmo_ss7_asp.c...
Parsing file /build/src/osmo_ss7_asp.c...
Preprocessing /build/src/osmo_ss7_asp_peer.c...
Parsing file /build/src/osmo_ss7_asp_peer.c...
Preprocessing /build/src/osmo_ss7_hmrt.c...
Parsing file /build/src/osmo_ss7_hmrt.c...
Preprocessing /build/src/osmo_ss7_link.c...
Parsing file /build/src/osmo_ss7_link.c...
Preprocessing /build/src/osmo_ss7_linkset.c...
Parsing file /build/src/osmo_ss7_linkset.c...
Preprocessing /build/src/osmo_ss7_route.c...
Parsing file /build/src/osmo_ss7_route.c...
Preprocessing /build/src/osmo_ss7_route_table.c...
Parsing file /build/src/osmo_ss7_route_table.c...
Preprocessing /build/src/osmo_ss7_user.c...
Parsing file /build/src/osmo_ss7_user.c...
Preprocessing /build/src/osmo_ss7_vty.c...
Parsing file /build/src/osmo_ss7_vty.c...
Preprocessing /build/src/osmo_ss7_xua_srv.c...
Parsing file /build/src/osmo_ss7_xua_srv.c...
Preprocessing /build/src/sccp2sua.c...
Parsing file /build/src/sccp2sua.c...
Preprocessing /build/src/sccp_helpers.c...
Parsing file /build/src/sccp_helpers.c...
Preprocessing /build/src/sccp_internal.h...
Parsing file /build/src/sccp_internal.h...
Preprocessing /build/src/sccp_lbcs.c...
Parsing file /build/src/sccp_lbcs.c...
Preprocessing /build/src/sccp_sap.c...
Parsing file /build/src/sccp_sap.c...
Preprocessing /build/src/sccp_sclc.c...
Parsing file /build/src/sccp_sclc.c...
Preprocessing /build/src/sccp_scmg.c...
Parsing file /build/src/sccp_scmg.c...
Preprocessing /build/src/sccp_scoc.c...
Parsing file /build/src/sccp_scoc.c...
Preprocessing /build/src/sccp_scrc.c...
Parsing file /build/src/sccp_scrc.c...
Preprocessing /build/src/sccp_types.c...
Parsing file /build/src/sccp_types.c...
Preprocessing /build/src/sccp_user.c...
Parsing file /build/src/sccp_user.c...
Preprocessing /build/src/sccp_vty.c...
Parsing file /build/src/sccp_vty.c...
Preprocessing /build/src/ss7_internal.h...
Parsing file /build/src/ss7_internal.h...
Preprocessi/build/include/osmocom/sigtran/osmo_ss7.h:61: warning: unable to resolve reference to 'osmo_xua_servers' for \ref command
ng /build/src/ss7_link.h...
Parsing file /build/src/ss7_link.h...
Preprocessing /build/src/ss7_linkset.h...
Parsing file /build/src/ss7_linkset.h...
Preprocessing /build/src/ss7_route.h...
Parsing file /build/src/ss7_route.h...
Preprocessing /build/src/ss7_route_table.h...
Parsing file /build/src/ss7_route_table.h...
Preprocessing /build/src/ss7_user.h...
Parsing file /build/src/ss7_user.h...
Preprocessing /build/src/sua.c...
Parsing file /build/src/sua.c...
Preprocessing /build/src/xua_as_fsm.c...
Parsing file /build/src/xua_as_fsm.c...
Preprocessing /build/src/xua_as_fsm.h...
Parsing file /build/src/xua_as_fsm.h...
Preprocessing /build/src/xua_asp_fsm.c...
Parsing file /build/src/xua_asp_fsm.c...
Preprocessing /build/src/xua_asp_fsm.h...
Parsing file /build/src/xua_asp_fsm.h...
Preprocessing /build/src/xua_default_lm_fsm.c...
Parsing file /build/src/xua_default_lm_fsm.c...
Preprocessing /build/src/xua_internal.h...
Parsing file /build/src/xua_internal.h...
Preprocessing /build/src/xua_msg.c...
Parsing file /build/src/xua_msg.c...
Preprocessing /build/src/xua_msg.h...
Parsing file /build/src/xua_msg.h...
Preprocessing /build/src/xua_rkm.c...
Parsing file /build/src/xua_rkm.c...
Preprocessing /build/src/xua_shared.c...
Parsing file /build/src/xua_shared.c...
Preprocessing /build/src/xua_snm.c...
Parsing file /build/src/xua_snm.c...
Preprocessing /build/src/xua_types.h...
Parsing file /build/src/xua_types.h...
Building macro definition list...
Building group list...
Building directory list...
Building namespace list...
Building file list...
Building class list...
Building concept list...
Computing nesting relations for classes...
Associating documentation with classes...
Associating documentation with concepts...
Building example list...
Searching for enumerations...
Searching for documented typedefs...
Searching for members imported via using declarations...
Searching for included using directives...
Searching for documented variables...
Building interface member list...
Building member list...
Searching for friends...
Searching for documented defines...
Computing class inheritance relations...
Computing class usage relations...
Flushing cached template relations that have become invalid...
Computing class relations...
Add enum values to enums...
Searching for member function documentation...
Creating members for template instances...
Building page list...
Search for main page...
Computing page relations...
Determining the scope of groups...
Sorting lists...
Determining which enums are documented
Computing member relations...
Building full member lists recursively...
Adding members to member groups.
Computing member references...
Inheriting documentation...
Generating disk names...
Adding source references...
Adding xrefitems...
Sorting member lists...
Setting anonymous enum type...
Computing dependencies between directories...
Generating citations page...
Counting members...
Counting data structures...
Resolving user defined references...
Finding anchors and sections in the documentation...
Transferring function references...
Combining using relations...
Adding members to index pages...
Correcting members for VHDL...
Computing tooltip texts...
Generating style sheet...
Generating search indices...
Generating example documentation...
Generating file sources...
Generating code for file include/osmocom/sigtran/mtp_sap.h...
Generating code for file include/osmocom/sigtran/osmo_ss7.h...
Generating code for file include/osmocom/sigtran/protocol/m2ua.h...
Generating code for file include/osmocom/sigtran/protocol/m3ua.h...
Generating code for file include/osmocom/sigtran/protocol/mtp.h...
Generating code for file include/osmocom/sigtran/protocol/sccp_scmg.h...
Generating code for file include/osmocom/sigtran/protocol/sua.h...
Generating code for file include/osmocom/sigtran/sccp_helpers.h...
Generating code for file include/osmocom/sigtran/sccp_sap.h...
Generating code for file include/osmocom/sigtran/sigtran_sap.h...
Generating code for file include/osmocom/sigtran/xua_msg.h...
Generating code for file src/xua_msg.h...
Parsing/build/include/osmocom/sigtran/osmo_ss7.h:395: warning: argument 'ppid_sid' of command @param is not found in the argument list of osmo_ss7_asp_rx_unknown_cb(struct osmo_ss7_asp *asp, int ppid_mux, struct msgb *msg)
/build/include/osmocom/sigtran/osmo_ss7.h:395: warning: The following parameter of osmo_ss7_asp_rx_unknown_cb(struct osmo_ss7_asp *asp, int ppid_mux, struct msgb *msg) is not documented:
  parameter 'ppid_mux'
/build/src/sccp_user.c:883: warning: argument 'sccp' of command @param is not found in the argument list of osmo_sccp_set_max_optional_data(struct osmo_sccp_instance *inst, int val)
/build/src/sccp_user.c:883: warning: The following parameter of osmo_sccp_set_max_optional_data(struct osmo_sccp_instance *inst, int val) is not documented:
  parameter 'inst'
/build/src/osmo_ss7_as.c:99: warning: unable to resolve reference to 'asp' for \ref command
/build/src/osmo_ss7_as.c:99: warning: argument 'asp' of command @param is not found in the argument list of osmo_ss7_as_add_asp(struct osmo_ss7_as *as, const char *asp_name)
/build/src/osmo_ss7_as.c:100: warning: unable to resolve reference to 'as' for \ref command
/build/src/osmo_ss7_as.c:99: warning: The following parameter of osmo_ss7_as_add_asp(struct osmo_ss7_as *as, const char *asp_name) is not documented:
  parameter 'asp_name'
/build/src/osmo_ss7_as.c:130: warning: unable to resolve reference to 'asp' for \ref command
/build/src/osmo_ss7_as.c:130: warning: argument 'asp' of command @param is not found in the argument list of osmo_ss7_as_del_asp(struct osmo_ss7_as *as, const char *asp_name)
/build/src/osmo_ss7_as.c:131: warning: unable to resolve reference to 'as' for \ref command
/build/src/osmo_ss7_as.c:130: warning: The following parameter of osmo_ss7_as_del_asp(struct osmo_ss7_as *as, const char *asp_name) is not documented:
  parameter 'asp_name'
/build/src/osmo_ss7_as.c:180: warning: unable to resolve reference to 'asp' for \ref command
/build/src/osmo_ss7_as.c:181: warning: unable to resolve reference to 'as' for \ref command
/build/src/osmo_ss7_as.c:182: warning: unable to resolve reference to 'asp' for \ref command
/build/src/osmo_ss7_as.c:182: warning: unable to resolve reference to 'as' for \ref command
/build/src/osmo_ss7.c:651: warning: unable to resolve reference to 'asp' for \ref command
/build/src/osmo_ss7_xua_srv.c:251: warning: argument 'ctx' of command @param is not found in the argument list of osmo_ss7_xua_server_create(struct osmo_ss7_instance *inst, enum osmo_ss7_asp_protocol proto, uint16_t local_port, const char *local_host)
/build/src/osmo_ss7_xua_srv.c:251: warning: The following parameter of osmo_ss7_xua_server_create(struct osmo_ss7_instance *inst, enum osmo_ss7_asp_protocol proto, uint16_t local_port, const char *local_host) is not documented:
  parameter 'inst'
/build/src/osmo_ss7_vty.c:2329: warning: argument 'name' of command @param is not found in the argument list of osmo_sccp_name_by_addr(const struct osmo_sccp_addr *addr)
/build/src/osmo_ss7_vty.c:2329: warning: The following parameter of osmo_sccp_name_by_addr(const struct osmo_sccp_addr *addr) is not documented:
  parameter 'addr'
/build/src/sccp_user.c:138: warning: The following parameter of osmo_sccp_user_bind(struct osmo_sccp_instance *inst, const char *name, osmo_prim_cb prim_cb, uint16_t ssn) is not documented:
  parameter 'prim_cb'
/build/src/sccp_user.c:125: warning: The following parameter of osmo_sccp_user_bind_pc(struct osmo_sccp_instance *inst, const char *name, osmo_prim_cb prim_cb, uint16_t ssn, uint32_t pc) is not documented:
  parameter 'prim_cb'
/build/src/xua_msg.c:433: warning: unable to resolve reference to 'maps' for \ref command
/build/src/xua_msg.c:431: warning: The following parameter of xua_msg_event_map(const struct xua_msg *xua, const struct xua_msg_event_map *maps, unsigned int num_maps) is not documented:
  parameter 'num_maps'
/build/src/m3ua.c:719: warning: unable to resolve reference to 'msg' for \ref command
/build/src/m3ua.c:935: warning: argument 'info_string' of command @param is not found in the argument list of m3ua_tx_dupu(struct osmo_ss7_asp *asp, const uint32_t *rctx, unsigned int num_rctx, uint32_t dpc, uint16_t user, uint16_t cause, const char *info_str)
/build/src/m3ua.c:935: warning: The following parameter of m3ua_tx_dupu(struct osmo_ss7_asp *asp, const uint32_t *rctx, unsigned int num_rctx, uint32_t dpc, uint16_t user, uint16_t cause, const char *info_str) is not documented:
  parameter 'info_str'
/build/src/m3ua.c:508: warning: unable to resolve reference to 'xua' for \ref command
/build/src/osmo_ss7.c:651: warning: unable to resolve reference to 'asp' for \ref command
/build/src/osmo_ss7_as.c:99: warning: unable to resolve reference to 'asp' for \ref command
/build/src/osmo_ss7_as.c:99: warning: argument 'asp' of command @param is not found in the argument list of osmo_ss7_as_add_asp(struct osmo_ss7_as *as, const char *asp_name)
/build/src/osmo_ss7_as.c:100: warning: unable to resolve reference to 'as' for \ref command
/build/src/osmo_ss7_as.c:99: warning: The following parameter of osmo_ss7_as_add_asp(struct osmo_ss7_as *as, const char *asp_name) is not documented:
  parameter 'asp_name'
/build/src/osmo_ss7_as.c:130: warning: unable to resolve reference to 'asp' for \ref command
/build/src/osmo_ss7_as.c:130: warning: argument 'asp' of command @param is not found in the argument list of osmo_ss7_as_del_asp(struct osmo_ss7_as *as, const char *asp_name)
/build/src/osmo_ss7_as.c:131: warning: unable to resolve reference to 'as' for \ref command
/build/src/osmo_ss7_as.c:130: warning: The following parameter of osmo_ss7_as_del_asp(struct osmo_ss7_as *as, const char *asp_name) is not documented:
  parameter 'asp_name'
/build/src/osmo_ss7_as.c:180: warning: unable to resolve reference to 'asp' for \ref command
/build/src/osmo_ss7_as.c:181: warning: unable to resolve reference to 'as' for \ref command
/build/src/osmo_ss7_as.c:182: warning: unable to resolve reference to 'asp' for \ref command
/build/src/osmo_ss7_as.c:182: warning: unable to resolve reference to 'as' for \ref command
/build/src/osmo_ss7_asp.c:459: warning: The following parameter of ss7_asp_find_by_socket_addr(int fd, int trans_proto) is not documented:
  parameter 'trans_proto'
/build/src/osmo_ss7_route.c:41: warning: unable to resolve reference to 'pc' for \ref command
/build/src/osmo_ss7_route.c:201: warning: unable to resolve reference to 'pc' for \ref command
/build/src/osmo_ss7_vty.c:2329: warning: argument 'name' of command @param is not found in the argument list of osmo_sccp_name_by_addr(const struct osmo_sccp_addr *addr)
/build/src/osmo_ss7_vty.c:2329: warning: The following parameter of osmo_sccp_name_by_addr(const struct osmo_sccp_addr *addr) is not documented:
  parameter 'addr'
/build/src/osmo_ss7_xua_srv.c:251: warning: argument 'ctx' of command @param is not found in the argument list of osmo_ss7_xua_server_create(struct osmo_ss7_instance *inst, enum osmo_ss7_asp_protocol proto, uint16_t local_port, const char *local_host)
/build/src/osmo_ss7_xua_srv.c:251: warning: The following parameter of osmo_ss7_xua_server_create(struct osmo_ss7_instance *inst, enum osmo_ss7_asp_protocol proto, uint16_t local_port, const char *local_host) is not documented:
  parameter 'inst'
/build/src/sccp2sua.c:92: warning: unable to resolve reference to 'in_digits' for \ref command
/build/src/sccp2sua.c:69: warning: unable to resolve reference to 'in' for \ref command
/build/src/sccp2sua.c:224: warning: unable to resolve reference to 'msg' for \ref command
/build/src/sccp2sua.c:116: warning: unable to resolve reference to 'addr' for \ref command
/build/src/sccp2sua.c:320: warning: unable to resolve reference to 'addr' for \ref command
/build/src/sccp2sua.c:682: warning: The following parameter of sccp_msg_add_sua_opt(enum sccp_message_types type, struct msgb *msg, const struct xua_msg_part *opt) is not documented:
  parameter 'type'
/build/src/sccp2sua.c:1176: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sccp2sua.c:1140: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sccp2sua.c:1209: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sccp2sua.c:1300: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sccp2sua.c:1638: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sccp2sua.c:1599: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sccp2sua.c:1429: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sccp2sua.c:1559: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sccp2sua.c:797: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sccp2sua.c:1271: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sccp2sua.c:1238: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sccp2sua.c:1332: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sccp2sua.c:1468: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sccp2sua.c:1382: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sccp2sua.c:1519: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sccp2sua.c:1189: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sccp2sua.c:1156: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sccp2sua.c:1221: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sccp2sua.c:565: warning: unable to resolve reference to 'opt' for \ref command
/build/src/sccp_sclc.c:143: warning: argument 'on' of command @param is not found in the argument list of sccp_sclc_user_sap_down(struct osmo_sccp_user *scu, struct osmo_prim_hdr *oph)
/build/src/sccp_sclc.c:143: warning: The following parameter of sccp_sclc_user_sap_down(struct osmo_sccp_user *scu, struct osmo_prim_hdr *oph) is not documented:
  parameter 'oph'
/build/src/sccp_sclc.c:119: warning: argument 'on' of command @param is not found in the argument list of sccp_sclc_user_sap_down_nofree(struct osmo_sccp_user *scu, struct osmo_prim_hdr *oph)
/build/src/sccp_sclc.c:119: warning: The following parameter of sccp_sclc_user_sap_down_nofree(struct osmo_sccp_user *scu, struct osmo_prim_hdr *oph) is not documented:
  parameter 'oph'
/build/src/sccp_sclc.c:143: warning: argument 'on' of command @param is not found in the argument list of sccp_sclc_user_sap_down(struct osmo_sccp_user *scu, struct osmo_prim_hdr *oph)
/build/src/sccp_sclc.c:143: warning: The following parameter of sccp_sclc_user_sap_down(struct osmo_sccp_user *scu, struct osmo_prim_hdr *oph) is not documented:
  parameter 'oph'
/build/src/sccp_sclc.c:119: warning: argument 'on' of command @param is not found in the argument list of sccp_sclc_user_sap_down_nofree(struct osmo_sccp_user *scu, struct osmo_prim_hdr *oph)
/build/src/sccp_sclc.c:119: warning: The following parameter of sccp_sclc_user_sap_down_nofree(struct osmo_sccp_user *scu, struct osmo_prim_hdr *oph) is not documented:
  parameter 'oph'
/build/src/sccp_user.c:883: warning: argument 'sccp' of command @param is not found in the argument list of osmo_sccp_set_max_optional_data(struct osmo_sccp_instance *inst, int val)
/build/src/sccp_user.c:883: warning: The following parameter of osmo_sccp_set_max_optional_data(struct osmo_sccp_instance *inst, int val) is not documented:
  parameter 'inst'
/build/src/sccp_user.c:138: warning: The following parameter of osmo_sccp_user_bind(struct osmo_sccp_instance *inst, const char *name, osmo_prim_cb prim_cb, uint16_t ssn) is not documented:
  parameter 'prim_cb'
/build/src/sccp_user.c:125: warning: The following parameter of osmo_sccp_user_bind_pc(struct osmo_sccp_instance *inst, const char *name, osmo_prim_cb prim_cb, uint16_t ssn, uint32_t pc) is not documented:
  parameter 'prim_cb'
/build/src/sccp_user.c:90: warning: The following parameter of sccp_user_bind_pc(struct osmo_sccp_instance *inst, const char *name, osmo_prim_cb prim_cb, uint16_t ssn, uint32_t pc) is not documented:
  parameter 'prim_cb'
/build/src/osmo_ss7_asp.c:459: warning: The following parameter of ss7_asp_find_by_socket_addr(int fd, int trans_proto) is not documented:
  parameter 'trans_proto'
/build/src/osmo_ss7_route.c:41: warning: unable to resolve reference to 'pc' for \ref command
/build/src/osmo_ss7_route.c:201: warning: unable to resolve reference to 'pc' for \ref command
 code for file src/ipa.c...
Parsing code for file src/m3ua.c...
Parsing code for file src/osmo_ss7.c...
Parsing code for file src/osmo_ss7_as.c...
Parsing code for file src/osmo_ss7_asp.c...
Parsing code for file src/osmo_ss7_asp_peer.c...
Parsing code for file src/osmo_ss7_hmrt.c...
Parsing code for file src/osmo_ss7_link.c...
Parsing code for file src/osmo_ss7_linkset.c...
Parsing code for file src/osmo_ss7_route.c...
Parsing code for file src/osmo_ss7_route_table.c...
Parsing code for file src/osmo_ss7_user.c...
Parsing code for file src/osmo_ss7_vty.c...
Parsing code for file src/osmo_ss7_xua_srv.c...
Parsing code for file src/sccp2sua.c...
Parsing code for file src/sccp_helpers.c...
Generating code for file src/sccp_internal.h...
Parsing code for file src/sccp_lbcs.c...
Parsing code for file src/sccp_sap.c...
Parsing code for file src/sccp_sclc.c...
Parsing code for file src/sccp_scmg.c...
Parsing code for file src/sccp_scoc.c...
Parsing code for file src/sccp_scrc.c...
Parsing code for file src/sccp_types.c...
Parsing code for file src/sccp_user.c...
Parsing code for file src/sccp_vty.c...
Generating code for file src/ss7_internal.h...
Generating code for file src/ss7_link.h...
Generating code for file src/ss7_linkset.h...
Generating code for file src/ss7_route.h...
Generating code for file src/ss7_route_table.h...
Generating code for file src/ss7_user.h...
Parsing code for file src/sua.c...
Parsing code for file src/xua_as_fsm.c...
Generating code for file src/xua_as_fsm.h...
Parsing code for file src/xua_asp_fsm.c...
Generating code for file src/xua_asp_fsm.h...
Parsing code for file src/xua_default_lm_fsm.c...
Generating code for file src/xua_internal.h...
Parsing code for file src/xua_msg.c...
Parsing code for file src/xua_rkm.c...
Parsing code for file src/xua_shared.c...
Parsing code for file src/xua_snm.c...
Generating code for file src/xua_types.h...
Generating file documentation...
Generating docs for file include/osmocom/sigtran/mtp_sap.h...
Generating docs for file include/osmocom/sigtran/osmo_ss7.h...
Generating docs for file include/osmocom/sigtran/protocol/m2ua.h...
Generating docs for file include/osmocom/sigtran/protocol/m3ua.h...
Generating docs for file include/osmocom/sigtran/protocol/mtp.h...
Generating docs for file include/osmocom/sigtran/protocol/sccp_scmg.h...
Generating docs for file include/osmocom/sigtran/protocol/sua.h...
Generating docs for file include/osmocom/sigtran/sccp_helpers.h...
Generating docs for file include/osmocom/sigtran/sccp_sap.h...
Generating docs for file include/osmocom/sigtran/sigtran_sap.h...
Generating docs for file include/osmocom/sigtran/xua_msg.h...
Generating docs for file src/xua_msg.h...
Generating docs for file src/ipa.c...
Generating docs for file src/m3ua.c...
Generating docs for file src/osmo_ss7.c...
Generating docs for file src/osmo_ss7_as.c...
Generating docs for file src/osmo_ss7_asp.c...
Generating docs for file src/osmo_ss7_asp_peer.c...
Generating docs for file src/osmo_ss7_hmrt.c...
Generating docs for file src/osmo_ss7_link.c...
Generating docs for file src/osmo_ss7_linkset.c...
Generating docs for file src/osmo_ss7_route.c...
Generating docs for file src/osmo_ss7_route_table.c...
Generating docs for file src/osmo_ss7_user.c...
Generating docs for file src/osmo_ss7_vty.c...
Generating docs for file src/osmo_ss7_xua_srv.c...
Generating docs for file src/sccp2sua.c...
Generating docs for file src/sccp_helpers.c...
Generating docs for file src/sccp_internal.h...
Generating docs for file src/sccp_lbcs.c...
Generating docs for file src/sccp_sap.c...
Generating docs for file src/sccp_sclc.c...
Generating docs for file src/sccp_scmg.c...
Generating docs for file src/sccp_scoc.c...
Generating docs for file src/sccp_scrc.c...
Generating docs for file src/sccp_types.c...
Generating docs for file src/sccp_user.c...
Generating docs for file src/sccp_vty.c...
Generating docs for file src/ss7_internal.h...
Generating docs for file src/ss7_link.h...
Generating docs for file src/ss7_linkset.h...
Generating docs for file src/ss7_route.h...
Generating docs for fil/build/src/sua.c:505: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sua.c:679: warning: unable to resolve reference to 'msg' for \ref command
/build/src/sua.c:915: warning: argument 'info_string' of command @param is not found in the argument list of sua_tx_dupu(struct osmo_ss7_asp *asp, const uint32_t *rctx, unsigned int num_rctx, uint32_t dpc, uint16_t user, uint16_t cause, const char *info_str)
/build/src/sua.c:915: warning: The following parameter of sua_tx_dupu(struct osmo_ss7_asp *asp, const uint32_t *rctx, unsigned int num_rctx, uint32_t dpc, uint16_t user, uint16_t cause, const char *info_str) is not documented:
  parameter 'info_str'
/build/src/sua.c:303: warning: unable to resolve reference to 'xua' for \ref command
/build/src/m3ua.c:719: warning: unable to resolve reference to 'msg' for \ref command
/build/src/m3ua.c:935: warning: argument 'info_string' of command @param is not found in the argument list of m3ua_tx_dupu(struct osmo_ss7_asp *asp, const uint32_t *rctx, unsigned int num_rctx, uint32_t dpc, uint16_t user, uint16_t cause, const char *info_str)
/build/src/m3ua.c:935: warning: The following parameter of m3ua_tx_dupu(struct osmo_ss7_asp *asp, const uint32_t *rctx, unsigned int num_rctx, uint32_t dpc, uint16_t user, uint16_t cause, const char *info_str) is not documented:
  parameter 'info_str'
/build/src/m3ua.c:508: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sccp2sua.c:69: warning: unable to resolve reference to 'in' for \ref command
/build/src/sccp2sua.c:224: warning: unable to resolve reference to 'msg' for \ref command
/build/src/sccp2sua.c:116: warning: unable to resolve reference to 'addr' for \ref command
/build/src/sua.c:505: warning: unable to resolve reference to 'xua' for \ref command
/build/src/sua.c:679: warning: unable to resolve reference to 'msg' for \ref command
/build/src/sua.c:915: warning: argument 'info_string' of command @param is not found in the argument list of sua_tx_dupu(struct osmo_ss7_asp *asp, const uint32_t *rctx, unsigned int num_rctx, uint32_t dpc, uint16_t user, uint16_t cause, const char *info_str)
/build/src/sua.c:915: warning: The following parameter of sua_tx_dupu(struct osmo_ss7_asp *asp, const uint32_t *rctx, unsigned int num_rctx, uint32_t dpc, uint16_t user, uint16_t cause, const char *info_str) is not documented:
  parameter 'info_str'
/build/src/sua.c:303: warning: unable to resolve reference to 'xua' for \ref command
/build/src/xua_msg.c:433: warning: unable to resolve reference to 'maps' for \ref command
/build/src/xua_msg.c:431: warning: The following parameter of xua_msg_event_map(const struct xua_msg *xua, const struct xua_msg_event_map *maps, unsigned int num_maps) is not documented:
  parameter 'num_maps'
/build/include/osmocom/sigtran/osmo_ss7.h:61: warning: unable to resolve reference to 'osmo_xua_servers' for \ref command
/build/include/osmocom/sigtran/osmo_ss7.h:61: warning: unable to resolve reference to 'osmo_xua_servers' for \ref command
e src/ss7_route_table.h...
Generating docs for file src/ss7_user.h...
Generating docs for file src/sua.c...
Generating docs for file src/xua_as_fsm.c...
Generating docs for file src/xua_as_fsm.h...
Generating docs for file src/xua_asp_fsm.c...
Generating docs for file src/xua_asp_fsm.h...
Generating docs for file src/xua_default_lm_fsm.c...
Generating docs for file src/xua_internal.h...
Generating docs for file src/xua_msg.c...
Generating docs for file src/xua_rkm.c...
Generating docs for file src/xua_shared.c...
Generating docs for file src/xua_snm.c...
Generating docs for file src/xua_types.h...
Generating page documentation...
Generating group documentation...
Generating class documentation...
Generating docs for compound ipa_asp_fsm_priv...
Generating docs for compound lm_fsm_priv...
Generating docs for compound m3ua_data_hdr...
Generating docs for compound osmo_mtp_pause_param...
Generating docs for compound osmo_mtp_prim...
Generating docs for compound osmo_mtp_resume_param...
Generating docs for compound osmo_mtp_status_param...
Generating docs for compound osmo_mtp_transfer_param...
Generating docs for compound osmo_sccp_addr...
Generating docs for compound osmo_sccp_addr_entry...
Generating docs for compound osmo_sccp_gt...
Generating docs for compound osmo_sccp_instance...
Generating docs for compound osmo_sccp_user...
Generating docs for compound osmo_scu_connect_param...
Generating docs for compound osmo_scu_data_param...
Generating docs for compound osmo_scu_disconn_param...
Generating docs for compound osmo_scu_notice_param...
Generating docs for compound osmo_scu_pcstate_param...
Generating docs for compound osmo_scu_prim...
Generating docs for compound osmo_scu_reset_param...
Generating docs for compound osmo_scu_state_param...
Generating docs for compound osmo_scu_unitdata_param...
Generating docs for compound osmo_ss7_as...
Generating docs for compound osmo_ss7_asp...
Generating docs for compound osmo_ss7_asp_peer...
Generating docs for compound osmo_ss7_instance...
Generating docs for compound osmo_ss7_link...
Generating docs for compound osmo_ss7_linkset...
Generating docs for compound osmo_ss7_pc_fmt...
Generating docs for compound osmo_ss7_route...
Generating docs for compound osmo_ss7_route_table...
Generating docs for compound osmo_ss7_routing_key...
Generating docs for compound osmo_ss7_user...
Generating docs for compound osmo_xlm_prim...
Generating docs for compound osmo_xlm_prim_error...
Generating docs for compound osmo_xlm_prim_notify...
Generating docs for compound osmo_xlm_prim_rk_dereg...
Generating docs for compound osmo_xlm_prim_rk_reg...
Generating docs for compound osmo_xua_layer_manager...
Generating docs for compound osmo_xua_server...
Generating docs for compound sccp_connection...
Generating docs for compound sccp_scmg_msg...
Generating docs for compound xua_as_fsm_priv...
Generating docs for compound xua_asp_fsm_priv...
Generating docs for compound xua_common_hdr...
Generating docs for compound xua_dialect...
Generating docs for compound xua_msg...
Generating docs for compound xua_msg_class...
Generating docs for compound xua_msg_event_map...
Generating docs for compound xua_msg_part...
Generating docs for compound xua_parameter_hdr...
Generating concept documentation...
Generating namespace index...
Generating graph info page...
Generating directory documentation...
Generating index page...
Generating page index...
Generating module index...
Generating namespace index...
Generating namespace member index...
Generating concept index...
Generating annotated compound index...
Generating alphabetical compound index...
Generating hierarchical class index...
Generating member index...
Generating file index...
Generating file member index...
Generating example index...
finalizing index lists...
writing tag file...
Running plantuml with JAVA...
lookup cache used 2117/65536 hits=24340 misses=2271
finished...
cd ./doc && tar cf html.tar */html
make[2]: Leaving directory '/build'
make[1]: Leaving directory '/build'
+ make -j 4 check
make  check-recursive
make[1]: Entering directory '/build'
Making check in include
make[2]: Entering directory '/build/include'
Making check in osmocom
make[3]: Entering directory '/build/include/osmocom'
Making check in sccp
make[4]: Entering directory '/build/include/osmocom/sccp'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/build/include/osmocom/sccp'
Making check in sigtran
make[4]: Entering directory '/build/include/osmocom/sigtran'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/build/include/osmocom/sigtran'
make[4]: Entering directory '/build/include/osmocom'
make[4]: Nothing to be done for 'check-am'.
make[4]: Leaving directory '/build/include/osmocom'
make[3]: Leaving directory '/build/include/osmocom'
make[3]: Entering directory '/build/include'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/build/include'
make[2]: Leaving directory '/build/include'
Making check in src
make[2]: Entering directory '/build/src'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/build/src'
Making check in tests
make[2]: Entering directory '/build/tests'
Making check in xua
make[3]: Entering directory '/build/tests/xua'
make  xua_test
make[4]: Entering directory '/build/tests/xua'
  CC       xua_test.o
  CC       sccp_test_data.o
  CCLD     xua_test
make[4]: Leaving directory '/build/tests/xua'
make[3]: Leaving directory '/build/tests/xua'
Making check in m2ua
make[3]: Entering directory '/build/tests/m2ua'
make  m2ua_test
make[4]: Entering directory '/build/tests/m2ua'
  CC       m2ua_test.o
  CCLD     m2ua_test
make[4]: Leaving directory '/build/tests/m2ua'
make[3]: Leaving directory '/build/tests/m2ua'
Making check in ss7
make[3]: Entering directory '/build/tests/ss7'
make  ss7_test
make[4]: Entering directory '/build/tests/ss7'
  CC       ss7_test.o
  CCLD     ss7_test
make[4]: Leaving directory '/build/tests/ss7'
make[3]: Leaving directory '/build/tests/ss7'
Making check in vty
make[3]: Entering directory '/build/tests/vty'
make  ss7_asp_vty_test
make[4]: Entering directory '/build/tests/vty'
  CC       ss7_asp_vty_test.o
  CCLD     ss7_asp_vty_test
make[4]: Leaving directory '/build/tests/vty'
make  check-local
make[4]: Entering directory '/build/tests/vty'
make  ext-tests
make[5]: Entering directory '/build/tests/vty'
make vty-test
make[6]: Entering directory '/build/tests/vty'
make vty-python-test
make[7]: Entering directory '/build/tests/vty'
./vty_test_runner.py -w /build -v
confpath /build/tests/vty/.., workdir /build
Running tests for specific VTY commands
testMultiHome (__main__.TestVTYSTP.testMultiHome) ... Opening /dev/null
Launching: PWD=/build './stp/osmo-stp' '-c' '/build/tests/vty/../../doc/examples/osmo-stp-multihome.cfg'

> ls -l /proc/37736/fd
total 0
lr-x------ 1 build build 64 Nov  5 12:48 0 -> pipe:[93621043]
l-wx------ 1 build build 64 Nov  5 12:48 1 -> pipe:[93621044]
l-wx------ 1 build build 64 Nov  5 12:48 2 -> pipe:[93621045]
l-wx------ 1 build build 64 Nov  5 12:48 3 -> /dev/null


> ss -tn
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess


> ss -tln
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess


> ps xua | grep osmo
build      37737  0.0  0.0  40436  8764 ?        R    12:48   0:00 /build/stp/.libs/osmo-stp -c /build/tests/vty/../../doc/examples/osmo-stp-multihome.cfg
build      37757  0.0  0.0   2576   912 ?        S    12:48   0:00 /bin/sh -c ps xua | grep osmo
build      37759  0.0  0.0   3700  1816 ?        S    12:48   0:00 grep osmo

/proc/net/sctp/eps: parsing line: ce80d418 18b8c67c 2   10  3    2905   1000 93676135 127.0.0.2 127.0.0.1 0000:0000:0000:0000:0000:0000:0000:0001
/proc/net/sctp/eps: local port 2905 found
Connected to STP through SCTP (IPv4)
Connected to STP through SCTP (IPv6)
Process returned code: 0
ok

----------------------------------------------------------------------
Ran 1 test in 0.206s

OK
make[7]: Leaving directory '/build/tests/vty'
make vty-transcript-test
make[7]: Entering directory '/build/tests/vty'
make vty-transcript-test-stp
make[8]: Entering directory '/build/tests/vty'
osmo_verify_transcript_vty.py -v \
	-n OsmoSTP -p 4239 \
	-r "../../stp/osmo-stp -c ../../doc/examples/osmo-stp-multihome.cfg" \
	 ./osmo_stp_*.vty
DLSS7 <000c> osmo_ss7.c:341 0: Creating SS7 Instance
DLSS7 <000c> osmo_ss7_route_table.c:55 0: Creating Route Table system
DLSS7 <000c> osmo_ss7_xua_srv.c:217 Creating m3ua Server (null):2905
DLSS7 <000c> osmo_ss7_xua_srv.c:237 Created m3ua server on (null):2905
DLSS7 <000c> osmo_ss7_xua_srv.c:284 (Re)binding m3ua Server to (127.0.0.2|127.0.0.1|::1):2905
DLGLOBAL <0000> telnet_interface.c:88 Available via telnet 127.0.0.1 4239
Launching: cd '/build/tests/vty'; ../../stp/osmo-stp -c ../../doc/examples/osmo-stp-multihome.cfg
OsmoSTP> enable

OsmoSTP# configure terminal

OsmoSTP(config)# cs7 instance 0


OsmoSTP(config-cs7)# ! CREATE 3 AS with 1 ASP EACH:

OsmoSTP(config-cs7)# asp asp1 2905 54321 m3ua

OsmoSTP(config-cs7-asp)# remote-ip 127.0.0.110

OsmoSTP(config-cs7-asp)# local-ip 27.0.0.1

OsmoSTP(config-cs7-asp)# exit
DLSS7 <000c> osmo_ss7_asp.c:620 0: asp-asp1: Restarting ASP asp1, r=127.0.0.110:2905<->l=27.0.0.1:54321
DLSS7 <000c> osmo_ss7_asp.c:708 0: asp-asp1: ASP Restart for server not implemented yet!

OsmoSTP(config-cs7)# asp asp2 2905 54321 m3ua

OsmoSTP(config-cs7-asp)# remote-ip 127.0.0.120

OsmoSTP(config-cs7-asp)# local-ip 27.0.0.1

OsmoSTP(config-cs7-asp)# exit
DLSS7 <000c> osmo_ss7_asp.c:620 0: asp-asp2: Restarting ASP asp2, r=127.0.0.120:2905<->l=27.0.0.1:54321
DLSS7 <000c> osmo_ss7_asp.c:708 0: asp-asp2: ASP Restart for server not implemented yet!

OsmoSTP(config-cs7)# asp asp3 2905 54321 m3ua

OsmoSTP(config-cs7-asp)# remote-ip 127.0.0.130

OsmoSTP(config-cs7-asp)# local-ip 27.0.0.1

OsmoSTP(config-cs7-asp)# exit
DLSS7 <000c> osmo_ss7_asp.c:620 0: asp-asp3: Restarting ASP asp3, r=127.0.0.130:2905<->l=27.0.0.1:54321
DLSS7 <000c> osmo_ss7_asp.c:708 0: asp-asp3: ASP Restart for server not implemented yet!

OsmoSTP(config-cs7)# as as1 m3ua
DLSS7 <000c> osmo_ss7.c:605 0: as-as1: Created AS

OsmoSTP(config-cs7-as)# asp asp1
DLSS7 <000c> osmo_ss7_as.c:112 0: as-as1: Adding ASP asp1 to AS

OsmoSTP(config-cs7-as)# routing-key 56 0.1.2

OsmoSTP(config-cs7-as)# exit

OsmoSTP(config-cs7)# as as2 m3ua
DLSS7 <000c> osmo_ss7.c:605 0: as-as2: Created AS

OsmoSTP(config-cs7-as)# asp asp2
DLSS7 <000c> osmo_ss7_as.c:112 0: as-as2: Adding ASP asp2 to AS

OsmoSTP(config-cs7-as)# routing-key 57 0.1.3

OsmoSTP(config-cs7-as)# exit

OsmoSTP(config-cs7)# as as3 m3ua
DLSS7 <000c> osmo_ss7.c:605 0: as-as3: Created AS

OsmoSTP(config-cs7-as)# asp asp3
DLSS7 <000c> osmo_ss7_as.c:112 0: as-as3: Adding ASP asp3 to AS

OsmoSTP(config-cs7-as)# routing-key 57 0.1.4

OsmoSTP(config-cs7-as)# exit

OsmoSTP(config-cs7)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 asp asp1 2905 54321 m3ua
  local-ip 27.0.0.1
  remote-ip 127.0.0.110
  role sg
  sctp-role server
 asp asp2 2905 54321 m3ua
  local-ip 27.0.0.1
  remote-ip 127.0.0.120
  role sg
  sctp-role server
 asp asp3 2905 54321 m3ua
  local-ip 27.0.0.1
  remote-ip 127.0.0.130
  role sg
  sctp-role server
 as as1 m3ua
  asp asp1
  routing-key 56 0.1.2
 as as2 m3ua
  asp asp2
  routing-key 57 0.1.3
 as as3 m3ua
  asp asp3
  routing-key 57 0.1.4
 route-table system
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
end

OsmoSTP(config-cs7)# ! ADD 2 ROUTES WITH DECREASING PRIORITIES. THEY SHOULD END UP REORDERED BY PRIORITY:

OsmoSTP(config-cs7)# route-table system

OsmoSTP(config-cs7-rt)# update route 3.2.1 7.255.7 linkset as1 priority 6
DLSS7 <000c> osmo_ss7_route.c:126 0: Creating route: pc=6161=3.2.1 mask=0x3fff via AS 'as1'

OsmoSTP(config-cs7-rt)# update route 3.2.1 7.255.7 linkset as2
DLSS7 <000c> osmo_ss7_route.c:126 0: Creating route: pc=6161=3.2.1 mask=0x3fff via AS 'as2'

OsmoSTP(config-cs7-rt)# update route 3.2.1 7.255.7 linkset as3 priority 2
DLSS7 <000c> osmo_ss7_route.c:126 0: Creating route: pc=6161=3.2.1 mask=0x3fff via AS 'as3'

OsmoSTP(config-cs7-rt)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 asp asp1 2905 54321 m3ua
  local-ip 27.0.0.1
  remote-ip 127.0.0.110
  role sg
  sctp-role server
 asp asp2 2905 54321 m3ua
  local-ip 27.0.0.1
  remote-ip 127.0.0.120
  role sg
  sctp-role server
 asp asp3 2905 54321 m3ua
  local-ip 27.0.0.1
  remote-ip 127.0.0.130
  role sg
  sctp-role server
 as as1 m3ua
  asp asp1
  routing-key 56 0.1.2
 as as2 m3ua
  asp asp2
  routing-key 57 0.1.3
 as as3 m3ua
  asp asp3
  routing-key 57 0.1.4
 route-table system
  update route 3.2.1 7.255.7 linkset as3 priority 2
  update route 3.2.1 7.255.7 linkset as2
  update route 3.2.1 7.255.7 linkset as1 priority 6
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
end
OsmoSTP(config-cs7-rt)# do show cs7 instance 0 route
Routing table = system
C=Cong Q=QoS P=Prio

Destination            C Q P Linkset Name        Linkset Non-adj Route
---------------------- - - - ------------------- ------- ------- -------
3.2.1/14                   2 as3                 ?       ?       ?      
3.2.1/14                   5 as2                 ?       ?       ?      
3.2.1/14                   6 as1                 ?       ?       ?      
Copyright (C) 2015-2020 by Harald Welte <laforge@gnumonks.org>
Contributions by Holger Freyther, Neels Hofmeyr, Pau Espin, Vadim Yanitskiy
License GPLv2+: GNU GPL Version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Free Software lives by contribution.  If you use this, please contribute!

signal 15 received
DLSS7 <000c> osmo_ss7.c:341 0: Creating SS7 Instance
DLSS7 <000c> osmo_ss7_route_table.c:55 0: Creating Route Table system
DLSS7 <000c> osmo_ss7_xua_srv.c:217 Creating m3ua Server (null):2905
DLSS7 <000c> osmo_ss7_xua_srv.c:237 Created m3ua server on (null):2905
DLSS7 <000c> osmo_ss7_xua_srv.c:284 (Re)binding m3ua Server to (127.0.0.2|127.0.0.1|::1):2905
DLGLOBAL <0000> telnet_interface.c:88 Available via telnet 127.0.0.1 4239
Launching: cd '/build/tests/vty'; ../../stp/osmo-stp -c ../../doc/examples/osmo-stp-multihome.cfg
OsmoSTP> list
  show pid
  show uptime
  show version
  show online-help
  list [with-flags]
  exit
  help
  show vty-attributes
  show vty-attributes (application|library|global)
  enable [expert-mode]
  terminal length <0-512>
  terminal no length
  who
  show history
  logging enable
  logging disable
  logging filter all (0|1)
  logging color (0|1)
  logging timestamp (0|1)
  logging print extended-timestamp (0|1)
  logging print thread-id (0|1)
  logging print category (0|1)
  logging print category-hex (0|1)
  logging print level (0|1)
  logging print file (0|1|basename) [last]
  logging set-log-mask MASK
  logging level (lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf|lrspro|lns|lbssgp|lnsdata|lnssignal|liuup|lpfcp|lcsn1|lio) (debug|info|notice|error|fatal)
  logging level set-all (debug|info|notice|error|fatal)
  logging level force-all (debug|info|notice|error|fatal)
  no logging level force-all
  logp (lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf|lrspro|lns|lbssgp|lnsdata|lnssignal|liuup|lpfcp|lcsn1|lio) (debug|info|notice|error|fatal) .LOGMESSAGE
  show logging vty
  show alarms
  show stats [skip-zero]
  show stats level (global|peer|subscriber) [skip-zero]
  show asciidoc counters
  show rate-counters [skip-zero]
  show cs7 instance <0-15> users
  show cs7 (sua|m3ua|ipa) [<0-65534>]
  show cs7 (sua|m3ua|ipa) (sctp|tcp) [<0-65534>]
  show cs7 config
  show cs7 instance <0-15> asp
  show cs7 instance <0-15> asp name ASP_NAME
  show cs7 instance <0-15> asp-remaddr
  show cs7 instance <0-15> asp-remaddr name ASP_NAME
  show cs7 instance <0-15> asp-assoc-status
  show cs7 instance <0-15> asp-assoc-status name ASP_NAME
  show cs7 instance <0-15> as (active|all|m3ua|sua)
  show cs7 instance <0-15> route
  show cs7 instance <0-15> sccp addressbook
  show cs7 instance <0-15> sccp users
  show cs7 instance <0-15> sccp ssn <0-65535>
  show cs7 instance <0-15> sccp connections
  show cs7 instance <0-15> sccp timers
  show cpu-sched threads
  show fsm NAME
  show fsm all
  show fsm-state-graph NAME
  show fsm-instances NAME
  show fsm-instances all
  show talloc-context (application|global|all) (full|brief|DEPTH)
  show talloc-context (application|global|all) (full|brief|DEPTH) tree ADDRESS
  show talloc-context (application|global|all) (full|brief|DEPTH) filter REGEXP

OsmoSTP> enable

OsmoSTP# list
  help
  list [with-flags]
  show vty-attributes
  show vty-attributes (application|library|global)
  write terminal
  write file [PATH]
  write memory
  write
  show running-config
  exit
  disable
  configure [terminal]
  copy running-config startup-config
  shutdown
  show startup-config
  show version
  show online-help
  terminal length <0-512>
  terminal no length
  who
  show history
  terminal monitor
  terminal no monitor
  logging enable
  logging disable
  logging filter all (0|1)
  logging color (0|1)
  logging timestamp (0|1)
  logging print extended-timestamp (0|1)
  logging print thread-id (0|1)
  logging print category (0|1)
  logging print category-hex (0|1)
  logging print level (0|1)
  logging print file (0|1|basename) [last]
  logging set-log-mask MASK
  logging level (lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf|lrspro|lns|lbssgp|lnsdata|lnssignal|liuup|lpfcp|lcsn1|lio) (debug|info|notice|error|fatal)
  logging level set-all (debug|info|notice|error|fatal)
  logging level force-all (debug|info|notice|error|fatal)
  no logging level force-all
  logp (lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf|lrspro|lns|lbssgp|lnsdata|lnssignal|liuup|lpfcp|lcsn1|lio) (debug|info|notice|error|fatal) .LOGMESSAGE
  show logging vty
  show alarms
  show stats [skip-zero]
  show stats level (global|peer|subscriber) [skip-zero]
  show asciidoc counters
  show rate-counters [skip-zero]
  stats report
  stats reset
  show cs7 instance <0-15> users
  show cs7 (sua|m3ua|ipa) [<0-65534>]
  show cs7 (sua|m3ua|ipa) (sctp|tcp) [<0-65534>]
  show cs7 config
  cs7 instance <0-15> asp NAME disconnect
  show cs7 instance <0-15> asp
  show cs7 instance <0-15> asp name ASP_NAME
  show cs7 instance <0-15> asp-remaddr
  show cs7 instance <0-15> asp-remaddr name ASP_NAME
  show cs7 instance <0-15> asp-assoc-status
  show cs7 instance <0-15> asp-assoc-status name ASP_NAME
  show cs7 instance <0-15> as (active|all|m3ua|sua)
  show cs7 instance <0-15> route
  show cs7 instance <0-15> sccp addressbook
  show cs7 instance <0-15> sccp users
  show cs7 instance <0-15> sccp ssn <0-65535>
  show cs7 instance <0-15> sccp connections
  show cs7 instance <0-15> sccp timers
  show cpu-sched threads
  show fsm NAME
  show fsm all
  show fsm-state-graph NAME
  show fsm-instances NAME
  show fsm-instances all
  show talloc-context (application|global|all) (full|brief|DEPTH)
  show talloc-context (application|global|all) (full|brief|DEPTH) tree ADDRESS
  show talloc-context (application|global|all) (full|brief|DEPTH) filter REGEXP

OsmoSTP# show ?
  vty-attributes   List of VTY attributes
  running-config   running configuration
  startup-config   Contentes of startup configuration
  version          Displays program version
  online-help      Online help
  history          Display the session command history
  logging          Show current logging configuration
  alarms           Show current logging configuration
  stats            Show statistical values
  asciidoc         Asciidoc generation
  rate-counters    Show all rate counters
  cs7              ITU-T Signaling System 7
  cpu-sched        Show Sched section information
  fsm              Show information about finite state machines
  fsm-state-graph  Generate a state transition graph (using DOT language)
  fsm-instances    Show information about finite state machine instances
  talloc-context   Show talloc memory hierarchy

OsmoSTP# show cs7 ?
  instance  An instance of the SS7 stack
  sua       SCCP User Adaptation
  m3ua      MTP3 User Adaptation
  ipa       IPA Multiplex (SCCP Lite)
  config    Currently running cs7 configuration

OsmoSTP# show cs7 m3ua ?
  [<0-65534>]  Local Port Number
  sctp         SCTP (Stream Control Transmission Protocol)
  tcp          TCP (Transmission Control Protocol)

OsmoSTP# show cs7 m3ua 2905 ?
  <cr>  

OsmoSTP# show cs7 m3ua sctp ?
  [<0-65534>]  Local Port Number

OsmoSTP# show cs7 m3ua sctp 2905 ?
  <cr>  

OsmoSTP# show cs7 instance ?
  <0-15>  An instance of the SS7 stack

OsmoSTP# show cs7 instance 0 ?
  users             User Table
  asp               Application Server Process (ASP)
  asp-remaddr       Application Server Process (ASP) remote addresses information
  asp-assoc-status  Application Server Process (ASP) SCTP association status
  as                Application Server (AS)
  route             Routing Table
  sccp              Signalling Connection Control Part

OsmoSTP# show cs7 instance 0 as ?
  active  Display all active ASs
  all     Display all ASs (default)
  m3ua    Display all m3ua ASs
  sua     Display all SUA ASs

OsmoSTP# show cs7 instance 0 sccp ?
  addressbook  List all SCCP addressbook entries
  users        Show List of SCCP Users registered
  ssn          Find an SCCP User registered for the given SSN
  connections  Show List of active SCCP connections
  timers       Show List of SCCP timers

OsmoSTP# show cs7 instance 0 sccp ssn ?
  <0-65535>  Subsystem Number (SSN)

OsmoSTP# configure terminal

OsmoSTP(config)# cs7 instance 0


OsmoSTP(config-cs7)# list
  help
  list [with-flags]
  show vty-attributes
  show vty-attributes (application|library|global)
  write terminal
  write file [PATH]
  write memory
  write
  show running-config
  exit
  end
  description .TEXT
  network-indicator (international | national | reserved | spare)
  point-code POINT_CODE
  secondary-pc POINT_CODE
  point-code format <1-24> [<1-23>] [<1-22>]
  point-code format default
  point-code delimiter (default|dash)
  xua rkm routing-key-allocation (static-only|dynamic-permitted)
  asp NAME <0-65535> <0-65535> (sua|m3ua|ipa)
  asp NAME <0-65535> <0-65535> (sua|m3ua|ipa) (sctp|tcp)
  no asp NAME
  as NAME (sua|m3ua|ipa)
  no as NAME
  sccp-address NAME
  no sccp-address NAME
  route-table system
  listen (sua|m3ua|ipa) <0-65534> [(sctp|tcp)]
  no listen (sua|m3ua|ipa) <0-65534> [(sctp|tcp)]
  sccp-timer (conn_est|ias|iar|rel|repeat_rel|int|guard|reset|reassembly) <1-999999>
  sccp max-optional-data (<0-999999>|standard)

OsmoSTP(config-cs7)# ?
  help               Description of the interactive help system
  list               Print command list
  show               Show running system information
  write              Write running configuration to memory, network, or terminal
  exit               Exit current mode and down to previous mode
  end                End current mode and change to enable mode.
  description        Save human-readable description of the object
  network-indicator  Configure the Network Indicator
  point-code         Configure the local Point Code
  secondary-pc       Configure the local Secondary Point Code
  xua                SIGTRAN xxxUA related
  asp                Configure Application Server Process
  no                 Negate a command or set its defaults
  as                 Configure an Application Server
  sccp-address       Create/Modify an SCCP addressbook entry
  route-table        Specify the name of the route table
  listen             Configure/Enable xUA Listener
  sccp-timer         Configure SCCP timer values, see ITU-T Q.714
  sccp               Configure SCCP behavior

OsmoSTP(config-cs7)# description ?
  TEXT  Text until the end of the line

OsmoSTP(config-cs7)# network-indicator ?
  international  International Network
  national       National Network
  reserved       Reserved Network
  spare          Spare Network

OsmoSTP(config-cs7)# point-code ?
  POINT_CODE  Point Code
  format      Configure Point Code Format
  delimiter   Configure Point Code Delimiter

OsmoSTP(config-cs7)# point-code format ?
  <1-24>   Length of first PC component
  default  Default Point Code Format (3.8.3)
OsmoSTP(config-cs7)# point-code format 1 ?
  [<1-23>]  Length of second PC component
OsmoSTP(config-cs7)# point-code format 1 1 ?
  [<1-22>]  Length of third PC component

OsmoSTP(config-cs7)# point-code delimiter ?
  default  Use dot as delimiter
  dash     User dash as delimiter

OsmoSTP(config-cs7)# xua ?
  rkm  Routing Key Management
OsmoSTP(config-cs7)# xua rkm ?
  routing-key-allocation  Routing Key Management Allocation Policy
OsmoSTP(config-cs7)# xua rkm routing-key-allocation ?
  static-only        Only static (pre-configured) Routing Keys permitted
  dynamic-permitted  Dynamically allocate Routing Keys for what ASPs request

OsmoSTP(config-cs7)# asp ?
  NAME  Name of ASP
OsmoSTP(config-cs7)# asp foo ?
  <0-65535>  Remote port number
OsmoSTP(config-cs7)# asp foo 0 ?
  <0-65535>  Local port number
OsmoSTP(config-cs7)# asp foo 0 0 ?
  sua   SCCP User Adaptation
  m3ua  MTP3 User Adaptation
  ipa   IPA Multiplex (SCCP Lite)
OsmoSTP(config-cs7)# asp foo 0 0 m3ua ?
  sctp  SCTP (Stream Control Transmission Protocol)
  tcp   TCP (Transmission Control Protocol)
  <cr>  

OsmoSTP(config-cs7)# as ?
  NAME  Name of the Application Server
OsmoSTP(config-cs7)# as foo ?
  sua   SCCP User Adaptation
  m3ua  MTP3 User Adaptation
  ipa   IPA Multiplex (SCCP Lite)

OsmoSTP(config-cs7)# sccp-address ?
  NAME  Name of the SCCP Address

OsmoSTP(config-cs7)# no ?
  asp           Disable Application Server Process
  as            Disable Application Server
  sccp-address  Delete an SCCP addressbook entry
  listen        Disable xUA Listener on given port
OsmoSTP(config-cs7)# no asp ?
  NAME  Name of ASP
OsmoSTP(config-cs7)# no as ?
  NAME  Name of AS
OsmoSTP(config-cs7)# no sccp-address ?
  NAME  Name of the SCCP Address

OsmoSTP(config-cs7)# sccp-address foo

OsmoSTP(config-cs7-sccpaddr)# list
  help
  list [with-flags]
  show vty-attributes
  show vty-attributes (application|library|global)
  write terminal
  write file [PATH]
  write memory
  write
  show running-config
  exit
  end
  no point-code
  no subsystem-number
  no global-title
  routing-indicator (GT|PC|IP)
  point-code POINT_CODE
  subsystem-number <0-4294967295>
  global-title
OsmoSTP(config-cs7-sccpaddr)# ?
  help               Description of the interactive help system
  list               Print command list
  show               Show running system information
  write              Write running configuration to memory, network, or terminal
  exit               Exit current mode and down to previous mode
  end                End current mode and change to enable mode.
  no                 Negate a command or set its defaults
  routing-indicator  Add Routing Indicator
  point-code         Add point-code Number
  subsystem-number   Add Subsystem Number
  global-title       Add/Modify Global Title

OsmoSTP(config-cs7-sccpaddr)# point-code 1.2.3


OsmoSTP(config-cs7-sccpaddr)# do show cs7 instance 0 sccp addressbook

Name         RI: PC:       SSN:       GT:
------------ --- --------- ---------- --------------------------------------- 
foo          PC  1.2.3     (none)     (none)

OsmoSTP(config-cs7-sccpaddr)# exit


OsmoSTP(config-cs7)# sccp-address foobarfoobarfoobarfoobarfoobarfoobar
Error: SCCP address name too long: 'foobarfoobarfoobarfoobarfoobarfoobar'
% Command incomplete.

OsmoSTP(config-cs7)# exit

OsmoSTP(config)# cs7 instance 1
DLSS7 <000c> osmo_ss7.c:341 1: Creating SS7 Instance
DLSS7 <000c> osmo_ss7_route_table.c:55 1: Creating Route Table system

OsmoSTP(config-cs7)# sccp-address foo
Error: SCCP address name already used in cs7 instance 0: 'foo'
% Command incomplete.
OsmoSTP(config-cs7)# sccp-address bar

OsmoSTP(config-cs7-sccpaddr)# point-code 1.2.3

OsmoSTP(config-cs7-sccpaddr)# exit

OsmoSTP(config-cs7)# exit

OsmoSTP(config)# no cs7 instance 1
% Unknown command.

OsmoSTP(config)# cs7 instance 0


OsmoSTP(config-cs7)# asp my-asp 12345 54321 m3ua

OsmoSTP(config-cs7-asp)# list
  help
  list [with-flags]
  show vty-attributes
  show vty-attributes (application|library|global)
  write terminal
  write file [PATH]
  write memory
  write
  show running-config
  exit
  end
  description .TEXT
  remote-ip (A.B.C.D|X:X::X:X) [primary]
  no remote-ip (A.B.C.D|X:X::X:X)
  local-ip (A.B.C.D|X:X::X:X) [primary]
  no local-ip (A.B.C.D|X:X::X:X)
  qos-class <0-7>
  role (sg|asp|ipsp)
  transport-role (client|server)
  sctp-param init (num-ostreams|max-instreams|max-attempts|timeout) <0-65535>
  no sctp-param init (num-ostreams|max-instreams|max-attempts|timeout)
  block
  shutdown
  quirk (no_notify|daud_in_asp|snm_inactive)
  no quirk (no_notify|daud_in_asp|snm_inactive)
  timer lm (wait_asp_up|wait_notify|wait_notify_rkm|wait_rk_reg_resp) <1-999999>

OsmoSTP(config-cs7-asp)# ?
  help            Description of the interactive help system
  list            Print command list
  show            Show running system information
  write           Write running configuration to memory, network, or terminal
  exit            Exit current mode and down to previous mode
  end             End current mode and change to enable mode.
  description     Save human-readable description of the object
  remote-ip       Specify Remote IP Address of ASP
  no              Negate a command or set its defaults
  local-ip        Specify Local IP Address from which to contact ASP
  qos-class       Specify QoS Class of ASP
  role            Specify the xUA role for this ASP
  transport-role  Specify the transport layer role for this ASP
  sctp-param      Configure SCTP parameters
  block           Allows a SCTP Association with ASP, but doesn't let it become active
  shutdown        Terminates SCTP association; New associations will be rejected
  quirk           Enable quirk to work around interop issues
  timer           Configure ASP default timer values

OsmoSTP(config-cs7-asp)# no ?
  remote-ip   Specify Remote IP Address of ASP
  local-ip    Specify Local IP Address from which to contact ASP
  sctp-param  Configure SCTP parameters
  quirk       Disable quirk to work around interop issues

OsmoSTP(config-cs7-asp)# remote-ip 127.0.0.200

OsmoSTP(config-cs7-asp)# local-ip 127.0.0.100

OsmoSTP(config-cs7-asp)# do show cs7 instance 0 asp
ASP Name      AS Name       State          Type  Role  SCTP Role  Local Addresses          Remote Addresses
------------  ------------  -------------  ----  ----  ---------  -----------------------  -----------------------
my-asp        ?             uninitialized  m3ua  sg    server     127.0.0.100:54321        127.0.0.200:12345      
OsmoSTP(config-cs7-asp)# remote-ip 127.0.0.201

OsmoSTP(config-cs7-asp)# local-ip 127.0.0.101

OsmoSTP(config-cs7-asp)# do show cs7 instance 0 asp
ASP Name      AS Name       State          Type  Role  SCTP Role  Local Addresses          Remote Addresses
------------  ------------  -------------  ----  ----  ---------  -----------------------  -----------------------
my-asp        ?             uninitialized  m3ua  sg    server     (127.0.0.100|127.0.0.101):54321  (127.0.0.200|127.0.0.201):12345
OsmoSTP(config-cs7-asp)# ! Mark as primary:

OsmoSTP(config-cs7-asp)# remote-ip 127.0.0.201 primary

OsmoSTP(config-cs7-asp)# ! 'local-ip 127.0.0.101 primary' cannot be tested here since output may be different based on sysctl available

OsmoSTP(config-cs7-asp)# local-ip 127.0.0.101

OsmoSTP(config-cs7-asp)# do show cs7 instance 0 asp
ASP Name      AS Name       State          Type  Role  SCTP Role  Local Addresses          Remote Addresses
------------  ------------  -------------  ----  ----  ---------  -----------------------  -----------------------
my-asp        ?             uninitialized  m3ua  sg    server     (127.0.0.100|127.0.0.101):54321  (127.0.0.200|127.0.0.201*):12345
OsmoSTP(config-cs7-asp)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 asp my-asp 12345 54321 m3ua
  local-ip 127.0.0.100
  local-ip 127.0.0.101
  remote-ip 127.0.0.200
  remote-ip 127.0.0.201 primary
  role sg
  sctp-role server
 route-table system
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
cs7 instance 1
 route-table system
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end
OsmoSTP(config-cs7-asp)# ! Mark as non-primary:

OsmoSTP(config-cs7-asp)# remote-ip 127.0.0.201

OsmoSTP(config-cs7-asp)# local-ip 127.0.0.101

OsmoSTP(config-cs7-asp)# do show cs7 instance 0 asp
ASP Name      AS Name       State          Type  Role  SCTP Role  Local Addresses          Remote Addresses
------------  ------------  -------------  ----  ----  ---------  -----------------------  -----------------------
my-asp        ?             uninitialized  m3ua  sg    server     (127.0.0.100|127.0.0.101):54321  (127.0.0.200|127.0.0.201):12345
OsmoSTP(config-cs7-asp)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 asp my-asp 12345 54321 m3ua
  local-ip 127.0.0.100
  local-ip 127.0.0.101
  remote-ip 127.0.0.200
  remote-ip 127.0.0.201
  role sg
  sctp-role server
 route-table system
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
cs7 instance 1
 route-table system
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end
OsmoSTP(config-cs7-asp)# exit
DLSS7 <000c> osmo_ss7_asp.c:620 0: asp-my-asp: Restarting ASP my-asp, r=(127.0.0.200|127.0.0.201):12345<->l=(127.0.0.100|127.0.0.101):54321
DLSS7 <000c> osmo_ss7_asp.c:708 0: asp-my-asp: ASP Restart for server not implemented yet!


OsmoSTP(config-cs7)# as my-ass m3ua
DLSS7 <000c> osmo_ss7.c:605 0: as-my-ass: Created AS

OsmoSTP(config-cs7-as)# list
  help
  list [with-flags]
  show vty-attributes
  show vty-attributes (application|library|global)
  write terminal
  write file [PATH]
  write memory
  write
  show running-config
  exit
  end
  description .TEXT
  asp NAME
  no asp NAME
  traffic-mode (broadcast | loadshare | roundrobin | override)
  no traffic-mode
  recovery-timeout <1-2000>
  qos-class <0-7>
  routing-key RCONTEXT DPC
  routing-key RCONTEXT DPC si (aal2|bicc|b-isup|h248|isup|sat-isup|sccp|tup)
  routing-key RCONTEXT DPC ssn SSN
  routing-key RCONTEXT DPC si (aal2|bicc|b-isup|h248|isup|sat-isup|sccp|tup) ssn SSN
  point-code override dpc PC
  point-code override patch-sccp (disabled|both)

OsmoSTP(config-cs7-as)# ?
  help              Description of the interactive help system
  list              Print command list
  show              Show running system information
  write             Write running configuration to memory, network, or terminal
  exit              Exit current mode and down to previous mode
  end               End current mode and change to enable mode.
  description       Save human-readable description of the object
  asp               Specify that a given ASP is part of this AS
  no                Negate a command or set its defaults
  traffic-mode      Specifies traffic mode of operation of the ASP within the AS
  recovery-timeout  Specifies the recovery timeout value in milliseconds
  qos-class         Specity QoS Class of AS
  routing-key       Define a routing key
  point-code        Point Code Specific Features

OsmoSTP(config-cs7-as)# no ?
  asp           Specify ASP to be removed from this AS
  traffic-mode  Remove explicit traffic mode of operation of this AS

OsmoSTP(config-cs7-as)# do show cs7 instance 0 as all
                          Routing    Routing Key                          Cic   Cic   Traffic
AS Name      State        Context    Dpc           Si   Opc           Ssn Min   Max   Mode
------------ ------------ ---------- ------------- ---- ------------- --- ----- ----- -------
my-ass       AS_DOWN      0          0.0.0                                             override

OsmoSTP(config-cs7-as)# do show cs7 instance 0 as active
                          Routing    Routing Key                          Cic   Cic   Traffic
AS Name      State        Context    Dpc           Si   Opc           Ssn Min   Max   Mode
------------ ------------ ---------- ------------- ---- ------------- --- ----- ----- -------

OsmoSTP(config-cs7-as)# do show cs7 instance 0 as sua
                          Routing    Routing Key                          Cic   Cic   Traffic
AS Name      State        Context    Dpc           Si   Opc           Ssn Min   Max   Mode
------------ ------------ ---------- ------------- ---- ------------- --- ----- ----- -------

OsmoSTP(config-cs7-as)# do show cs7 instance 0 as m3ua
                          Routing    Routing Key                          Cic   Cic   Traffic
AS Name      State        Context    Dpc           Si   Opc           Ssn Min   Max   Mode
------------ ------------ ---------- ------------- ---- ------------- --- ----- ----- -------
my-ass       AS_DOWN      0          0.0.0                                             override

OsmoSTP(config-cs7-as)# asp my-asp
DLSS7 <000c> osmo_ss7_as.c:112 0: as-my-ass: Adding ASP my-asp to AS

OsmoSTP(config-cs7-as)# routing-key 0 3.2.1


OsmoSTP(config-cs7-as)# do show cs7 instance 0 asp
ASP Name      AS Name       State          Type  Role  SCTP Role  Local Addresses          Remote Addresses
------------  ------------  -------------  ----  ----  ---------  -----------------------  -----------------------
my-asp        my-ass        ASP_DOWN       m3ua  sg    server     (127.0.0.100|127.0.0.101):54321  (127.0.0.200|127.0.0.201):12345

OsmoSTP(config-cs7-as)# exit

OsmoSTP(config-cs7)# do show cs7 instance 0 asp
ASP Name      AS Name       State          Type  Role  SCTP Role  Local Addresses          Remote Addresses
------------  ------------  -------------  ----  ----  ---------  -----------------------  -----------------------
my-asp        my-ass        ASP_DOWN       m3ua  sg    server     (127.0.0.100|127.0.0.101):54321  (127.0.0.200|127.0.0.201):12345

OsmoSTP(config-cs7)# exit



OsmoSTP(config)# do show cs7 instance 0 asp
ASP Name      AS Name       State          Type  Role  SCTP Role  Local Addresses          Remote Addresses
------------  ------------  -------------  ----  ----  ---------  -----------------------  -----------------------
my-asp        my-ass        ASP_DOWN       m3ua  sg    server     (127.0.0.100|127.0.0.101):54321  (127.0.0.200|127.0.0.201):12345

OsmoSTP(config)# do show cs7 instance 0 as all
                          Routing    Routing Key                          Cic   Cic   Traffic
AS Name      State        Context    Dpc           Si   Opc           Ssn Min   Max   Mode
------------ ------------ ---------- ------------- ---- ------------- --- ----- ----- -------
my-ass       AS_DOWN      0          3.2.1                                             override



OsmoSTP(config)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 asp my-asp 12345 54321 m3ua
  local-ip 127.0.0.100
  local-ip 127.0.0.101
  remote-ip 127.0.0.200
  remote-ip 127.0.0.201
  role sg
  sctp-role server
 as my-ass m3ua
  asp my-asp
  routing-key 0 3.2.1
 route-table system
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
cs7 instance 1
 route-table system
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end

OsmoSTP(config)# do show cs7 instance 0 users


OsmoSTP(config)# do show cs7 m3ua
xUA server for m3ua/sctp on (::ffff:127.0.0.2|::ffff:127.0.0.1|::1):2905 is listening

OsmoSTP(config)# cs7 instance 0

OsmoSTP(config-cs7)# no asp unknown-asp
No ASP named 'unknown-asp' found

OsmoSTP(config-cs7)# no asp my-asp
DLSS7 <000c> osmo_ss7_asp.c:578 0: asp-my-asp: Destroying ASP


OsmoSTP(config-cs7)# do show cs7 instance 0 asp
ASP Name      AS Name       State          Type  Role  SCTP Role  Local Addresses          Remote Addresses
------------  ------------  -------------  ----  ----  ---------  -----------------------  -----------------------

OsmoSTP(config-cs7)# do show cs7 instance 0 as all
                          Routing    Routing Key                          Cic   Cic   Traffic
AS Name      State        Context    Dpc           Si   Opc           Ssn Min   Max   Mode
------------ ------------ ---------- ------------- ---- ------------- --- ----- ----- -------
my-ass       AS_DOWN      0          3.2.1                                             override


OsmoSTP(config-cs7)# do show cs7 instance 0 sccp timers
SS7 instance 0 has no SCCP initialized

OsmoSTP(config-cs7)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 as my-ass m3ua
  routing-key 0 3.2.1
 route-table system
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
cs7 instance 1
 route-table system
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end

OsmoSTP(config-cs7)# sccp-timer ias 5
DLSS7 <000c> osmo_ss7.c:412 0: Creating SCCP instance
DLSCCP <000d> sccp_user.c:110 Binding user 'SCCP Management' to SSN=1 PC=(no PC)

OsmoSTP(config-cs7)# do show cs7 instance 0 sccp timers
sccp-timer conn_est 60
sccp-timer ias 5
sccp-timer iar 900
sccp-timer rel 10
sccp-timer repeat_rel 10
sccp-timer int 60
sccp-timer guard 1380
sccp-timer reset 10
sccp-timer reassembly 10
OsmoSTP(config-cs7)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 as my-ass m3ua
  routing-key 0 3.2.1
 route-table system
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
 sccp-timer ias 5
cs7 instance 1
 route-table system
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end

OsmoSTP(config-cs7)# sccp-timer ias 420

OsmoSTP(config-cs7)# do show cs7 instance 0 sccp timers
sccp-timer conn_est 60
sccp-timer ias 420
sccp-timer iar 900
sccp-timer rel 10
sccp-timer repeat_rel 10
sccp-timer int 60
sccp-timer guard 1380
sccp-timer reset 10
sccp-timer reassembly 10
OsmoSTP(config-cs7)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 as my-ass m3ua
  routing-key 0 3.2.1
 route-table system
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
cs7 instance 1
 route-table system
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end

OsmoSTP(config-cs7)# sccp-timer?
  sccp-timer  Configure SCCP timer values, see ITU-T Q.714

OsmoSTP(config-cs7)# sccp-timer ?
  conn_est    Waiting for connection confirm message, 1 to 2 minutes (default: 60)
  ias         Send keep-alive: on an idle connection, delay before sending an Idle Timer message, 5 to 10 minutes (default: 420)
  iar         Receive keep-alive: on an idle connection, delay until considering a connection as stale, 11 to 21 minutes (default: 900)
  rel         Waiting for release complete message, 10 to 20 seconds (default: 10)
  repeat_rel  Waiting for release complete message; or to repeat sending released message after the initial expiry, 10 to 20 seconds (default: 10)
  int         Waiting for release complete message; or to release connection resources, freeze the LRN and alert a maintenance function after the initial expiry, extending to 1 minute (default: 60)
  guard       Waiting to resume normal procedure for temporary connection sections during the restart procedure, 23 to 25 minutes (default: 1380)
  reset       Waiting to release temporary connection section or alert maintenance function after reset request message is sent, 10 to 20 seconds (default: 10)
  reassembly  Waiting to receive all the segments of the remaining segments, single segmented message after receiving the first segment, 10 to 20 seconds (default: 10)

OsmoSTP(config-cs7)# sccp-timer conn_est ?
  <1-999999>  Timer value, in seconds

OsmoSTP(config-cs7)# sccp ?
  max-optional-data  Adjust the upper bound for the optional data length (the payload) for CR, CC, CREF and RLSD messages. For any Optional Data part larger than this value in octets, send CR, CC, CREF and RLSD messages without any payload, and send the data payload in a separate Data Form 1 message. ITU-T Q.713 sections 4.2 thru 4.5 define a limit of 130 bytes for the 'Data' parameter. This limit can be adjusted here. May be useful for interop with nonstandard SCCP peers.

OsmoSTP(config-cs7)# sccp max-optional-data ?
  <0-999999>  Set a non-standard maximum allowed number of bytes
  standard    Use the ITU-T Q.713 4.2 to 4.5 standard value of 130

OsmoSTP(config-cs7)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 as my-ass m3ua
  routing-key 0 3.2.1
 route-table system
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
cs7 instance 1
 route-table system
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end

OsmoSTP(config-cs7)# sccp max-optional-data 0

OsmoSTP(config-cs7)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 as my-ass m3ua
  routing-key 0 3.2.1
 route-table system
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
 sccp max-optional-data 0
cs7 instance 1
 route-table system
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end

OsmoSTP(config-cs7)# sccp max-optional-data 123

OsmoSTP(config-cs7)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 as my-ass m3ua
  routing-key 0 3.2.1
 route-table system
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
 sccp max-optional-data 123
cs7 instance 1
 route-table system
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end

OsmoSTP(config-cs7)# sccp max-optional-data 999999

OsmoSTP(config-cs7)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 as my-ass m3ua
  routing-key 0 3.2.1
 route-table system
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
 sccp max-optional-data 999999
cs7 instance 1
 route-table system
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end

OsmoSTP(config-cs7)# sccp max-optional-data standard

OsmoSTP(config-cs7)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 as my-ass m3ua
  routing-key 0 3.2.1
 route-table system
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
cs7 instance 1
 route-table system
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end

OsmoSTP(config-cs7)# sccp max-optional-data 130

OsmoSTP(config-cs7)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 as my-ass m3ua
  routing-key 0 3.2.1
 route-table system
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
cs7 instance 1
 route-table system
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end

OsmoSTP(config-cs7)# route-table system

OsmoSTP(config-cs7-rt)# list
  help
  list [with-flags]
  show vty-attributes
  show vty-attributes (application|library|global)
  write terminal
  write file [PATH]
  write memory
  write
  show running-config
  exit
  end
  description .TEXT
  update route POINT_CODE MASK linkset LS_NAME [priority] [(<1-9>|default)] [qos-class] [(<0-7>|default)]
  remove route POINT_CODE MASK
OsmoSTP(config-cs7-rt)# update route 3.2.1 7.255.7 linkset my-ass
DLSS7 <000c> osmo_ss7_route.c:126 0: Creating route: pc=6161=3.2.1 mask=0x3fff via AS 'my-ass'

OsmoSTP(config-cs7-rt)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 as my-ass m3ua
  routing-key 0 3.2.1
 route-table system
  update route 3.2.1 7.255.7 linkset my-ass
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
cs7 instance 1
 route-table system
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end
OsmoSTP(config-cs7-rt)# remove route 3.2.1 7.255.7
DLSS7 <000c> osmo_ss7_route.c:247 0: Destroying route: pc=6161=3.2.1 mask=0x3fff via linkset/ASP 'my-ass'

OsmoSTP(config-cs7-rt)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 as my-ass m3ua
  routing-key 0 3.2.1
 route-table system
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
cs7 instance 1
 route-table system
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end
OsmoSTP(config-cs7-rt)# update route 3.2.1 7.255.7 linkset my-ass priority default
DLSS7 <000c> osmo_ss7_route.c:126 0: Creating route: pc=6161=3.2.1 mask=0x3fff via AS 'my-ass'

OsmoSTP(config-cs7-rt)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 as my-ass m3ua
  routing-key 0 3.2.1
 route-table system
  update route 3.2.1 7.255.7 linkset my-ass
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
cs7 instance 1
 route-table system
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end
OsmoSTP(config-cs7-rt)# remove route 3.2.1 7.255.7
DLSS7 <000c> osmo_ss7_route.c:247 0: Destroying route: pc=6161=3.2.1 mask=0x3fff via linkset/ASP 'my-ass'

OsmoSTP(config-cs7-rt)# update route 3.2.1 7.255.7 linkset my-ass priority 5
DLSS7 <000c> osmo_ss7_route.c:126 0: Creating route: pc=6161=3.2.1 mask=0x3fff via AS 'my-ass'

OsmoSTP(config-cs7-rt)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 as my-ass m3ua
  routing-key 0 3.2.1
 route-table system
  update route 3.2.1 7.255.7 linkset my-ass
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
cs7 instance 1
 route-table system
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end
OsmoSTP(config-cs7-rt)# remove route 3.2.1 7.255.7
DLSS7 <000c> osmo_ss7_route.c:247 0: Destroying route: pc=6161=3.2.1 mask=0x3fff via linkset/ASP 'my-ass'

OsmoSTP(config-cs7-rt)# update route 3.2.1 7.255.7 linkset my-ass priority 6
DLSS7 <000c> osmo_ss7_route.c:126 0: Creating route: pc=6161=3.2.1 mask=0x3fff via AS 'my-ass'

OsmoSTP(config-cs7-rt)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 as my-ass m3ua
  routing-key 0 3.2.1
 route-table system
  update route 3.2.1 7.255.7 linkset my-ass priority 6
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
cs7 instance 1
 route-table system
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end
OsmoSTP(config-cs7-rt)# remove route 3.2.1 7.255.7
DLSS7 <000c> osmo_ss7_route.c:247 0: Destroying route: pc=6161=3.2.1 mask=0x3fff via linkset/ASP 'my-ass'

OsmoSTP(config-cs7-rt)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 as my-ass m3ua
  routing-key 0 3.2.1
 route-table system
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
cs7 instance 1
 route-table system
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end
OsmoSTP(config-cs7-rt)# update route 3.2.1 7.255.7 linkset my-ass priority 6 qos-class 1
DLSS7 <000c> osmo_ss7_route.c:126 0: Creating route: pc=6161=3.2.1 mask=0x3fff via AS 'my-ass'

OsmoSTP(config-cs7-rt)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 as my-ass m3ua
  routing-key 0 3.2.1
 route-table system
  update route 3.2.1 7.255.7 linkset my-ass priority 6 qos-class 1
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
cs7 instance 1
 route-table system
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end
OsmoSTP(config-cs7-rt)# remove route 3.2.1 7.255.7
DLSS7 <000c> osmo_ss7_route.c:247 0: Destroying route: pc=6161=3.2.1 mask=0x3fff via linkset/ASP 'my-ass'

OsmoSTP(config-cs7-rt)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 1
 logging print category 1
 logging print thread-id 0
 logging timestamp 0
 logging print file 1
 logging level lglobal notice
 logging level llapd notice
 logging level linp notice
 logging level lmux notice
 logging level lmi notice
 logging level lmib notice
 logging level lsms notice
 logging level lctrl notice
 logging level lgtp notice
 logging level lstats notice
 logging level lgsup notice
 logging level loap notice
 logging level lss7 info
 logging level lsccp info
 logging level lsua info
 logging level lm3ua info
 logging level lmgcp notice
 logging level ljibuf notice
 logging level lrspro notice
 logging level lns notice
 logging level lbssgp notice
 logging level lnsdata notice
 logging level lnssignal notice
 logging level liuup notice
 logging level lpfcp notice
 logging level lcsn1 notice
 logging level lio notice
!
stats interval 5
!
line vty
 no login
!
cs7 instance 0
 xua rkm routing-key-allocation dynamic-permitted
 as my-ass m3ua
  routing-key 0 3.2.1
 route-table system
 listen m3ua 2905
  local-ip 127.0.0.2
  local-ip 127.0.0.1
  local-ip ::1
  accept-asp-connections dynamic-permitted
 sccp-address foo
  routing-indicator PC
  point-code 1.2.3
cs7 instance 1
 route-table system
 sccp-address bar
  routing-indicator PC
  point-code 1.2.3
end
OsmoSTP(config-cs7-rt)# update route 3.2.1 7.255.7 linkset my-ass priority
% Incomplete command (missing an argument?)
Copyright (C) 2015-2020 by Harald Welte <laforge@gnumonks.org>
Contributions by Holger Freyther, Neels Hofmeyr, Pau Espin, Vadim Yanitskiy
License GPLv2+: GNU GPL Version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Free Software lives by contribution.  If you use this, please contribute!

signal 15 received

RESULTS:
pass: ./osmo_stp_route_prio.vty
pass: ./osmo_stp_test.vty

make[8]: Leaving directory '/build/tests/vty'
make[7]: Leaving directory '/build/tests/vty'
make[6]: Leaving directory '/build/tests/vty'
osmotestvty.py -p /build -w /build -v
test_history (__main__.TestVTY.test_history) ... confpath /build, workdir /build
Running tests for specific VTY commands
Launch: ./stp/osmo-stp -c /build/doc/examples/osmo-stp.cfg from /build
Opening /dev/null
Launching: PWD=/build './stp/osmo-stp' '-c' '/build/doc/examples/osmo-stp.cfg'

> ls -l /proc/37794/fd
total 0
lr-x------ 1 build build 64 Nov  5 12:48 0 -> pipe:[93621043]
l-wx------ 1 build build 64 Nov  5 12:48 1 -> pipe:[93621044]
l-wx------ 1 build build 64 Nov  5 12:48 2 -> pipe:[93621045]
l-wx------ 1 build build 64 Nov  5 12:48 3 -> /dev/null


> ss -tn
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess


> ss -tln
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess


> ps xua | grep osmo
build      37794 76.9  0.0  27876 23080 ?        S    12:48   0:00 /usr/bin/python3 /usr/local/bin/osmotestvty.py -p /build -w /build -v
build      37795  0.0  0.0 21474891072 10476 ?   R    12:48   0:00 /build/stp/.libs/osmo-stp -c /build/doc/examples/osmo-stp.cfg
build      37815  0.0  0.0   2576   908 ?        S    12:48   0:00 /bin/sh -c ps xua | grep osmo
build      37817  0.0  0.0   3700  1808 ?        S    12:48   0:00 grep osmo

ok
test_terminal_length (__main__.TestVTY.test_terminal_length) ... Connecting socket failed, retrying...
Socket: in 2 tries, connected to 127.0.0.1:4239 <socket.socket fd=5, family=2, type=1, proto=0, laddr=('127.0.0.1', 59064), raddr=('127.0.0.1', 4239)> (1 sockets open)
Socket: closing 127.0.0.1:4239 <socket.socket fd=5, family=2, type=1, proto=0, laddr=('127.0.0.1', 59064), raddr=('127.0.0.1', 4239)> (0 sockets open)
Process returned code: 0
Launch: ./stp/osmo-stp -c /build/doc/examples/osmo-stp.cfg from /build
Launching: PWD=/build './stp/osmo-stp' '-c' '/build/doc/examples/osmo-stp.cfg'

> ls -l /proc/37794/fd
total 0
lr-x------ 1 build build 64 Nov  5 12:48 0 -> pipe:[93621043]
l-wx------ 1 build build 64 Nov  5 12:48 1 -> pipe:[93621044]
l-wx------ 1 build build 64 Nov  5 12:48 2 -> pipe:[93621045]
l-wx------ 1 build build 64 Nov  5 12:48 3 -> /dev/null


> ss -tn
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess


> ss -tln
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess


> ps xua | grep osmo
build      37794 26.1  0.0  27876 23080 ?        S    12:48   0:00 /usr/bin/python3 /usr/local/bin/osmotestvty.py -p /build -w /build -v
build      37819  0.0  0.0 21474889460 9588 ?    R    12:48   0:00 /build/stp/.libs/osmo-stp -c /build/doc/examples/osmo-stp.cfg
build      37839  0.0  0.0   2576   892 ?        S    12:48   0:00 /bin/sh -c ps xua | grep osmo
build      37841  0.0  0.0   3700  1788 ?        S    12:48   0:00 grep osmo

ok
test_unknown_command (__main__.TestVTY.test_unknown_command) ... Connecting socket failed, retrying...
Socket: in 2 tries, connected to 127.0.0.1:4239 <socket.socket fd=5, family=2, type=1, proto=0, laddr=('127.0.0.1', 41458), raddr=('127.0.0.1', 4239)> (1 sockets open)
Socket: closing 127.0.0.1:4239 <socket.socket fd=5, family=2, type=1, proto=0, laddr=('127.0.0.1', 41458), raddr=('127.0.0.1', 4239)> (0 sockets open)
Process returned code: 0
Launch: ./stp/osmo-stp -c /build/doc/examples/osmo-stp.cfg from /build
Launching: PWD=/build './stp/osmo-stp' '-c' '/build/doc/examples/osmo-stp.cfg'

> ls -l /proc/37794/fd
total 0
lr-x------ 1 build build 64 Nov  5 12:48 0 -> pipe:[93621043]
l-wx------ 1 build build 64 Nov  5 12:48 1 -> pipe:[93621044]
l-wx------ 1 build build 64 Nov  5 12:48 2 -> pipe:[93621045]
l-wx------ 1 build build 64 Nov  5 12:48 3 -> /dev/null


> ss -tn
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess


> ss -tln
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess


> ps xua | grep osmo
build      37794 15.4  0.0  27876 23080 ?        S    12:48   0:00 /usr/bin/python3 /usr/local/bin/osmotestvty.py -p /build -w /build -v
build      37843  0.0  0.0 21474891072 10084 ?   R    12:48   0:00 /build/stp/.libs/osmo-stp -c /build/doc/examples/osmo-stp.cfg
build      37863  0.0  0.0   2576   916 ?        S    12:48   0:00 /bin/sh -c ps xua | grep osmo
build      37865  0.0  0.0   3700  1812 ?        S    12:48   0:00 grep osmo

ok

----------------------------------------------------------------------
Ran 3 tests in 0.866s

OK
Connecting socket failed, retrying...
Socket: in 2 tries, connected to 127.0.0.1:4239 <socket.socket fd=5, family=2, type=1, proto=0, laddr=('127.0.0.1', 41478), raddr=('127.0.0.1', 4239)> (1 sockets open)
Socket: closing 127.0.0.1:4239 <socket.socket fd=5, family=2, type=1, proto=0, laddr=('127.0.0.1', 41478), raddr=('127.0.0.1', 4239)> (0 sockets open)
Process returned code: 0
osmotestconfig.py -p /build -w /build -v
Verifying stp/osmo-stp -c /build/doc/examples/osmo-stp.cfg, test verify_doc
Opening /dev/null
Launching: PWD=/build 'stp/osmo-stp' '-c' '/build/doc/examples/osmo-stp.cfg'

> ls -l /proc/37867/fd
total 0
lr-x------ 1 build build 64 Nov  5 12:48 0 -> pipe:[93621043]
l-wx------ 1 build build 64 Nov  5 12:48 1 -> pipe:[93621044]
l-wx------ 1 build build 64 Nov  5 12:48 2 -> pipe:[93621045]
l-wx------ 1 build build 64 Nov  5 12:48 3 -> /dev/null


> ss -tn
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess


> ss -tln
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess


> ps xua | grep osmo
build      37867 76.9  0.0  27996 23064 ?        S    12:48   0:00 /usr/bin/python3 /usr/local/bin/osmotestconfig.py -p /build -w /build -v
build      37868  0.0  0.0 21474889460 9820 ?    R    12:48   0:00 /build/stp/.libs/osmo-stp -c /build/doc/examples/osmo-stp.cfg
build      37888  0.0  0.0   2576   880 ?        S    12:48   0:00 /bin/sh -c ps xua | grep osmo
build      37890  0.0  0.0   3700  1724 ?        S    12:48   0:00 grep osmo

Connecting socket failed, retrying...
Socket: in 2 tries, connected to 127.0.0.1:4239 <socket.socket fd=5, family=2, type=1, proto=0, laddr=('127.0.0.1', 41504), raddr=('127.0.0.1', 4239)> (1 sockets open)
Process returned code: 0
Socket: closing 127.0.0.1:4239 <socket.socket fd=5, family=2, type=1, proto=0, laddr=('127.0.0.1', 41504), raddr=('127.0.0.1', 4239)> (0 sockets open)
Verifying stp/osmo-stp -c /build/writtenconfig/osmo-stp.cfgdl2prxam, test write_config
Launching: PWD=/build 'stp/osmo-stp' '-c' '/build/writtenconfig/osmo-stp.cfgdl2prxam'

> ls -l /proc/37867/fd
total 0
lr-x------ 1 build build 64 Nov  5 12:48 0 -> pipe:[93621043]
l-wx------ 1 build build 64 Nov  5 12:48 1 -> pipe:[93621044]
l-wx------ 1 build build 64 Nov  5 12:48 2 -> pipe:[93621045]
l-wx------ 1 build build 64 Nov  5 12:48 3 -> /dev/null


> ss -tn
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess


> ss -tln
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess


> ps xua | grep osmo
build      37867 25.5  0.0  28300 23708 ?        S    12:48   0:00 /usr/bin/python3 /usr/local/bin/osmotestconfig.py -p /build -w /build -v
build      37892 50.0  0.0 21474891304 16708 ?   R    12:48   0:00 /build/stp/.libs/osmo-stp -c /build/writtenconfig/osmo-stp.cfgdl2prxam
build      37912  0.0  0.0   2576   916 ?        S    12:48   0:00 /bin/sh -c ps xua | grep osmo
build      37914  0.0  0.0   3700  1820 ?        S    12:48   0:00 grep osmo

Connecting socket failed, retrying...
Socket: in 2 tries, connected to 127.0.0.1:4239 <socket.socket fd=5, family=2, type=1, proto=0, laddr=('127.0.0.1', 41516), raddr=('127.0.0.1', 4239)> (1 sockets open)
Process returned code: 0
Socket: closing 127.0.0.1:4239 <socket.socket fd=5, family=2, type=1, proto=0, laddr=('127.0.0.1', 41516), raddr=('127.0.0.1', 4239)> (0 sockets open)
Verifying stp/osmo-stp -c /build/writtenconfig/osmo-stp.cfgdl2prxam, test token_vty_command
Launching: PWD=/build 'stp/osmo-stp' '-c' '/build/writtenconfig/osmo-stp.cfgdl2prxam'

> ls -l /proc/37867/fd
total 0
lr-x------ 1 build build 64 Nov  5 12:48 0 -> pipe:[93621043]
l-wx------ 1 build build 64 Nov  5 12:48 1 -> pipe:[93621044]
l-wx------ 1 build build 64 Nov  5 12:48 2 -> pipe:[93621045]
l-wx------ 1 build build 64 Nov  5 12:48 3 -> /dev/null


> ss -tn
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess


> ss -tln
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess


> ps xua | grep osmo
build      37867 15.4  0.0  28300 23708 ?        S    12:48   0:00 /usr/bin/python3 /usr/local/bin/osmotestconfig.py -p /build -w /build -v
build      37916  0.0  0.0  40452  8816 ?        R    12:48   0:00 /build/stp/.libs/osmo-stp -c /build/writtenconfig/osmo-stp.cfgdl2prxam
build      37936  0.0  0.0   2576   940 ?        S    12:48   0:00 /bin/sh -c ps xua | grep osmo
build      37938  0.0  0.0   3700  1712 ?        S    12:48   0:00 grep osmo

Connecting socket failed, retrying...
Socket: in 2 tries, connected to 127.0.0.1:4239 <socket.socket fd=5, family=2, type=1, proto=0, laddr=('127.0.0.1', 41520), raddr=('127.0.0.1', 4239)> (1 sockets open)
Process returned code: 0
Socket: closing 127.0.0.1:4239 <socket.socket fd=5, family=2, type=1, proto=0, laddr=('127.0.0.1', 41520), raddr=('127.0.0.1', 4239)> (0 sockets open)
Verifying stp/osmo-stp -c /build/doc/examples/osmo-stp-multihome.cfg, test verify_doc
Launching: PWD=/build 'stp/osmo-stp' '-c' '/build/doc/examples/osmo-stp-multihome.cfg'

> ls -l /proc/37867/fd
total 0
lr-x------ 1 build build 64 Nov  5 12:48 0 -> pipe:[93621043]
l-wx------ 1 build build 64 Nov  5 12:48 1 -> pipe:[93621044]
l-wx------ 1 build build 64 Nov  5 12:48 2 -> pipe:[93621045]
l-wx------ 1 build build 64 Nov  5 12:48 3 -> /dev/null


> ss -tn
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess


> ss -tln
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess


> ps xua | grep osmo
build      37867 10.8  0.0  28300 23708 ?        S    12:48   0:00 /usr/bin/python3 /usr/local/bin/osmotestconfig.py -p /build -w /build -v
build      37940  0.0  0.0  40452  8764 ?        R    12:48   0:00 /build/stp/.libs/osmo-stp -c /build/doc/examples/osmo-stp-multihome.cfg
build      37960  0.0  0.0   2576   884 ?        S    12:48   0:00 /bin/sh -c ps xua | grep osmo
build      37962  0.0  0.0   3700  1748 ?        S    12:48   0:00 grep osmo

Connecting socket failed, retrying...
Socket: in 2 tries, connected to 127.0.0.1:4239 <socket.socket fd=5, family=2, type=1, proto=0, laddr=('127.0.0.1', 41524), raddr=('127.0.0.1', 4239)> (1 sockets open)
Process returned code: 0
Socket: closing 127.0.0.1:4239 <socket.socket fd=5, family=2, type=1, proto=0, laddr=('127.0.0.1', 41524), raddr=('127.0.0.1', 4239)> (0 sockets open)
Verifying stp/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfgfknn3t5p, test write_config
Launching: PWD=/build 'stp/osmo-stp' '-c' '/build/writtenconfig/osmo-stp-multihome.cfgfknn3t5p'

> ls -l /proc/37867/fd
total 0
lr-x------ 1 build build 64 Nov  5 12:48 0 -> pipe:[93621043]
l-wx------ 1 build build 64 Nov  5 12:48 1 -> pipe:[93621044]
l-wx------ 1 build build 64 Nov  5 12:48 2 -> pipe:[93621045]
l-wx------ 1 build build 64 Nov  5 12:48 3 -> /dev/null


> ss -tn
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess


> ss -tln
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess


> ps xua | grep osmo
build      37867  8.4  0.0  28300 23708 ?        S    12:48   0:00 /usr/bin/python3 /usr/local/bin/osmotestconfig.py -p /build -w /build -v
build      37964  0.0  0.0  40452  8788 ?        R    12:48   0:00 /build/stp/.libs/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfgfknn3t5p
build      37984  0.0  0.0   2576   892 ?        S    12:48   0:00 /bin/sh -c ps xua | grep osmo
build      37986  0.0  0.0   3700  1820 ?        S    12:48   0:00 grep osmo

Connecting socket failed, retrying...
Socket: in 2 tries, connected to 127.0.0.1:4239 <socket.socket fd=5, family=2, type=1, proto=0, laddr=('127.0.0.1', 41540), raddr=('127.0.0.1', 4239)> (1 sockets open)
Process returned code: 0
Socket: closing 127.0.0.1:4239 <socket.socket fd=5, family=2, type=1, proto=0, laddr=('127.0.0.1', 41540), raddr=('127.0.0.1', 4239)> (0 sockets open)
Verifying stp/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfgfknn3t5p, test token_vty_command
Launching: PWD=/build 'stp/osmo-stp' '-c' '/build/writtenconfig/osmo-stp-multihome.cfgfknn3t5p'

> ls -l /proc/37867/fd
total 0
lr-x------ 1 build build 64 Nov  5 12:48 0 -> pipe:[93621043]
l-wx------ 1 build build 64 Nov  5 12:48 1 -> pipe:[93621044]
l-wx------ 1 build build 64 Nov  5 12:48 2 -> pipe:[93621045]
l-wx------ 1 build build 64 Nov  5 12:48 3 -> /dev/null


> ss -tn
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess


> ss -tln
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess


> ps xua | grep osmo
build      37867  6.8  0.0  28300 23708 ?        S    12:48   0:00 /usr/bin/python3 /usr/local/bin/osmotestconfig.py -p /build -w /build -v
build      37988  0.0  0.0 21474891304 16420 ?   R    12:48   0:00 /build/stp/.libs/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfgfknn3t5p
build      38008  0.0  0.0   2576   932 ?        S    12:48   0:00 /bin/sh -c ps xua | grep osmo
build      38010  0.0  0.0   3700  1736 ?        S    12:48   0:00 grep osmo

Connecting socket failed, retrying...
Socket: in 2 tries, connected to 127.0.0.1:4239 <socket.socket fd=5, family=2, type=1, proto=0, laddr=('127.0.0.1', 41568), raddr=('127.0.0.1', 4239)> (1 sockets open)
Process returned code: 0
Socket: closing 127.0.0.1:4239 <socket.socket fd=5, family=2, type=1, proto=0, laddr=('127.0.0.1', 41568), raddr=('127.0.0.1', 4239)> (0 sockets open)
make[5]: Leaving directory '/build/tests/vty'
make[4]: Leaving directory '/build/tests/vty'
make[3]: Leaving directory '/build/tests/vty'
make[3]: Entering directory '/build/tests'
make  check-local
make[4]: Entering directory '/build/tests'
:;{ \
               echo '# Signature of the current package.' && \
               echo 'm4_define([AT_PACKAGE_NAME],' && \
               echo '  [libosmo-sigtran])' && \
               echo 'm4_define([AT_PACKAGE_TARNAME],' && \
               echo '  [libosmo-sigtran])' && \
               echo 'm4_define([AT_PACKAGE_VERSION],' && \
               echo '  [2.0.0.28-d128])' && \
               echo 'm4_define([AT_PACKAGE_STRING],' && \
               echo '  [libosmo-sigtran 2.0.0.28-d128])' && \
               echo 'm4_define([AT_PACKAGE_BUGREPORT],' && \
               echo '  [openbsc@lists.osmocom.org])'; \
               echo 'm4_define([AT_PACKAGE_URL],' && \
               echo '  [])'; \
             } >'./package.m4'
/bin/bash ../missing --run autom4te --language=autotest -I '.' -o testsuite.tmp testsuite.at
mv testsuite.tmp testsuite
/bin/bash './testsuite' 
## ----------------------------------------- ##
## libosmo-sigtran 2.0.0.28-d128 test suite. ##
## ----------------------------------------- ##

Regression tests.

  1: m2ua                                            ok
  2: xua                                             ok
  3: ss7                                             ok

## ------------- ##
## Test results. ##
## ------------- ##

All 3 tests were successful.
make[4]: Leaving directory '/build/tests'
make[3]: Leaving directory '/build/tests'
make[2]: Leaving directory '/build/tests'
Making check in examples
make[2]: Entering directory '/build/examples'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/build/examples'
Making check in stp
make[2]: Entering directory '/build/stp'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/build/stp'
Making check in doc
make[2]: Entering directory '/build/doc'
Making check in examples
make[3]: Entering directory '/build/doc/examples'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/build/doc/examples'
Making check in manuals
make[3]: Entering directory '/build/doc/manuals'
if [ -n "$ASCIIDOC_WARNINGS_CHECK" ]; then \
	make osmostp-usermanual.check; \
fi
make[4]: Entering directory '/build/doc/manuals'
if ! [ -f osmostp-usermanual.adoc ]; then \
	ln -s osmostp-usermanual.adoc osmostp-usermanual.adoc; \
fi
asciidoc -v -f /opt/osmo-gsm-manuals/build/mscgen-filter.conf -f /opt/osmo-gsm-manuals/build/diag-filter.conf -f /opt/osmo-gsm-manuals/build/docinfo-releaseinfo.conf -f /opt/osmo-gsm-manuals/build/graphviz-filter.conf -a srcdir='/build/doc/manuals' -a commondir='/opt/osmo-gsm-manuals/common'  osmostp-usermanual.adoc > osmostp-usermanual.check 2>&1
touch osmostp-usermanual.check
make[4]: Leaving directory '/build/doc/manuals'
make[3]: Leaving directory '/build/doc/manuals'
make[3]: Entering directory '/build/doc'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/build/doc'
make[2]: Leaving directory '/build/doc'
Making check in contrib
make[2]: Entering directory '/build/contrib'
Making check in systemd
make[3]: Entering directory '/build/contrib/systemd'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/build/contrib/systemd'
make[3]: Entering directory '/build/contrib'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/build/contrib'
make[2]: Leaving directory '/build/contrib'
make[2]: Entering directory '/build'
make[2]: Nothing to be done for 'check-am'.
make[2]: Leaving directory '/build'
make[1]: Leaving directory '/build'
+ DISTCHECK_CONFIGURE_FLAGS=--enable-external-tests --enable-manuals make -j 4 distcheck
make  dist-bzip2 dist-gzip am__post_remove_distdir='@:'
make[1]: Entering directory '/build'
make  distdir-am
make[2]: Entering directory '/build'
if test -d "libosmo-sigtran-2.0.0.28-d128"; then find "libosmo-sigtran-2.0.0.28-d128" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "libosmo-sigtran-2.0.0.28-d128" || { sleep 5 && rm -rf "libosmo-sigtran-2.0.0.28-d128"; }; else :; fi
test -d "libosmo-sigtran-2.0.0.28-d128" || mkdir "libosmo-sigtran-2.0.0.28-d128"
 (cd include && make  top_distdir=../libosmo-sigtran-2.0.0.28-d128 distdir=../libosmo-sigtran-2.0.0.28-d128/include \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/build/include'
make  distdir-am
make[4]: Entering directory '/build/include'
 (cd osmocom && make  top_distdir=../../libosmo-sigtran-2.0.0.28-d128 distdir=../../libosmo-sigtran-2.0.0.28-d128/include/osmocom \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[5]: Entering directory '/build/include/osmocom'
make  distdir-am
make[6]: Entering directory '/build/include/osmocom'
 (cd sccp && make  top_distdir=../../../libosmo-sigtran-2.0.0.28-d128 distdir=../../../libosmo-sigtran-2.0.0.28-d128/include/osmocom/sccp \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[7]: Entering directory '/build/include/osmocom/sccp'
make  distdir-am
make[8]: Entering directory '/build/include/osmocom/sccp'
make[8]: Leaving directory '/build/include/osmocom/sccp'
make[7]: Leaving directory '/build/include/osmocom/sccp'
 (cd sigtran && make  top_distdir=../../../libosmo-sigtran-2.0.0.28-d128 distdir=../../../libosmo-sigtran-2.0.0.28-d128/include/osmocom/sigtran \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[7]: Entering directory '/build/include/osmocom/sigtran'
make  distdir-am
make[8]: Entering directory '/build/include/osmocom/sigtran'
make[8]: Leaving directory '/build/include/osmocom/sigtran'
make[7]: Leaving directory '/build/include/osmocom/sigtran'
make[6]: Leaving directory '/build/include/osmocom'
make[5]: Leaving directory '/build/include/osmocom'
make[4]: Leaving directory '/build/include'
make[3]: Leaving directory '/build/include'
 (cd src && make  top_distdir=../libosmo-sigtran-2.0.0.28-d128 distdir=../libosmo-sigtran-2.0.0.28-d128/src \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/build/src'
make  distdir-am
make[4]: *** No rule to make target 'osmo_ss7_user.h', needed by 'distdir-am'.  Stop.
make[4]: Entering directory '/build/src'
make[4]: Leaving directory '/build/src'
make[3]: *** [Makefile:688: distdir] Error 2
make[3]: Leaving directory '/build/src'
make[2]: *** [Makefile:605: distdir-am] Error 1
make[2]: Leaving directory '/build'
make[1]: *** [Makefile:599: distdir] Error 2
make[1]: Leaving directory '/build'
make: *** [Makefile:707: dist] Error 2
+ cat-testlogs.sh
Build step 'Execute shell' marked build as failure
Finished: FAILURE