Skip to content

Console Output

Skipping 451 KB.. Full Log
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.9.0... yes
checking for libosmogsm >= 1.9.0... yes
checking for egrep... (cached) /usr/bin/grep -E
CFLAGS=" -std=gnu11"
CPPFLAGS=""
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libosmo-gtlv.pc
config.status: creating libosmo-pfcp.pc
config.status: creating include/Makefile
config.status: creating include/osmocom/Makefile
config.status: creating include/osmocom/gtlv/Makefile
config.status: creating include/osmocom/pfcp/Makefile
config.status: creating src/Makefile
config.status: creating src/libosmo-gtlv/Makefile
config.status: creating src/libosmo-pfcp/Makefile
config.status: creating tests/Makefile
config.status: creating tests/atlocal
config.status: creating tests/libosmo-gtlv/Makefile
config.status: creating tests/libosmo-gtlv/test_gtlv_gen/Makefile
config.status: creating tests/libosmo-gtlv/test_tliv/Makefile
config.status: creating tests/libosmo-pfcp/Makefile
config.status: creating doc/Makefile
config.status: creating doc/charts/Makefile
config.status: creating contrib/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --with-systemdsystemunitdir
+ [ -n  ]
+ make -j 12 install
echo 0.3.0.5-1ffb > .version-t && mv .version-t .version
make  install-recursive
make[1]: Entering directory '/build/deps/libosmo-pfcp'
Making install in include
make[2]: Entering directory '/build/deps/libosmo-pfcp/include'
Making install in osmocom
make[3]: Entering directory '/build/deps/libosmo-pfcp/include/osmocom'
Making install in gtlv
make[4]: Entering directory '/build/deps/libosmo-pfcp/include/osmocom/gtlv'
make[5]: Entering directory '/build/deps/libosmo-pfcp/include/osmocom/gtlv'
make[5]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/build/deps/install/stow/libosmo-pfcp/include/osmocom/gtlv'
 /usr/bin/install -c -m 644 gtlv.h gtlv_dec_enc.h gtlv_gen.h '/build/deps/install/stow/libosmo-pfcp/include/osmocom/gtlv'
make[5]: Leaving directory '/build/deps/libosmo-pfcp/include/osmocom/gtlv'
make[4]: Leaving directory '/build/deps/libosmo-pfcp/include/osmocom/gtlv'
Making install in pfcp
make[4]: Entering directory '/build/deps/libosmo-pfcp/include/osmocom/pfcp'
make -C ../../../src/libosmo-gtlv
make[5]: Entering directory '/build/deps/libosmo-pfcp/src/libosmo-gtlv'
  CC       gtlv.lo
  CC       gtlv_dec_enc.lo
  CC       gtlv_gen.lo
  CCLD     libosmo-gtlv.la
make[5]: Leaving directory '/build/deps/libosmo-pfcp/src/libosmo-gtlv'
make -C ../../../src/libosmo-pfcp gen__pfcp_ies_auto
make[5]: Entering directory '/build/deps/libosmo-pfcp/src/libosmo-pfcp'
  CC       gen__pfcp_ies_auto.o
  CCLD     gen__pfcp_ies_auto
make[5]: Leaving directory '/build/deps/libosmo-pfcp/src/libosmo-pfcp'
../../../src/libosmo-pfcp/gen__pfcp_ies_auto h > ./pfcp_ies_auto.h
make  install-am
make[5]: Entering directory '/build/deps/libosmo-pfcp/include/osmocom/pfcp'
make[6]: Entering directory '/build/deps/libosmo-pfcp/include/osmocom/pfcp'
make[6]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/build/deps/install/stow/libosmo-pfcp/include/osmocom/pfcp'
 /usr/bin/install -c -m 644 pfcp_endpoint.h pfcp_ies_custom.h pfcp_ies_auto.h pfcp_msg.h pfcp_proto.h pfcp_strs.h pfcp_cp_peer.h '/build/deps/install/stow/libosmo-pfcp/include/osmocom/pfcp'
make[6]: Leaving directory '/build/deps/libosmo-pfcp/include/osmocom/pfcp'
make[5]: Leaving directory '/build/deps/libosmo-pfcp/include/osmocom/pfcp'
make[4]: Leaving directory '/build/deps/libosmo-pfcp/include/osmocom/pfcp'
make[4]: Entering directory '/build/deps/libosmo-pfcp/include/osmocom'
make[5]: Entering directory '/build/deps/libosmo-pfcp/include/osmocom'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory '/build/deps/libosmo-pfcp/include/osmocom'
make[4]: Leaving directory '/build/deps/libosmo-pfcp/include/osmocom'
make[3]: Leaving directory '/build/deps/libosmo-pfcp/include/osmocom'
make[3]: Entering directory '/build/deps/libosmo-pfcp/include'
make[4]: Entering directory '/build/deps/libosmo-pfcp/include'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/build/deps/libosmo-pfcp/include'
make[3]: Leaving directory '/build/deps/libosmo-pfcp/include'
make[2]: Leaving directory '/build/deps/libosmo-pfcp/include'
Making install in src
make[2]: Entering directory '/build/deps/libosmo-pfcp/src'
Making install in libosmo-gtlv
make[3]: Entering directory '/build/deps/libosmo-pfcp/src/libosmo-gtlv'
make[4]: Entering directory '/build/deps/libosmo-pfcp/src/libosmo-gtlv'
make[4]: Nothing to be done for 'install-data-am'.
 /usr/bin/mkdir -p '/build/deps/install/stow/libosmo-pfcp/lib'
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c   libosmo-gtlv.la '/build/deps/install/stow/libosmo-pfcp/lib'
libtool: install: /usr/bin/install -c .libs/libosmo-gtlv.so.1.0.0 /build/deps/install/stow/libosmo-pfcp/lib/libosmo-gtlv.so.1.0.0
libtool: install: (cd /build/deps/install/stow/libosmo-pfcp/lib && { ln -s -f libosmo-gtlv.so.1.0.0 libosmo-gtlv.so.1 || { rm -f libosmo-gtlv.so.1 && ln -s libosmo-gtlv.so.1.0.0 libosmo-gtlv.so.1; }; })
libtool: install: (cd /build/deps/install/stow/libosmo-pfcp/lib && { ln -s -f libosmo-gtlv.so.1.0.0 libosmo-gtlv.so || { rm -f libosmo-gtlv.so && ln -s libosmo-gtlv.so.1.0.0 libosmo-gtlv.so; }; })
libtool: install: /usr/bin/install -c .libs/libosmo-gtlv.lai /build/deps/install/stow/libosmo-pfcp/lib/libosmo-gtlv.la
libtool: install: /usr/bin/install -c .libs/libosmo-gtlv.a /build/deps/install/stow/libosmo-pfcp/lib/libosmo-gtlv.a
libtool: install: chmod 644 /build/deps/install/stow/libosmo-pfcp/lib/libosmo-gtlv.a
libtool: install: ranlib /build/deps/install/stow/libosmo-pfcp/lib/libosmo-gtlv.a
libtool: finish: PATH="/build/deps/install/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /build/deps/install/stow/libosmo-pfcp/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /build/deps/install/stow/libosmo-pfcp/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[4]: Leaving directory '/build/deps/libosmo-pfcp/src/libosmo-gtlv'
make[3]: Leaving directory '/build/deps/libosmo-pfcp/src/libosmo-gtlv'
Making install in libosmo-pfcp
make[3]: Entering directory '/build/deps/libosmo-pfcp/src/libosmo-pfcp'
make -C ../../src/libosmo-gtlv
make[4]: Entering directory '/build/deps/libosmo-pfcp/src/libosmo-gtlv'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/deps/libosmo-pfcp/src/libosmo-gtlv'
make gen__pfcp_ies_auto
make[4]: Entering directory '/build/deps/libosmo-pfcp/src/libosmo-pfcp'
make[4]: 'gen__pfcp_ies_auto' is up to date.
make[4]: Leaving directory '/build/deps/libosmo-pfcp/src/libosmo-pfcp'
./gen__pfcp_ies_auto c > ./pfcp_ies_auto.c
make  install-am
make[4]: Entering directory '/build/deps/libosmo-pfcp/src/libosmo-pfcp'
  CC       pfcp_endpoint.lo
  CC       pfcp_ies_custom.lo
  CC       pfcp_msg.lo
  CC       pfcp_strs.lo
  CC       pfcp_cp_peer.lo
  CC       pfcp_ies_auto.lo
  CCLD     libosmo-pfcp.la
make[5]: Entering directory '/build/deps/libosmo-pfcp/src/libosmo-pfcp'
make[5]: Nothing to be done for 'install-data-am'.
 /usr/bin/mkdir -p '/build/deps/install/stow/libosmo-pfcp/lib'
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c   libosmo-pfcp.la '/build/deps/install/stow/libosmo-pfcp/lib'
libtool: warning: relinking 'libosmo-pfcp.la'
libtool: install: (cd /build/deps/libosmo-pfcp/src/libosmo-pfcp; /bin/bash "/build/deps/libosmo-pfcp/libtool"  --silent --tag CC --mode=relink gcc -Wall -I/build/deps/install/stow/libosmocore/include/ -pthread -I/build/deps/install/stow/libosmocore/include/ -pthread -std=gnu11 -version-info 2:0:2 -no-undefined -export-symbols-regex "^osmo_" -o libosmo-pfcp.la -rpath /build/deps/install/stow/libosmo-pfcp/lib pfcp_endpoint.lo pfcp_ies_custom.lo pfcp_msg.lo pfcp_strs.lo pfcp_cp_peer.lo pfcp_ies_auto.lo ../../src/libosmo-gtlv/libosmo-gtlv.la -L/build/deps/install/stow/libosmocore/lib -losmocore -ltalloc -lmnl -L/build/deps/install/stow/libosmocore/lib -losmogsm -losmoisdn -losmocore -ltalloc -lmnl )
libtool: install: /usr/bin/install -c .libs/libosmo-pfcp.so.0.2.0T /build/deps/install/stow/libosmo-pfcp/lib/libosmo-pfcp.so.0.2.0
libtool: install: (cd /build/deps/install/stow/libosmo-pfcp/lib && { ln -s -f libosmo-pfcp.so.0.2.0 libosmo-pfcp.so.0 || { rm -f libosmo-pfcp.so.0 && ln -s libosmo-pfcp.so.0.2.0 libosmo-pfcp.so.0; }; })
libtool: install: (cd /build/deps/install/stow/libosmo-pfcp/lib && { ln -s -f libosmo-pfcp.so.0.2.0 libosmo-pfcp.so || { rm -f libosmo-pfcp.so && ln -s libosmo-pfcp.so.0.2.0 libosmo-pfcp.so; }; })
libtool: install: /usr/bin/install -c .libs/libosmo-pfcp.lai /build/deps/install/stow/libosmo-pfcp/lib/libosmo-pfcp.la
libtool: install: /usr/bin/install -c .libs/libosmo-pfcp.a /build/deps/install/stow/libosmo-pfcp/lib/libosmo-pfcp.a
libtool: install: chmod 644 /build/deps/install/stow/libosmo-pfcp/lib/libosmo-pfcp.a
libtool: install: ranlib /build/deps/install/stow/libosmo-pfcp/lib/libosmo-pfcp.a
libtool: finish: PATH="/build/deps/install/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /build/deps/install/stow/libosmo-pfcp/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /build/deps/install/stow/libosmo-pfcp/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[5]: Leaving directory '/build/deps/libosmo-pfcp/src/libosmo-pfcp'
make[4]: Leaving directory '/build/deps/libosmo-pfcp/src/libosmo-pfcp'
make[3]: Leaving directory '/build/deps/libosmo-pfcp/src/libosmo-pfcp'
make[3]: Entering directory '/build/deps/libosmo-pfcp/src'
make[4]: Entering directory '/build/deps/libosmo-pfcp/src'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/build/deps/libosmo-pfcp/src'
make[3]: Leaving directory '/build/deps/libosmo-pfcp/src'
make[2]: Leaving directory '/build/deps/libosmo-pfcp/src'
Making install in tests
make[2]: Entering directory '/build/deps/libosmo-pfcp/tests'
Making install in libosmo-gtlv
make[3]: Entering directory '/build/deps/libosmo-pfcp/tests/libosmo-gtlv'
Making install in test_gtlv_gen
make[4]: Entering directory '/build/deps/libosmo-pfcp/tests/libosmo-gtlv/test_gtlv_gen'
  CC       gen__myproto_ies_auto.o
  CC       myproto_ies_custom.o
  CCLD     gen__myproto_ies_auto
./gen__myproto_ies_auto h > ./myproto_ies_auto.h
./gen__myproto_ies_auto c > ./myproto_ies_auto.c
make  install-am
make[5]: Entering directory '/build/deps/libosmo-pfcp/tests/libosmo-gtlv/test_gtlv_gen'
make[6]: Entering directory '/build/deps/libosmo-pfcp/tests/libosmo-gtlv/test_gtlv_gen'
make[6]: Nothing to be done for 'install-exec-am'.
make[6]: Nothing to be done for 'install-data-am'.
make[6]: Leaving directory '/build/deps/libosmo-pfcp/tests/libosmo-gtlv/test_gtlv_gen'
make[5]: Leaving directory '/build/deps/libosmo-pfcp/tests/libosmo-gtlv/test_gtlv_gen'
make[4]: Leaving directory '/build/deps/libosmo-pfcp/tests/libosmo-gtlv/test_gtlv_gen'
Making install in test_tliv
make[4]: Entering directory '/build/deps/libosmo-pfcp/tests/libosmo-gtlv/test_tliv'
  CC       gen__myproto_ies_auto.o
  CC       myproto_ies_custom.o
  CCLD     gen__myproto_ies_auto
./gen__myproto_ies_auto h > ./myproto_ies_auto.h
./gen__myproto_ies_auto c > ./myproto_ies_auto.c
make  install-am
make[5]: Entering directory '/build/deps/libosmo-pfcp/tests/libosmo-gtlv/test_tliv'
make[6]: Entering directory '/build/deps/libosmo-pfcp/tests/libosmo-gtlv/test_tliv'
make[6]: Nothing to be done for 'install-exec-am'.
make[6]: Nothing to be done for 'install-data-am'.
make[6]: Leaving directory '/build/deps/libosmo-pfcp/tests/libosmo-gtlv/test_tliv'
make[5]: Leaving directory '/build/deps/libosmo-pfcp/tests/libosmo-gtlv/test_tliv'
make[4]: Leaving directory '/build/deps/libosmo-pfcp/tests/libosmo-gtlv/test_tliv'
make[4]: Entering directory '/build/deps/libosmo-pfcp/tests/libosmo-gtlv'
make[5]: Entering directory '/build/deps/libosmo-pfcp/tests/libosmo-gtlv'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory '/build/deps/libosmo-pfcp/tests/libosmo-gtlv'
make[4]: Leaving directory '/build/deps/libosmo-pfcp/tests/libosmo-gtlv'
make[3]: Leaving directory '/build/deps/libosmo-pfcp/tests/libosmo-gtlv'
Making install in libosmo-pfcp
make[3]: Entering directory '/build/deps/libosmo-pfcp/tests/libosmo-pfcp'
make[4]: Entering directory '/build/deps/libosmo-pfcp/tests/libosmo-pfcp'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/build/deps/libosmo-pfcp/tests/libosmo-pfcp'
make[3]: Leaving directory '/build/deps/libosmo-pfcp/tests/libosmo-pfcp'
make[3]: Entering directory '/build/deps/libosmo-pfcp/tests'
make[4]: Entering directory '/build/deps/libosmo-pfcp/tests'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/build/deps/libosmo-pfcp/tests'
make[3]: Leaving directory '/build/deps/libosmo-pfcp/tests'
make[2]: Leaving directory '/build/deps/libosmo-pfcp/tests'
Making install in doc
make[2]: Entering directory '/build/deps/libosmo-pfcp/doc'
Making install in charts
make[3]: Entering directory '/build/deps/libosmo-pfcp/doc/charts'
make[4]: Entering directory '/build/deps/libosmo-pfcp/doc/charts'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/build/deps/libosmo-pfcp/doc/charts'
make[3]: Leaving directory '/build/deps/libosmo-pfcp/doc/charts'
make[3]: Entering directory '/build/deps/libosmo-pfcp/doc'
make[4]: Entering directory '/build/deps/libosmo-pfcp/doc'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/build/deps/libosmo-pfcp/doc'
make[3]: Leaving directory '/build/deps/libosmo-pfcp/doc'
make[2]: Leaving directory '/build/deps/libosmo-pfcp/doc'
Making install in contrib
make[2]: Entering directory '/build/deps/libosmo-pfcp/contrib'
make[3]: Entering directory '/build/deps/libosmo-pfcp/contrib'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/build/deps/libosmo-pfcp/contrib'
make[2]: Leaving directory '/build/deps/libosmo-pfcp/contrib'
make[2]: Entering directory '/build/deps/libosmo-pfcp'
make[3]: Entering directory '/build/deps/libosmo-pfcp'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/build/deps/install/stow/libosmo-pfcp/lib/pkgconfig'
 /usr/bin/install -c -m 644 libosmo-gtlv.pc libosmo-pfcp.pc '/build/deps/install/stow/libosmo-pfcp/lib/pkgconfig'
make[3]: Leaving directory '/build/deps/libosmo-pfcp'
make[2]: Leaving directory '/build/deps/libosmo-pfcp'
make[1]: Leaving directory '/build/deps/libosmo-pfcp'
+ STOW_DIR=/build/deps/install/stow stow --restow libosmo-pfcp
+ CONFIG=' --enable-pfcp'
+ '[' 1 = 1 ']'
+ CONFIG=' --enable-pfcp --enable-nftables'
+ '[' 1 = 1 ']'
+ CONFIG=' --enable-pfcp --enable-nftables --enable-manuals'
+ set +x



 =============================== osmo-hnbgw ===============================

+ cd /build
+ autoreconf --install --force
aclocal: warning: couldn't open directory 'm4': No such file or directory
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
configure.ac:84: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:84: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:84: the top level
configure.ac:132: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:132: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:132: the top level
configure.ac:153: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:153: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:153: the top level
configure.ac:232: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.ac:232: You should use the 'AC_CONFIG_HEADERS' macro instead.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:1089: AM_CONFIG_HEADER is expanded from...
configure.ac:232: the top level
configure.ac:234: warning: AC_OUTPUT should be used without arguments.
configure.ac:234: You should run autoupdate.
configure.ac:23: installing './compile'
configure.ac:25: installing './config.guess'
configure.ac:25: installing './config.sub'
configure.ac:9: installing './install-sh'
configure.ac:9: installing './missing'
doc/charts/Makefile.am:10: warning: '%'-style pattern rules are a GNU make extension
doc/charts/Makefile.am:13: warning: '%'-style pattern rules are a GNU make extension
doc/charts/Makefile.am:18: warning: ':='-style assignments are not portable
src/osmo-hnbgw/Makefile.am: installing './depcomp'
+ ./configure --enable-sanitize --enable-external-tests --enable-werror --enable-pfcp --enable-nftables --enable-manuals
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
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 library containing sctp_recvmsg... -lsctp
checking for libasn1c >= 0.9.30... yes
checking for libosmocore >= 1.9.0... yes
checking for libosmovty >= 1.9.0... yes
checking for libosmoctrl >= 1.9.0... yes
checking for libosmogsm >= 1.9.0... yes
checking for libosmo-netif >= 1.4.0... yes
checking for libosmo-sigtran >= 1.8.0... yes
checking for libosmo-rua >= 1.5.0... yes
checking for libosmo-ranap >= 1.5.0... yes
checking for libosmo-hnbap >= 1.5.0... yes
checking for libosmo-mgcp-client >= 1.12.0... yes
checking for libosmo-pfcp >= 0.3.0... yes
checking for libnftables >= 1.0.2... yes
checking for egrep... (cached) /usr/bin/grep -E
checking if gcc supports -fvisibility=hidden... yes
checking whether to enable code coverage support... no
checking for python3... yes
checking for osmotestvty.py... yes
checking whether to enable VTY/CTRL tests... yes
checking for OSMO_GSM_MANUALS_DIR... /opt/osmo-gsm-manuals (from env)
All dependencies installed!
CFLAGS=" -std=gnu11 -fsanitize=address -fsanitize=undefined -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations -Wno-error=cpp"
CPPFLAGS=" -fsanitize=address -fsanitize=undefined -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations -Wno-error=cpp"
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating include/osmocom/Makefile
config.status: creating include/osmocom/hnbgw/Makefile
config.status: creating src/Makefile
config.status: creating src/osmo-hnbgw/Makefile
config.status: creating tests/Makefile
config.status: creating tests/atlocal
config.status: creating tests/ranap_rab_ass/Makefile
config.status: creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating doc/manuals/Makefile
config.status: creating doc/charts/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/systemd/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
+ make -j 12
echo 1.5.0.64-4c2b > .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 hnbgw
make[4]: Entering directory '/build/include/osmocom/hnbgw'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/include/osmocom/hnbgw'
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'
Making all in osmo-hnbgw
make[3]: Entering directory '/build/src/osmo-hnbgw'
  CC       osmo_hnbgw_main.o
  CC       hnbgw.lo
  CC       hnbgw_hnbap.lo
  CC       hnbgw_l3.lo
  CC       hnbgw_rua.lo
  CC       hnbgw_ranap.lo
  CC       context_map.lo
  CC       hnbgw_vty.lo
  CC       context_map_rua.lo
  CC       context_map_sccp.lo
  CC       hnbgw_cn.lo
  CC       cnlink.lo
  CC       ranap_rab_ass.lo
  CC       mgw_fsm.lo
  CC       kpi_dtap.lo
  CC       kpi_ranap.lo
mgw_fsm.c: In function 'mgw_fsm_crcx_hnb_onenter':
mgw_fsm.c:180:9: warning: 'codecs' is deprecated: use ptmap[i].codec instead [-Wdeprecated-declarations]
  180 |         mgw_info.codecs[0] = CODEC_IUFP;
      |         ^~~~~~~~
In file included from /build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_endpoint_fsm.h:4,
                 from mgw_fsm.c:48:
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:33:26: note: declared here
   33 |         enum mgcp_codecs codecs[MGCP_MAX_CODECS]
      |                          ^~~~~~
mgw_fsm.c:181:9: warning: 'codecs_len' is deprecated: use ptmap[] and ptmap_len instead [-Wdeprecated-declarations]
  181 |         mgw_info.codecs_len = 1;
      |         ^~~~~~~~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:35:22: note: declared here
   35 |         unsigned int codecs_len
      |                      ^~~~~~~~~~
mgw_fsm.c: In function 'mgw_fsm_mdcx_hnb_onenter':
mgw_fsm.c:368:9: warning: 'codecs' is deprecated: use ptmap[i].codec instead [-Wdeprecated-declarations]
  368 |         mgw_info.codecs[0] = CODEC_IUFP;
      |         ^~~~~~~~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:33:26: note: declared here
   33 |         enum mgcp_codecs codecs[MGCP_MAX_CODECS]
      |                          ^~~~~~
mgw_fsm.c:369:9: warning: 'codecs_len' is deprecated: use ptmap[] and ptmap_len instead [-Wdeprecated-declarations]
  369 |         mgw_info.codecs_len = 1;
      |         ^~~~~~~~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:35:22: note: declared here
   35 |         unsigned int codecs_len
      |                      ^~~~~~~~~~
mgw_fsm.c: In function 'mgw_fsm_crcx_msc_onenter':
mgw_fsm.c:452:9: warning: 'codecs' is deprecated: use ptmap[i].codec instead [-Wdeprecated-declarations]
  452 |         mgw_info.codecs[0] = CODEC_IUFP;
      |         ^~~~~~~~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:33:26: note: declared here
   33 |         enum mgcp_codecs codecs[MGCP_MAX_CODECS]
      |                          ^~~~~~
mgw_fsm.c:453:9: warning: 'codecs_len' is deprecated: use ptmap[] and ptmap_len instead [-Wdeprecated-declarations]
  453 |         mgw_info.codecs_len = 1;
      |         ^~~~~~~~
/build/deps/install/stow/osmo-mgw/include/osmocom/mgcp_client/mgcp_client_fsm.h:35:22: note: declared here
   35 |         unsigned int codecs_len
      |                      ^~~~~~~~~~
  CC       tdefs.lo
  CC       nft_kpi.lo
  CC       hnbgw_pfcp.lo
  CC       ps_rab_ass_fsm.lo
  CC       ps_rab_fsm.lo
  CCLD     libhnbgw.la
  CCLD     osmo-hnbgw
make[3]: Leaving directory '/build/src/osmo-hnbgw'
make[3]: Entering directory '/build/src'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build/src'
make[2]: Leaving directory '/build/src'
Making all in tests
make[2]: Entering directory '/build/tests'
Making all in ranap_rab_ass
make[3]: Entering directory '/build/tests/ranap_rab_ass'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/tests/ranap_rab_ass'
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 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 osmohnbgw-vty-reference.xml
if ! [ -f osmohnbgw-usermanual.adoc ]; then \
	ln -s osmohnbgw-usermanual.adoc osmohnbgw-usermanual.adoc; \
fi
../../src/osmo-hnbgw/osmo-hnbgw --vty-ref-xml > vty/hnbgw_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 1.5.0-64-g4c2b" -a revdate="2024-Mar-22" osmohnbgw-usermanual.adoc
rate_ctr.c:86 validating counter group 0x558787e2e440(iucs) with 3 counters
rate_ctr.c:86 validating counter group 0x558787e2e480(iups) with 3 counters
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
+ mktemp
+ combined=/tmp/tmp.qztvjonGYc
+ mktemp
+ combine_src=/tmp/tmp.5hp25tXOvY
+ cp ./vty/hnbgw_vty_reference.xml /tmp/tmp.qztvjonGYc
+ [ -n /opt/osmo-gsm-manuals/common/vty_additions.xml ]
+ realpath /opt/osmo-gsm-manuals/common/vty_additions.xml
+ addition=/opt/osmo-gsm-manuals/common/vty_additions.xml
+ shift
+ cp /tmp/tmp.qztvjonGYc /tmp/tmp.5hp25tXOvY
+ xsltproc -o /tmp/tmp.qztvjonGYc --stringparam with /opt/osmo-gsm-manuals/common/vty_additions.xml /opt/osmo-gsm-manuals/merge_doc.xsl /tmp/tmp.5hp25tXOvY
asciidoc: reading: /etc/asciidoc/asciidoc.conf
asciidoc: reading: /opt/osmo-gsm-manuals/build/mscgen-filter.conf
asciidoc: reading: /opt/osmo-gsm-manuals/build/diag-filter.conf
+ [ -n ./vty/hnbgw_vty_additions.xml ]
+ realpath ./vty/hnbgw_vty_additions.xml
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
+ addition=/build/doc/manuals/vty/hnbgw_vty_additions.xml
+ shift
+ cp /tmp/tmp.qztvjonGYc /tmp/tmp.5hp25tXOvY
+ xsltproc -o /tmp/tmp.qztvjonGYc --stringparam with /build/doc/manuals/vty/hnbgw_vty_additions.xml /opt/osmo-gsm-manuals/merge_doc.xsl /tmp/tmp.5hp25tXOvY
+ [ -n  ]
+ cat /tmp/tmp.qztvjonGYc
+ rm -f /tmp/tmp.5hp25tXOvY
+ rm -f /tmp/tmp.qztvjonGYc
asciidoc: reading: /build/doc/manuals/osmohnbgw-usermanual.adoc
xsltproc /opt/osmo-gsm-manuals/vty_reference.xsl generated/combined.xml \
	> generated/docbook_vty.xml
asciidoc: reading: /etc/asciidoc/docbook45.conf
asciidoc: reading: /etc/asciidoc/filters/music/music-filter.conf
asciidoc: reading: /etc/asciidoc/filters/latex/latex-filter.conf
asciidoc: reading: /etc/asciidoc/filters/code/code-filter.conf
asciidoc: reading: /etc/asciidoc/filters/source/source-highlight-filter.conf
asciidoc: reading: /etc/asciidoc/filters/graphviz/graphviz-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
set -x && \
export GIT_DATE="2023-Nov-30" && \
export REVNUMBER="DRAFT 1.5.0-64-g4c2b" && \
export TEMPFILE="/build/doc/manuals/generated/_temp_osmohnbgw-vty-reference.xml" && \
/opt/osmo-gsm-manuals/build/docbook-set-revhistory.py "osmohnbgw-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 osmohnbgw-vty-reference.pdf \
	"$TEMPFILE" && \
rm $TEMPFILE
+ export GIT_DATE=2023-Nov-30
+ GIT_DATE=2023-Nov-30
+ export 'REVNUMBER=DRAFT 1.5.0-64-g4c2b'
+ REVNUMBER='DRAFT 1.5.0-64-g4c2b'
+ export TEMPFILE=/build/doc/manuals/generated/_temp_osmohnbgw-vty-reference.xml
+ TEMPFILE=/build/doc/manuals/generated/_temp_osmohnbgw-vty-reference.xml
+ /opt/osmo-gsm-manuals/build/docbook-set-revhistory.py osmohnbgw-vty-reference.xml
asciidoc: writing: /build/doc/manuals/osmohnbgw-usermanual.xml
asciidoc: osmohnbgw-usermanual.adoc: line 6: evaluating: {include:/build/doc/manuals/osmohnbgw-usermanual-docinfo.xml}
asciidoc: include: /build/doc/manuals/common/chapters/preface.adoc
asciidoc: osmohnbgw-usermanual.adoc: line 9: reading: /build/doc/manuals/common/chapters/preface.adoc
Changing revhistory to DRAFT 1.5.0-64-g4c2b, 2023-Nov-30...
+ 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 osmohnbgw-vty-reference.pdf /build/doc/manuals/generated/_temp_osmohnbgw-vty-reference.xml
asciidoc: include: /build/doc/manuals/chapters/overview.adoc
asciidoc: osmohnbgw-usermanual.adoc: line 11: reading: /build/doc/manuals/chapters/overview.adoc
asciidoc: overview.adoc: line 18: evaluating: {counter2:target-number}
asciidoc: overview.adoc: line 18: evaluating: {set2:target:osmohnbgw-usermanual__1.svg}
asciidoc: overview.adoc: line 67: filtering: dot -o "/build/doc/manuals/osmohnbgw-usermanual__1.svg" -T svg && echo " "
Build the book set list...
asciidoc: include: /build/doc/manuals/chapters/running.adoc
asciidoc: osmohnbgw-usermanual.adoc: line 13: reading: /build/doc/manuals/chapters/running.adoc
asciidoc: include: /build/doc/manuals/common/chapters/vty.adoc
asciidoc: osmohnbgw-usermanual.adoc: line 21: reading: /build/doc/manuals/common/chapters/vty.adoc
Build the listings...
asciidoc: include: /build/doc/manuals/common/chapters/logging.adoc
asciidoc: osmohnbgw-usermanual.adoc: line 23: reading: /build/doc/manuals/common/chapters/logging.adoc
asciidoc: include: /build/doc/manuals/common/chapters/sigtran.adoc
asciidoc: osmohnbgw-usermanual.adoc: line 25: reading: /build/doc/manuals/common/chapters/sigtran.adoc
asciidoc: include: /build/doc/manuals/common/chapters/cs7-config.adoc
asciidoc: osmohnbgw-usermanual.adoc: line 27: reading: /build/doc/manuals/common/chapters/cs7-config.adoc
XSLT stylesheets DocBook - LaTeX 2e (0.3.12)
===================================================
Stripping NS from DocBook 5/NG document.
Processing stripped document.
asciidoc: include: /build/doc/manuals/common/chapters/mgwpool.adoc
asciidoc: osmohnbgw-usermanual.adoc: line 29: reading: /build/doc/manuals/common/chapters/mgwpool.adoc
asciidoc: include: /build/doc/manuals/common/chapters/port_numbers.adoc
asciidoc: osmohnbgw-usermanual.adoc: line 35: reading: /build/doc/manuals/common/chapters/port_numbers.adoc
asciidoc: include: /build/doc/manuals/common/chapters/bibliography.adoc
asciidoc: osmohnbgw-usermanual.adoc: line 37: reading: /build/doc/manuals/common/chapters/bibliography.adoc
asciidoc: include: /build/doc/manuals/common/chapters/glossary.adoc
asciidoc: osmohnbgw-usermanual.adoc: line 39: reading: /build/doc/manuals/common/chapters/glossary.adoc
Build _temp_osmohnbgw-vty-reference.pdf
asciidoc: include: /build/doc/manuals/common/chapters/gfdl.adoc
asciidoc: osmohnbgw-usermanual.adoc: line 41: reading: /build/doc/manuals/common/chapters/gfdl.adoc
'osmohnbgw-vty-reference.pdf' successfully built
+ rm /build/doc/manuals/generated/_temp_osmohnbgw-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 1.5.0-64-g4c2b', '-a', 'revdate=2024-Mar-22', 'osmohnbgw-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 1.5.0-64-g4c2b'), ('--attribute', 'revdate=2024-Mar-22'), ('--verbose',), ('--backend', 'docbook'), ('-a', 'a2x-format=pdf'), ('--out-file', '/build/doc/manuals/osmohnbgw-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/osmohnbgw-usermanual.xml"

Build the book set list...
xsltproc -o doclist.txt --xinclude --xincludestyle doclist.xsl /build/doc/manuals/osmohnbgw-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/osmohnbgw-usermanual.xml
xsltproc -o osmohnbgw-usermanual.rtex --xinclude --xincludestyle --param listings.xml '/tmp/tmpbqs432it/listings.xml' --param current.dir '/build/doc/manuals' /tmp/tmpbqs432it/custom.xsl /build/doc/manuals/osmohnbgw-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/osmohnbgw-usermanual__1.svg
Cannot convert './common/images/wireshark-gsmtap-log.png' to pdf
Build osmohnbgw-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 osmohnbgw-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/tmpbqs432it/osmohnbgw-usermanual.idx is empty
osmohnbgw-usermanual.aux MD5 checksum changed
osmohnbgw-usermanual.toc MD5 checksum changed
the /tmp/tmpbqs432it/osmohnbgw-usermanual.aux file has changed
pdflatex -interaction=batchmode osmohnbgw-usermanual.tex
running post-compilation scripts...
[index] the index file /tmp/tmpbqs432it/osmohnbgw-usermanual.idx is empty
osmohnbgw-usermanual.aux MD5 checksum changed
the /tmp/tmpbqs432it/osmohnbgw-usermanual.aux file has changed but no re-run required?
no new compilation is needed
running last-compilation scripts...
'osmohnbgw-usermanual.pdf' successfully built

a2x: deleting /build/doc/manuals/osmohnbgw-usermanual.xml
make[3]: Leaving directory '/build/doc/manuals'
Making all in charts
make[3]: Entering directory '/build/doc/charts'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/doc/charts'
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'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/build'
make[1]: Leaving directory '/build'
+ LD_LIBRARY_PATH=/build/deps/install/lib
+ make 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 hnbgw
make[4]: Entering directory '/build/include/osmocom/hnbgw'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/build/include/osmocom/hnbgw'
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'
Making check in osmo-hnbgw
make[3]: Entering directory '/build/src/osmo-hnbgw'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/build/src/osmo-hnbgw'
make[3]: Entering directory '/build/src'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/build/src'
make[2]: Leaving directory '/build/src'
Making check in tests
make[2]: Entering directory '/build/tests'
Making check in ranap_rab_ass
make[3]: Entering directory '/build/tests/ranap_rab_ass'
make  ranap_rab_ass_test
make[4]: Entering directory '/build/tests/ranap_rab_ass'
  CC       ranap_rab_ass_test.o
  CCLD     ranap_rab_ass_test
make[4]: Leaving directory '/build/tests/ranap_rab_ass'
make[3]: Leaving directory '/build/tests/ranap_rab_ass'
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 '  [osmo-hnbgw])' && \
               echo 'm4_define([AT_PACKAGE_TARNAME],' && \
               echo '  [osmo-hnbgw])' && \
               echo 'm4_define([AT_PACKAGE_VERSION],' && \
               echo '  [1.5.0.64-4c2b])' && \
               echo 'm4_define([AT_PACKAGE_STRING],' && \
               echo '  [osmo-hnbgw 1.5.0.64-4c2b])' && \
               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' 
## ------------------------------------ ##
## osmo-hnbgw 1.5.0.64-4c2b test suite. ##
## ------------------------------------ ##
  1: ranap_rab_ass                                   ok

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

1 test was successful.
make  python-tests
make[5]: Entering directory '/build/tests'
make vty-test
make[6]: Entering directory '/build/tests'
osmo_verify_transcript_vty.py -v \
	-n OsmoHNBGW -p 4261 \
	-r "../src/osmo-hnbgw/osmo-hnbgw \
	-c ./osmo-hnbgw-vty-test.cfg" \
	 ./*.vty*
rate_ctr.c:86 validating counter group 0x5594d9112440(iucs) with 3 counters
rate_ctr.c:86 validating counter group 0x5594d9112480(iups) with 3 counters
20240522222244371 DLGLOBAL NOTICE Available via telnet 127.0.0.1 4261 (telnet_interface.c:88)
20240522222244371 DLCTRL NOTICE CTRL at 127.0.0.1 4262 (control_if.c:1024)
20240522222244371 DHNBAP NOTICE Using RNC-Id 23 (osmo_hnbgw_main.c:300)
20240522222244371 DMAIN NOTICE Listening for Iuh at 0.0.0.0 29169 (osmo_hnbgw_main.c:303)
20240522222244371 DLMGCP NOTICE MGW(mgw) MGCP client: using endpoint domain '@mgw' (mgcp_client.c:932)
20240522222244371 DMGW NOTICE MGW pool with 1 pool members configured, (ignoring MGW configuration in VTY node 'mgcp'). (hnbgw.c:886)
20240522222244371 DLPFCP NOTICE No UPF configured, NOT setting up PFCP, NOT mapping GTP via UPF (hnbgw_pfcp.c:74)
20240522222244371 DLSCCP ERROR SS7 instance 0: no primary point-code set, using default point-code (sccp_user.c:560)
20240522222244371 DLSCCP NOTICE msc-0: Using SS7 instance 0, pc:0.23.5 (sccp_user.c:566)
20240522222244371 DLSCCP NOTICE msc-0: Creating AS instance (sccp_user.c:573)
20240522222244371 DLSCCP NOTICE msc-0: Using AS instance as-clnt-msc-0 (sccp_user.c:584)
20240522222244371 DLSCCP NOTICE msc-0: Creating default route (sccp_user.c:590)
20240522222244371 DLSCCP NOTICE msc-0: No unassociated ASP for m3ua, creating new ASP asp-clnt-msc-0 (sccp_user.c:629)
20240522222244371 DLGLOBAL ERROR Trying to dispatch event 17 to non-existent FSM instance! (osmo_ss7_as.c:118)
20240522222244371 DLGLOBAL ERROR backtrace() returned 13 addresses (backtrace.c:42)
20240522222244371 DLGLOBAL ERROR 	/build/deps/install/lib/libosmocore.so.21(+0x1210f) [0x7fea0be9c10f] (backtrace.c:53)
20240522222244371 DLGLOBAL ERROR 	/build/deps/install/lib/libosmocore.so.21(osmo_log_backtrace+0x20) [0x7fea0be9c343] (backtrace.c:53)
20240522222244371 DLGLOBAL ERROR 	/build/deps/install/lib/libosmocore.so.21(_osmo_fsm_inst_dispatch+0x140) [0x7fea0bea6b21] (backtrace.c:53)
20240522222244371 DLGLOBAL ERROR 	/build/deps/install/lib/libosmo-sigtran.so.9(osmo_ss7_as_add_asp+0x1f5) [0x7fea0c48f5f7] (backtrace.c:53)
20240522222244371 DLGLOBAL ERROR 	/build/deps/install/lib/libosmo-sigtran.so.9(osmo_sccp_simple_client_on_ss7_id+0xa7f) [0x7fea0c4b0fc5] (backtrace.c:53)
20240522222244371 DLGLOBAL ERROR 	../src/osmo-hnbgw/osmo-hnbgw(+0x18b45a) [0x5594d904745a] (backtrace.c:53)
20240522222244371 DLGLOBAL ERROR 	../src/osmo-hnbgw/osmo-hnbgw(+0x18c8c3) [0x5594d90488c3] (backtrace.c:53)
20240522222244371 DLGLOBAL ERROR 	../src/osmo-hnbgw/osmo-hnbgw(+0x18ca96) [0x5594d9048a96] (backtrace.c:53)
20240522222244371 DLGLOBAL ERROR 	../src/osmo-hnbgw/osmo-hnbgw(+0x13168e) [0x5594d8fed68e] (backtrace.c:53)
20240522222244371 DLGLOBAL ERROR 	/lib/x86_64-linux-gnu/libc.so.6(+0x2724a) [0x7fea0b67a24a] (backtrace.c:53)
20240522222244371 DLGLOBAL ERROR 	/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7fea0b67a305] (backtrace.c:53)
20240522222244371 DLGLOBAL ERROR 	../src/osmo-hnbgw/osmo-hnbgw(+0x12f6e1) [0x5594d8feb6e1] (backtrace.c:53)
20240522222244371 DLSCCP NOTICE msc-0: Using ASP instance asp-clnt-msc-0 (sccp_user.c:699)
20240522222244371 DLSS7 NOTICE 0: Creating SCCP instance (osmo_ss7.c:408)
20240522222244371 DCN NOTICE (msc-0) created SCCP instance on cs7 instance 0 (hnbgw_cn.c:880)
20240522222244371 DCN NOTICE (msc-0) using: cs7-0 0.23.5 <-> 0.23.1 msc-0 (default remote point-code) (hnbgw_cn.c:795)
20240522222244371 DCN NOTICE (sgsn-0) using: cs7-0 0.23.5 <-> 0.23.4 sgsn-0 (default remote point-code) (hnbgw_cn.c:795)
20240522222244371 DLMGCP ERROR MGW(mgw) Failed to read: r=127.0.0.1:2427<->l=127.0.0.1:2729: -111='Unknown error -111' (mgcp_client.c:789)
20240522222244373 DRANAP ERROR (sgsn-0) No local PLMN is configured, so outgoing RESET messages omit the mandatory Global RNC-ID IE. You should set a 'hnbgw' / 'plmn' in your config file (since v1.5) (cnlink.c:171)
20240522222244373 DLSS7 ERROR Unable to route HMRT message: the AS as-clnt-msc-0 is down (osmo_ss7_hmrt.c:232)
20240522222244373 DRANAP ERROR (msc-0) No local PLMN is configured, so outgoing RESET messages omit the mandatory Global RNC-ID IE. You should set a 'hnbgw' / 'plmn' in your config file (since v1.5) (cnlink.c:171)
20240522222244373 DLSS7 ERROR Unable to route HMRT message: the AS as-clnt-msc-0 is down (osmo_ss7_hmrt.c:232)
Launching: cd '/build/tests'; ../src/osmo-hnbgw/osmo-hnbgw -c ./osmo-hnbgw-vty-test.cfg
OsmoHNBGW> enable

OsmoHNBGW# 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
  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 cnlink
  show hnb all
  show hnb NAME 
  show ue all
  show talloc
  show fsm NAME
  show fsm all
  show fsm-state-graph NAME
  show fsm-instances NAME
  show fsm-instances all
  mgw <0-255> reconnect
  mgw <0-255> block
  mgw <0-255> unblock
  show mgw-pool
  show timer [(mgw|hnbgw|pfcp)] [TNNNN]
  show nri
  (msc|sgsn) <0-1000> ranap reset
  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 (main|hnbap|rua|ranap|mgw|hnb|cn|nft|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 (main|hnbap|rua|ranap|mgw|hnb|cn|nft|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 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
  show stats [skip-zero]
  show stats level (global|peer|subscriber) [skip-zero]
  show asciidoc counters
  show rate-counters [skip-zero]
  stats report
  stats reset
OsmoHNBGW# msc?
  msc  Manipulate an IuCS link to an MSC
OsmoHNBGW# msc ?
  <0-1000>  MSC/SGSN nr
OsmoHNBGW# msc 0 ?
  ranap  Manipulate RANAP layer of Iu-interface
OsmoHNBGW# msc 0 ranap ?
  reset  Flip this CN link to disconnected state and re-send RANAP RESET

OsmoHNBGW# sgsn?
  sgsn  Manipulate an IuPS link to an SGSN
OsmoHNBGW# sgsn ?
  <0-1000>  MSC/SGSN nr
OsmoHNBGW# sgsn 0 ?
  ranap  Manipulate RANAP layer of Iu-interface
OsmoHNBGW# sgsn 0 ranap ?
  reset  Flip this CN link to disconnected state and re-send RANAP RESET

OsmoHNBGW# configure terminal


OsmoHNBGW(config)# ### cnpool doc strings

OsmoHNBGW(config)# 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
  hostname WORD
  no hostname [HOSTNAME]
  password (8|) WORD
  password LINE
  enable password (8|) WORD
  enable password LINE
  no enable password
  banner motd default
  banner motd file [FILE]
  no banner motd
  service terminal-length <0-512>
  no service terminal-length [<0-512>]
  line vty
  service advanced-vty
  no service advanced-vty
  show history
  cs7 instance <0-15>
  hnbgw
  msc <0-1000>
  sgsn <0-1000>
  apply sccp
  ctrl
  log stderr [blocking-io]
  no log stderr
  log file FILENAME [blocking-io]
  no log file FILENAME
  log alarms <2-32700>
  no log alarms
  log syslog (authpriv|cron|daemon|ftp|lpr|mail|news|user|uucp)
  log syslog local <0-7>
  no log syslog
  log systemd-journal [raw]
  no log systemd-journal
  log gsmtap [HOSTNAME]
  no log gsmtap [HOSTNAME]
  stats reporter statsd [NAME]
  no stats reporter statsd [NAME]
  stats reporter log [NAME]
  no stats reporter log [NAME]
  stats interval <0-65535>
  stats-tcp interval <0-65535>
  stats-tcp batch-size <1-65535>

OsmoHNBGW(config)# apply?
  apply  Immediately use configuration modified via telnet VTY, and restart components as needed.

OsmoHNBGW(config)# apply ?
  sccp  For telnet VTY: apply all SCCP and NRI config changes made to any CN pools and CN links in the running osmo-hnbgw process. If 'remote-addr' changed, related SCCP links will be restarted, possibly dropping active UE contexts. This is run implicitly on program startup, only useful to apply changes made later via telnet VTY.

OsmoHNBGW(config)# hnbgw

OsmoHNBGW(config-hnbgw)# 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
  plmn <1-999> <0-999>
  rnc-id <0-65535>
  log-prefix (hnb-id|umts-cell-id)
  hnb-policy (accept-all|closed)
  iuh
  iucs
  iups
  hnb UMTS_CELL_ID
  no hnb IDENTITY_INFO
  nft-kpi [TABLE_NAME]
  no nft-kpi
  mgcp
  mgw <0-255>
  no mgw <0-255>
  pfcp
  timer [(mgw|hnbgw|pfcp)] [TNNNN] [(<0-2147483647>|default)]
OsmoHNBGW(config-hnbgw)# iucs?
  iucs  Configure IuCS options
OsmoHNBGW(config-hnbgw)# iups?
  iups  Configure IuPS options

OsmoHNBGW(config-hnbgw)# iucs


OsmoHNBGW(config-hnbgw-iucs)# 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
  nri bitlen <1-15>
  nri null add <0-32767> [<0-32767>]
  nri null del <0-32767> [<0-32767>]

OsmoHNBGW(config-hnbgw-iucs)# nri?
  nri  Mapping of Network Resource Indicators to this CN peer, for CN pooling

OsmoHNBGW(config-hnbgw-iucs)# nri ?
  bitlen  Set number of bits that an NRI has, to extract from TMSI identities (always starting just after the TMSI's most significant octet).
  null    Define NULL-NRI values that cause re-assignment of an MS to a different CN peer, for CN pooling.

OsmoHNBGW(config-hnbgw-iucs)# nri bitlen ?
  <1-15>  bit count (default: 10)

OsmoHNBGW(config-hnbgw-iucs)# nri null ?
  add  Add NULL-NRI value (or range)
  del  Remove NRI value or range from the NRI mapping for this CN link

OsmoHNBGW(config-hnbgw-iucs)# nri null add ?
  <0-32767>  First value of the NRI value range, should not surpass the configured 'nri bitlen'.

OsmoHNBGW(config-hnbgw-iucs)# nri null add 0 ?
  [<0-32767>]  Last value of the NRI value range, should not surpass the configured 'nri bitlen' and be larger than the first value; if omitted, apply only the first value.

OsmoHNBGW(config-hnbgw-iucs)# nri null del ?
  <0-32767>  First value of the NRI value range, should not surpass the configured 'nri bitlen'.

OsmoHNBGW(config-hnbgw-iucs)# nri null del 0 ?
  [<0-32767>]  Last value of the NRI value range, should not surpass the configured 'nri bitlen' and be larger than the first value; if omitted, apply only the first value.

OsmoHNBGW(config-hnbgw-iucs)# exit


OsmoHNBGW(config-hnbgw)# iups


OsmoHNBGW(config-hnbgw-iups)# 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
  nri bitlen <1-15>
  nri null add <0-32767> [<0-32767>]
  nri null del <0-32767> [<0-32767>]

OsmoHNBGW(config-hnbgw-iups)# nri?
  nri  Mapping of Network Resource Indicators to this CN peer, for CN pooling

OsmoHNBGW(config-hnbgw-iups)# nri ?
  bitlen  Set number of bits that an NRI has, to extract from TMSI identities (always starting just after the TMSI's most significant octet).
  null    Define NULL-NRI values that cause re-assignment of an MS to a different CN peer, for CN pooling.

OsmoHNBGW(config-hnbgw-iups)# nri bitlen ?
  <1-15>  bit count (default: 10)

OsmoHNBGW(config-hnbgw-iups)# nri null ?
  add  Add NULL-NRI value (or range)
  del  Remove NRI value or range from the NRI mapping for this CN link

OsmoHNBGW(config-hnbgw-iups)# nri null add ?
  <0-32767>  First value of the NRI value range, should not surpass the configured 'nri bitlen'.

OsmoHNBGW(config-hnbgw-iups)# nri null add 0 ?
  [<0-32767>]  Last value of the NRI value range, should not surpass the configured 'nri bitlen' and be larger than the first value; if omitted, apply only the first value.

OsmoHNBGW(config-hnbgw-iups)# nri null del ?
  <0-32767>  First value of the NRI value range, should not surpass the configured 'nri bitlen'.

OsmoHNBGW(config-hnbgw-iups)# nri null del 0 ?
  [<0-32767>]  Last value of the NRI value range, should not surpass the configured 'nri bitlen' and be larger than the first value; if omitted, apply only the first value.

OsmoHNBGW(config-hnbgw-iups)# exit

OsmoHNBGW(config-hnbgw)# exit


OsmoHNBGW(config)# msc?
  msc  Configure an IuCS link to an MSC
OsmoHNBGW(config)# msc ?
  <0-1000>  MSC nr

OsmoHNBGW(config)# sgsn?
  sgsn  Configure an IuPS link to an SGSN
OsmoHNBGW(config)# sgsn ?
  <0-1000>  SGSN nr

OsmoHNBGW(config)# ### The config file has no 'msc' or 'sgsn', so defaults have been set up

OsmoHNBGW(config)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 rnc-id 23
 log-prefix hnb-id
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
sgsn 0
end

OsmoHNBGW(config)# msc 1


OsmoHNBGW(config-msc)# 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
  remote-addr NAME
  nri add <0-32767> [<0-32767>]
  nri del <0-32767> [<0-32767>]
  show nri
  apply sccp
  allow-attach
  no allow-attach
  allow-emergency
  no allow-emergency

OsmoHNBGW(config-msc)# remote-addr?
  remote-addr  SCCP address to send RANAP/SCCP to
OsmoHNBGW(config-msc)# remote-addr ?
  NAME  SCCP address book entry name (see 'cs7 instance' / 'sccp-address')

OsmoHNBGW(config-msc)# show nri?
  nri  Mapping of Network Resource Indicators to this CN peer, for CN pooling

OsmoHNBGW(config-msc)# apply?
  apply  Immediately use configuration modified via telnet VTY, and restart components as needed.

OsmoHNBGW(config-msc)# apply ?
  sccp  For telnet VTY: apply SCCP and NRI config changes made to this CN link in the running osmo-hnbgw process. If 'remote-addr' changed, related SCCP links will be restarted, possibly dropping active UE contexts. This is run implicitly on program startup, only useful to apply changes made later via telnet VTY.

OsmoHNBGW(config-msc)# allow-attach?
  allow-attach  Allow this CN link to attach new subscribers (default).

OsmoHNBGW(config-msc)# allow-emergency?
  allow-emergency  Allow CM ServiceRequests with type emergency on this CN link

OsmoHNBGW(config-msc)# no ?
  allow-attach     Do not assign new subscribers to this CN link. Useful if an CN link in an CN link pool is configured to off-load subscribers. The CN link will still be operational for already IMSI-Attached subscribers, but the NAS node selection function will skip this CN link for new subscribers
  allow-emergency  Do not serve CM ServiceRequests with type emergency on this CN link

OsmoHNBGW(config-msc)# exit


OsmoHNBGW(config)# sgsn 1


OsmoHNBGW(config-sgsn)# 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
  remote-addr NAME
  nri add <0-32767> [<0-32767>]
  nri del <0-32767> [<0-32767>]
  show nri
  apply sccp
  allow-attach
  no allow-attach
  allow-emergency
  no allow-emergency

OsmoHNBGW(config-sgsn)# remote-addr?
  remote-addr  SCCP address to send RANAP/SCCP to
OsmoHNBGW(config-sgsn)# remote-addr ?
  NAME  SCCP address book entry name (see 'cs7 instance' / 'sccp-address')

OsmoHNBGW(config-sgsn)# show nri?
  nri  Mapping of Network Resource Indicators to this CN peer, for CN pooling

OsmoHNBGW(config-sgsn)# apply?
  apply  Immediately use configuration modified via telnet VTY, and restart components as needed.

OsmoHNBGW(config-sgsn)# apply ?
  sccp  For telnet VTY: apply SCCP and NRI config changes made to this CN link in the running osmo-hnbgw process. If 'remote-addr' changed, related SCCP links will be restarted, possibly dropping active UE contexts. This is run implicitly on program startup, only useful to apply changes made later via telnet VTY.

OsmoHNBGW(config-sgsn)# allow-attach?
  allow-attach  Allow this CN link to attach new subscribers (default).

OsmoHNBGW(config-sgsn)# allow-emergency?
  allow-emergency  Allow CM ServiceRequests with type emergency on this CN link

OsmoHNBGW(config-sgsn)# no ?
  allow-attach     Do not assign new subscribers to this CN link. Useful if an CN link in an CN link pool is configured to off-load subscribers. The CN link will still be operational for already IMSI-Attached subscribers, but the NAS node selection function will skip this CN link for new subscribers
  allow-emergency  Do not serve CM ServiceRequests with type emergency on this CN link

OsmoHNBGW(config-sgsn)# exit


OsmoHNBGW(config)# ### Just by entering the nodes above, 'msc 1' and 'sgsn 1' now exist

OsmoHNBGW(config)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 rnc-id 23
 log-prefix hnb-id
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
msc 1
sgsn 0
sgsn 1
end

OsmoHNBGW(config)# ### Add {msc,sgsn}x{2,3}


OsmoHNBGW(config)# msc 2

OsmoHNBGW(config-msc)# remote-addr addr-msc2

OsmoHNBGW(config-msc)# no allow-attach

OsmoHNBGW(config-msc)# exit


OsmoHNBGW(config)# msc 3

OsmoHNBGW(config-msc)# remote-addr addr-msc3

OsmoHNBGW(config-msc)# allow-emergency

OsmoHNBGW(config-msc)# exit


OsmoHNBGW(config)# sgsn 2

OsmoHNBGW(config-sgsn)# remote-addr addr-sgsn2

OsmoHNBGW(config-sgsn)# exit


OsmoHNBGW(config)# sgsn 3

OsmoHNBGW(config-sgsn)# remote-addr addr-sgsn3

OsmoHNBGW(config-sgsn)# exit


OsmoHNBGW(config)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 rnc-id 23
 log-prefix hnb-id
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
msc 1
msc 2
 remote-addr addr-msc2
 no allow-attach
msc 3
 remote-addr addr-msc3
 allow-emergency
sgsn 0
sgsn 1
sgsn 2
 remote-addr addr-sgsn2
sgsn 3
 remote-addr addr-sgsn3
end

OsmoHNBGW(config)# ### Re-entering existing nodes works (does not create new ones)

OsmoHNBGW(config)# msc 2

OsmoHNBGW(config-msc)# allow-attach

OsmoHNBGW(config-msc)# exit

OsmoHNBGW(config)# msc 3

OsmoHNBGW(config-msc)# remote-addr addr-msc4

OsmoHNBGW(config-msc)# no allow-emergency

OsmoHNBGW(config-msc)# exit

OsmoHNBGW(config)# sgsn 2

OsmoHNBGW(config-sgsn)# remote-addr addr-sgsn4

OsmoHNBGW(config-sgsn)# exit


OsmoHNBGW(config)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 rnc-id 23
 log-prefix hnb-id
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
msc 1
msc 2
 remote-addr addr-msc2
msc 3
 remote-addr addr-msc4
sgsn 0
sgsn 1
sgsn 2
 remote-addr addr-sgsn4
sgsn 3
 remote-addr addr-sgsn3
end

OsmoHNBGW(config)# ### Legacy configuration {'iups','iucs'} / 'remote-addr' redirects to {'msc 0','sgsn 0'}:


OsmoHNBGW(config)# hnbgw

OsmoHNBGW(config-hnbgw)# iucs

OsmoHNBGW(config-hnbgw-iucs)# remote-addr?
% There is no matched command.
OsmoHNBGW(config-hnbgw-iucs)# remote-addr ?
% There is no matched command.
OsmoHNBGW(config-hnbgw-iucs)# remote-addr addr-msc0
20240522222244492 DLGLOBAL ERROR config: Deprecated: instead of hnbgw/iucs/remote-addr, use 'msc 0'/remote-addr (hnbgw_vty.c:484)
% Deprecated: instead of hnbgw/iucs/remote-addr, use 'msc 0'/remote-addr
OsmoHNBGW(config-hnbgw-iucs)# exit


OsmoHNBGW(config-hnbgw)# iups

OsmoHNBGW(config-hnbgw-iups)# remote-addr?
% There is no matched command.
OsmoHNBGW(config-hnbgw-iups)# remote-addr ?
% There is no matched command.
OsmoHNBGW(config-hnbgw-iups)# remote-addr addr-sgsn0
20240522222244492 DLGLOBAL ERROR config: Deprecated: instead of hnbgw/iups/remote-addr, use 'sgsn 0'/remote-addr (hnbgw_vty.c:484)
% Deprecated: instead of hnbgw/iups/remote-addr, use 'sgsn 0'/remote-addr
OsmoHNBGW(config-hnbgw-iups)# exit


OsmoHNBGW(config-hnbgw)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 rnc-id 23
 log-prefix hnb-id
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
 remote-addr addr-msc0
msc 1
msc 2
 remote-addr addr-msc2
msc 3
 remote-addr addr-msc4
sgsn 0
 remote-addr addr-sgsn0
sgsn 1
sgsn 2
 remote-addr addr-sgsn4
sgsn 3
 remote-addr addr-sgsn3
end


OsmoHNBGW(config-hnbgw)# ### placement of the new 'msc' and 'sgsn' nodes must be below 'pfcp' and 'mgw' nodes

OsmoHNBGW(config-hnbgw)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 rnc-id 23
 log-prefix hnb-id
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
 remote-addr addr-msc0
msc 1
msc 2
 remote-addr addr-msc2
msc 3
 remote-addr addr-msc4
sgsn 0
 remote-addr addr-sgsn0
sgsn 1
sgsn 2
 remote-addr addr-sgsn4
sgsn 3
 remote-addr addr-sgsn3
end
rate_ctr.c:86 validating counter group 0x5646442b5440(iucs) with 3 counters
rate_ctr.c:86 validating counter group 0x5646442b5480(iups) with 3 counters
20240522222244680 DLGLOBAL NOTICE Available via telnet 127.0.0.1 4261 (telnet_interface.c:88)
20240522222244681 DLCTRL NOTICE CTRL at 127.0.0.1 4262 (control_if.c:1024)
20240522222244681 DHNBAP NOTICE Using RNC-Id 23 (osmo_hnbgw_main.c:300)
20240522222244681 DMAIN NOTICE Listening for Iuh at 0.0.0.0 29169 (osmo_hnbgw_main.c:303)
20240522222244681 DLMGCP NOTICE MGW(mgw) MGCP client: using endpoint domain '@mgw' (mgcp_client.c:932)
20240522222244681 DMGW NOTICE MGW pool with 1 pool members configured, (ignoring MGW configuration in VTY node 'mgcp'). (hnbgw.c:886)
20240522222244681 DLPFCP NOTICE No UPF configured, NOT setting up PFCP, NOT mapping GTP via UPF (hnbgw_pfcp.c:74)
20240522222244681 DLSCCP ERROR SS7 instance 0: no primary point-code set, using default point-code (sccp_user.c:560)
20240522222244681 DLSCCP NOTICE msc-0: Using SS7 instance 0, pc:0.23.5 (sccp_user.c:566)
20240522222244681 DLSCCP NOTICE msc-0: Creating AS instance (sccp_user.c:573)
20240522222244681 DLSCCP NOTICE msc-0: Using AS instance as-clnt-msc-0 (sccp_user.c:584)
20240522222244681 DLSCCP NOTICE msc-0: Creating default route (sccp_user.c:590)
20240522222244681 DLSCCP NOTICE msc-0: No unassociated ASP for m3ua, creating new ASP asp-clnt-msc-0 (sccp_user.c:629)
20240522222244681 DLGLOBAL ERROR Trying to dispatch event 17 to non-existent FSM instance! (osmo_ss7_as.c:118)
20240522222244681 DLGLOBAL ERROR backtrace() returned 13 addresses (backtrace.c:42)
20240522222244681 DLGLOBAL ERROR 	/build/deps/install/lib/libosmocore.so.21(+0x1210f) [0x7feaa6bbf10f] (backtrace.c:53)
20240522222244681 DLGLOBAL ERROR 	/build/deps/install/lib/libosmocore.so.21(osmo_log_backtrace+0x20) [0x7feaa6bbf343] (backtrace.c:53)
20240522222244681 DLGLOBAL ERROR 	/build/deps/install/lib/libosmocore.so.21(_osmo_fsm_inst_dispatch+0x140) [0x7feaa6bc9b21] (backtrace.c:53)
20240522222244681 DLGLOBAL ERROR 	/build/deps/install/lib/libosmo-sigtran.so.9(osmo_ss7_as_add_asp+0x1f5) [0x7feaa71b25f7] (backtrace.c:53)
20240522222244681 DLGLOBAL ERROR 	/build/deps/install/lib/libosmo-sigtran.so.9(osmo_sccp_simple_client_on_ss7_id+0xa7f) [0x7feaa71d3fc5] (backtrace.c:53)
20240522222244681 DLGLOBAL ERROR 	../src/osmo-hnbgw/osmo-hnbgw(+0x18b45a) [0x5646441ea45a] (backtrace.c:53)
20240522222244681 DLGLOBAL ERROR 	../src/osmo-hnbgw/osmo-hnbgw(+0x18c8c3) [0x5646441eb8c3] (backtrace.c:53)
20240522222244681 DLGLOBAL ERROR 	../src/osmo-hnbgw/osmo-hnbgw(+0x18ca96) [0x5646441eba96] (backtrace.c:53)
20240522222244681 DLGLOBAL ERROR 	../src/osmo-hnbgw/osmo-hnbgw(+0x13168e) [0x56464419068e] (backtrace.c:53)
20240522222244681 DLGLOBAL ERROR 	/lib/x86_64-linux-gnu/libc.so.6(+0x2724a) [0x7feaa639d24a] (backtrace.c:53)
20240522222244681 DLGLOBAL ERROR 	/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7feaa639d305] (backtrace.c:53)
20240522222244681 DLGLOBAL ERROR 	../src/osmo-hnbgw/osmo-hnbgw(+0x12f6e1) [0x56464418e6e1] (backtrace.c:53)
20240522222244681 DLSCCP NOTICE msc-0: Using ASP instance asp-clnt-msc-0 (sccp_user.c:699)
20240522222244681 DLSS7 NOTICE 0: Creating SCCP instance (osmo_ss7.c:408)
20240522222244681 DCN NOTICE (msc-0) created SCCP instance on cs7 instance 0 (hnbgw_cn.c:880)
20240522222244681 DCN NOTICE (msc-0) using: cs7-0 0.23.5 <-> 0.23.1 msc-0 (default remote point-code) (hnbgw_cn.c:795)
20240522222244681 DCN NOTICE (sgsn-0) using: cs7-0 0.23.5 <-> 0.23.4 sgsn-0 (default remote point-code) (hnbgw_cn.c:795)
20240522222244681 DLMGCP ERROR MGW(mgw) Failed to read: r=127.0.0.1:2427<->l=127.0.0.1:2729: -111='Unknown error -111' (mgcp_client.c:789)
20240522222244682 DRANAP ERROR (sgsn-0) No local PLMN is configured, so outgoing RESET messages omit the mandatory Global RNC-ID IE. You should set a 'hnbgw' / 'plmn' in your config file (since v1.5) (cnlink.c:171)
20240522222244682 DLSS7 ERROR Unable to route HMRT message: the AS as-clnt-msc-0 is down (osmo_ss7_hmrt.c:232)
20240522222244682 DRANAP ERROR (msc-0) No local PLMN is configured, so outgoing RESET messages omit the mandatory Global RNC-ID IE. You should set a 'hnbgw' / 'plmn' in your config file (since v1.5) (cnlink.c:171)
20240522222244682 DLSS7 ERROR Unable to route HMRT message: the AS as-clnt-msc-0 is down (osmo_ss7_hmrt.c:232)
Launching: cd '/build/tests'; ../src/osmo-hnbgw/osmo-hnbgw -c ./osmo-hnbgw-vty-test.cfg
OsmoHNBGW> show nri
hnbgw
 iucs
  nri bitlen 10
  % No NULL-NRI entries
 iups
  nri bitlen 10
  % No NULL-NRI entries
msc 0
 % no NRI mappings
sgsn 0
 % no NRI mappings

OsmoHNBGW> enable

OsmoHNBGW# configure terminal


OsmoHNBGW(config)# msc 0


OsmoHNBGW(config-msc)# 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
  remote-addr NAME
  nri add <0-32767> [<0-32767>]
  nri del <0-32767> [<0-32767>]
  show nri
  apply sccp
  allow-attach
  no allow-attach
  allow-emergency
  no allow-emergency
OsmoHNBGW(config-msc)# nri ?
  add  Add NRI value or range to the NRI mapping for this CN link
  del  Remove NRI value or range from the NRI mapping for this CN link
OsmoHNBGW(config-msc)# nri add ?
  <0-32767>  First value of the NRI value range, should not surpass the configured 'nri bitlen'.
OsmoHNBGW(config-msc)# nri add 23 ?
  [<0-32767>]  Last value of the NRI value range, should not surpass the configured 'nri bitlen' and be larger than the first value; if omitted, apply only the first value.

OsmoHNBGW(config-msc)# nri add 23

OsmoHNBGW(config-msc)# nri add 256 511

OsmoHNBGW(config-msc)# nri add 100 200

OsmoHNBGW(config-msc)# nri add 1024 1024
20240522222244770 DCN ERROR msc 0: Warning: NRI range surpasses current NRI bitlen: 1024..1024 (hnbgw_vty.c:570)
% Warning: msc 0: Warning: NRI range surpasses current NRI bitlen: 1024..1024
OsmoHNBGW(config-msc)# show nri
msc 0
 nri add 23
 nri add 100 200
 nri add 256 511
 nri add 1024
OsmoHNBGW(config-msc)# exit


OsmoHNBGW(config)# ### Do msc 2 first, to see that the order of mscs in the internal list is not determined by the msc->nr,

OsmoHNBGW(config)# ### and whichever was configured first gets higher priority for overlaps.


OsmoHNBGW(config)# msc 2

OsmoHNBGW(config-msc)# nri add 200 300
20240522222244770 DCN ERROR msc 2: NRI range [200..300] overlaps between msc 2 and msc 0. For overlaps, msc 0 has higher priority than msc 2 (hnbgw_vty.c:584)
% Warning: msc 2: NRI range [200..300] overlaps between msc 2 and msc 0. For overlaps, msc 0 has higher priority than msc 2
OsmoHNBGW(config-msc)# nri add 1024 1025
20240522222244771 DCN ERROR msc 2: Warning: NRI range surpasses current NRI bitlen: 1024..1025 (hnbgw_vty.c:570)
20240522222244771 DCN ERROR msc 2: NRI range [1024..1025] overlaps between msc 2 and msc 0. For overlaps, msc 0 has higher priority than msc 2 (hnbgw_vty.c:584)
% Warning: msc 2: Warning: NRI range surpasses current NRI bitlen: 1024..1025
% Warning: msc 2: NRI range [1024..1025] overlaps between msc 2 and msc 0. For overlaps, msc 0 has higher priority than msc 2
OsmoHNBGW(config-msc)# exit


OsmoHNBGW(config)# msc 1

OsmoHNBGW(config-msc)# nri add 42

OsmoHNBGW(config-msc)# nri add 512 767

OsmoHNBGW(config-msc)# nri add 200 300
20240522222244771 DCN ERROR msc 1: NRI range [200..300] overlaps between msc 1 and msc 0. For overlaps, msc 0 has higher priority than msc 1 (hnbgw_vty.c:584)
20240522222244771 DCN ERROR msc 1: NRI range [200..300] overlaps between msc 1 and msc 2. For overlaps, msc 2 has higher priority than msc 1 (hnbgw_vty.c:584)
% Warning: msc 1: NRI range [200..300] overlaps between msc 1 and msc 0. For overlaps, msc 0 has higher priority than msc 1
% Warning: msc 1: NRI range [200..300] overlaps between msc 1 and msc 2. For overlaps, msc 2 has higher priority than msc 1
OsmoHNBGW(config-msc)# nri add 1024 1025
20240522222244772 DCN ERROR msc 1: Warning: NRI range surpasses current NRI bitlen: 1024..1025 (hnbgw_vty.c:570)
20240522222244772 DCN ERROR msc 1: NRI range [1024..1025] overlaps between msc 1 and msc 0. For overlaps, msc 0 has higher priority than msc 1 (hnbgw_vty.c:584)
20240522222244772 DCN ERROR msc 1: NRI range [1024..1025] overlaps between msc 1 and msc 2. For overlaps, msc 2 has higher priority than msc 1 (hnbgw_vty.c:584)
% Warning: msc 1: Warning: NRI range surpasses current NRI bitlen: 1024..1025
% Warning: msc 1: NRI range [1024..1025] overlaps between msc 1 and msc 0. For overlaps, msc 0 has higher priority than msc 1
% Warning: msc 1: NRI range [1024..1025] overlaps between msc 1 and msc 2. For overlaps, msc 2 has higher priority than msc 1
OsmoHNBGW(config-msc)# show nri
msc 1
 nri add 42
 nri add 200 300
 nri add 512 767
 nri add 1024 1025
OsmoHNBGW(config-msc)# exit


OsmoHNBGW(config)# do show nri
hnbgw
 iucs
  nri bitlen 10
  % No NULL-NRI entries
 iups
  nri bitlen 10
  % No NULL-NRI entries
msc 0
 nri add 23
 nri add 100 200
 nri add 256 511
 nri add 1024
msc 2
 nri add 200 300
 nri add 1024 1025
msc 1
 nri add 42
 nri add 200 300
 nri add 512 767
 nri add 1024 1025
sgsn 0
 % no NRI mappings

OsmoHNBGW(config)# ### msc and sgsn have separate scopes of NRI, i.e. overlaps are no problem

OsmoHNBGW(config)# sgsn 0

OsmoHNBGW(config-sgsn)# nri add 0 1023

OsmoHNBGW(config-sgsn)# show nri
sgsn 0
 nri add 0 1023
OsmoHNBGW(config-sgsn)# exit


OsmoHNBGW(config)# ### NULL-NRI config

OsmoHNBGW(config)# hnbgw

OsmoHNBGW(config-hnbgw)# iucs


OsmoHNBGW(config-hnbgw-iucs)# 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
  nri bitlen <1-15>
  nri null add <0-32767> [<0-32767>]
  nri null del <0-32767> [<0-32767>]

OsmoHNBGW(config-hnbgw-iucs)# nri ?
  bitlen  Set number of bits that an NRI has, to extract from TMSI identities (always starting just after the TMSI's most significant octet).
  null    Define NULL-NRI values that cause re-assignment of an MS to a different CN peer, for CN pooling.

OsmoHNBGW(config-hnbgw-iucs)# nri bitlen ?
  <1-15>  bit count (default: 10)

OsmoHNBGW(config-hnbgw-iucs)# nri bitlen 11

OsmoHNBGW(config-hnbgw-iucs)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 rnc-id 23
 log-prefix hnb-id
 iucs
  nri bitlen 11
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
 nri add 23
 nri add 100 200
 nri add 256 511
 nri add 1024
msc 2
 nri add 200 300
 nri add 1024 1025
msc 1
 nri add 42
 nri add 200 300
 nri add 512 767
 nri add 1024 1025
sgsn 0
 nri add 0 1023
end

OsmoHNBGW(config-hnbgw-iucs)# nri null ?
  add  Add NULL-NRI value (or range)
  del  Remove NRI value or range from the NRI mapping for this CN link

OsmoHNBGW(config-hnbgw-iucs)# nri null add ?
  <0-32767>  First value of the NRI value range, should not surpass the configured 'nri bitlen'.
OsmoHNBGW(config-hnbgw-iucs)# nri null add 0 ?
  [<0-32767>]  Last value of the NRI value range, should not surpass the configured 'nri bitlen' and be larger than the first value; if omitted, apply only the first value.

OsmoHNBGW(config-hnbgw-iucs)# nri null del ?
  <0-32767>  First value of the NRI value range, should not surpass the configured 'nri bitlen'.
OsmoHNBGW(config-hnbgw-iucs)# nri null del 0 ?
  [<0-32767>]  Last value of the NRI value range, should not surpass the configured 'nri bitlen' and be larger than the first value; if omitted, apply only the first value.

OsmoHNBGW(config-hnbgw-iucs)# exit


OsmoHNBGW(config-hnbgw)# iups


OsmoHNBGW(config-hnbgw-iups)# 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
  nri bitlen <1-15>
  nri null add <0-32767> [<0-32767>]
  nri null del <0-32767> [<0-32767>]

OsmoHNBGW(config-hnbgw-iups)# nri ?
  bitlen  Set number of bits that an NRI has, to extract from TMSI identities (always starting just after the TMSI's most significant octet).
  null    Define NULL-NRI values that cause re-assignment of an MS to a different CN peer, for CN pooling.

OsmoHNBGW(config-hnbgw-iups)# nri bitlen ?
  <1-15>  bit count (default: 10)

OsmoHNBGW(config-hnbgw-iups)# nri bitlen 9

OsmoHNBGW(config-hnbgw-iups)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 rnc-id 23
 log-prefix hnb-id
 iucs
  nri bitlen 11
 iups
  nri bitlen 9
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
 nri add 23
 nri add 100 200
 nri add 256 511
 nri add 1024
msc 2
 nri add 200 300
 nri add 1024 1025
msc 1
 nri add 42
 nri add 200 300
 nri add 512 767
 nri add 1024 1025
sgsn 0
 nri add 0 1023
end

OsmoHNBGW(config-hnbgw-iups)# nri null ?
  add  Add NULL-NRI value (or range)
  del  Remove NRI value or range from the NRI mapping for this CN link

OsmoHNBGW(config-hnbgw-iups)# nri null add ?
  <0-32767>  First value of the NRI value range, should not surpass the configured 'nri bitlen'.
OsmoHNBGW(config-hnbgw-iups)# nri null add 0 ?
  [<0-32767>]  Last value of the NRI value range, should not surpass the configured 'nri bitlen' and be larger than the first value; if omitted, apply only the first value.

OsmoHNBGW(config-hnbgw-iups)# nri null del ?
  <0-32767>  First value of the NRI value range, should not surpass the configured 'nri bitlen'.
OsmoHNBGW(config-hnbgw-iups)# nri null del 0 ?
  [<0-32767>]  Last value of the NRI value range, should not surpass the configured 'nri bitlen' and be larger than the first value; if omitted, apply only the first value.

OsmoHNBGW(config-hnbgw-iups)# exit


OsmoHNBGW(config-hnbgw)# exit


OsmoHNBGW(config)# msc 0

OsmoHNBGW(config-msc)# nri del 0 10000

OsmoHNBGW(config-msc)# exit

OsmoHNBGW(config)# msc 1

OsmoHNBGW(config-msc)# nri del 0 10000

OsmoHNBGW(config-msc)# exit

OsmoHNBGW(config)# msc 2

OsmoHNBGW(config-msc)# nri del 0 10000

OsmoHNBGW(config-msc)# exit

OsmoHNBGW(config)# do show nri
hnbgw
 iucs
  nri bitlen 11
  % No NULL-NRI entries
 iups
  nri bitlen 9
  % No NULL-NRI entries
msc 0
 % no NRI mappings
msc 2
 % no NRI mappings
msc 1
 % no NRI mappings
sgsn 0
 nri add 0 1023

OsmoHNBGW(config)# msc 0

OsmoHNBGW(config-msc)# nri add 0 1000

OsmoHNBGW(config-msc)# show nri
msc 0
 nri add 0 1000
OsmoHNBGW(config-msc)# nri del 23

OsmoHNBGW(config-msc)# nri del 200 300

OsmoHNBGW(config-msc)# nri del 1000 2000

OsmoHNBGW(config-msc)# show nri
msc 0
 nri add 0 22
 nri add 24 199
 nri add 301 999
OsmoHNBGW(config-msc)# nri add 23

OsmoHNBGW(config-msc)# show nri
msc 0
 nri add 0 199
 nri add 301 999
OsmoHNBGW(config-msc)# nri add 200 300

OsmoHNBGW(config-msc)# show nri
msc 0
 nri add 0 999
OsmoHNBGW(config-msc)# nri add 1000

OsmoHNBGW(config-msc)# show nri
msc 0
 nri add 0 1000

OsmoHNBGW(config-msc)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 rnc-id 23
 log-prefix hnb-id
 iucs
  nri bitlen 11
 iups
  nri bitlen 9
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
 nri add 0 1000
msc 2
msc 1
sgsn 0
 nri add 0 1023
end
OsmoHNBGW(config-msc)# no allow-attach

OsmoHNBGW(config-msc)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 rnc-id 23
 log-prefix hnb-id
 iucs
  nri bitlen 11
 iups
  nri bitlen 9
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
 nri add 0 1000
 no allow-attach
msc 2
msc 1
sgsn 0
 nri add 0 1023
end
OsmoHNBGW(config-msc)# exit

OsmoHNBGW(config)# sgsn 1

OsmoHNBGW(config-sgsn)# no allow-attach

OsmoHNBGW(config-sgsn)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 rnc-id 23
 log-prefix hnb-id
 iucs
  nri bitlen 11
 iups
  nri bitlen 9
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
 nri add 0 1000
 no allow-attach
msc 2
msc 1
sgsn 0
 nri add 0 1023
sgsn 1
 no allow-attach
end

OsmoHNBGW(config-sgsn)# allow-attach

OsmoHNBGW(config-sgsn)# exit

OsmoHNBGW(config)# msc 0

OsmoHNBGW(config-msc)# allow-attach

OsmoHNBGW(config-msc)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 rnc-id 23
 log-prefix hnb-id
 iucs
  nri bitlen 11
 iups
  nri bitlen 9
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
 nri add 0 1000
msc 2
msc 1
sgsn 0
 nri add 0 1023
sgsn 1
end
OsmoHNBGW(config-msc)# exit

rate_ctr.c:86 validating counter group 0x56266f8ca440(iucs) with 3 counters
rate_ctr.c:86 validating counter group 0x56266f8ca480(iups) with 3 counters
20240522222244979 DLGLOBAL NOTICE Available via telnet 127.0.0.1 4261 (telnet_interface.c:88)
20240522222244979 DLCTRL NOTICE CTRL at 127.0.0.1 4262 (control_if.c:1024)
20240522222244979 DHNBAP NOTICE Using RNC-Id 23 (osmo_hnbgw_main.c:300)
20240522222244979 DMAIN NOTICE Listening for Iuh at 0.0.0.0 29169 (osmo_hnbgw_main.c:303)
20240522222244979 DLMGCP NOTICE MGW(mgw) MGCP client: using endpoint domain '@mgw' (mgcp_client.c:932)
20240522222244979 DMGW NOTICE MGW pool with 1 pool members configured, (ignoring MGW configuration in VTY node 'mgcp'). (hnbgw.c:886)
20240522222244979 DLPFCP NOTICE No UPF configured, NOT setting up PFCP, NOT mapping GTP via UPF (hnbgw_pfcp.c:74)
20240522222244979 DLSCCP ERROR SS7 instance 0: no primary point-code set, using default point-code (sccp_user.c:560)
20240522222244979 DLSCCP NOTICE msc-0: Using SS7 instance 0, pc:0.23.5 (sccp_user.c:566)
20240522222244979 DLSCCP NOTICE msc-0: Creating AS instance (sccp_user.c:573)
20240522222244979 DLSCCP NOTICE msc-0: Using AS instance as-clnt-msc-0 (sccp_user.c:584)
20240522222244979 DLSCCP NOTICE msc-0: Creating default route (sccp_user.c:590)
20240522222244979 DLSCCP NOTICE msc-0: No unassociated ASP for m3ua, creating new ASP asp-clnt-msc-0 (sccp_user.c:629)
20240522222244979 DLGLOBAL ERROR Trying to dispatch event 17 to non-existent FSM instance! (osmo_ss7_as.c:118)
20240522222244979 DLGLOBAL ERROR backtrace() returned 13 addresses (backtrace.c:42)
20240522222244979 DLGLOBAL ERROR 	/build/deps/install/lib/libosmocore.so.21(+0x1210f) [0x7f37324dd10f] (backtrace.c:53)
20240522222244979 DLGLOBAL ERROR 	/build/deps/install/lib/libosmocore.so.21(osmo_log_backtrace+0x20) [0x7f37324dd343] (backtrace.c:53)
20240522222244979 DLGLOBAL ERROR 	/build/deps/install/lib/libosmocore.so.21(_osmo_fsm_inst_dispatch+0x140) [0x7f37324e7b21] (backtrace.c:53)
20240522222244979 DLGLOBAL ERROR 	/build/deps/install/lib/libosmo-sigtran.so.9(osmo_ss7_as_add_asp+0x1f5) [0x7f3732ad05f7] (backtrace.c:53)
20240522222244979 DLGLOBAL ERROR 	/build/deps/install/lib/libosmo-sigtran.so.9(osmo_sccp_simple_client_on_ss7_id+0xa7f) [0x7f3732af1fc5] (backtrace.c:53)
20240522222244979 DLGLOBAL ERROR 	../src/osmo-hnbgw/osmo-hnbgw(+0x18b45a) [0x56266f7ff45a] (backtrace.c:53)
20240522222244979 DLGLOBAL ERROR 	../src/osmo-hnbgw/osmo-hnbgw(+0x18c8c3) [0x56266f8008c3] (backtrace.c:53)
20240522222244979 DLGLOBAL ERROR 	../src/osmo-hnbgw/osmo-hnbgw(+0x18ca96) [0x56266f800a96] (backtrace.c:53)
20240522222244979 DLGLOBAL ERROR 	../src/osmo-hnbgw/osmo-hnbgw(+0x13168e) [0x56266f7a568e] (backtrace.c:53)
20240522222244979 DLGLOBAL ERROR 	/lib/x86_64-linux-gnu/libc.so.6(+0x2724a) [0x7f3731cbb24a] (backtrace.c:53)
20240522222244979 DLGLOBAL ERROR 	/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7f3731cbb305] (backtrace.c:53)
20240522222244979 DLGLOBAL ERROR 	../src/osmo-hnbgw/osmo-hnbgw(+0x12f6e1) [0x56266f7a36e1] (backtrace.c:53)
20240522222244980 DLSCCP NOTICE msc-0: Using ASP instance asp-clnt-msc-0 (sccp_user.c:699)
20240522222244980 DLSS7 NOTICE 0: Creating SCCP instance (osmo_ss7.c:408)
20240522222244980 DCN NOTICE (msc-0) created SCCP instance on cs7 instance 0 (hnbgw_cn.c:880)
20240522222244980 DCN NOTICE (msc-0) using: cs7-0 0.23.5 <-> 0.23.1 msc-0 (default remote point-code) (hnbgw_cn.c:795)
20240522222244980 DCN NOTICE (sgsn-0) using: cs7-0 0.23.5 <-> 0.23.4 sgsn-0 (default remote point-code) (hnbgw_cn.c:795)
20240522222244980 DLMGCP ERROR MGW(mgw) Failed to read: r=127.0.0.1:2427<->l=127.0.0.1:2729: -111='Unknown error -111' (mgcp_client.c:789)
20240522222244981 DRANAP ERROR (sgsn-0) No local PLMN is configured, so outgoing RESET messages omit the mandatory Global RNC-ID IE. You should set a 'hnbgw' / 'plmn' in your config file (since v1.5) (cnlink.c:171)
20240522222244981 DLSS7 ERROR Unable to route HMRT message: the AS as-clnt-msc-0 is down (osmo_ss7_hmrt.c:232)
20240522222244981 DRANAP ERROR (msc-0) No local PLMN is configured, so outgoing RESET messages omit the mandatory Global RNC-ID IE. You should set a 'hnbgw' / 'plmn' in your config file (since v1.5) (cnlink.c:171)
20240522222244981 DLSS7 ERROR Unable to route HMRT message: the AS as-clnt-msc-0 is down (osmo_ss7_hmrt.c:232)
Launching: cd '/build/tests'; ../src/osmo-hnbgw/osmo-hnbgw -c ./osmo-hnbgw-vty-test.cfg
OsmoHNBGW> enable

OsmoHNBGW# configure terminal

OsmoHNBGW(config)# 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
  hostname WORD
  no hostname [HOSTNAME]
  password (8|) WORD
  password LINE
  enable password (8|) WORD
  enable password LINE
  no enable password
  banner motd default
  banner motd file [FILE]
  no banner motd
  service terminal-length <0-512>
  no service terminal-length [<0-512>]
  line vty
  service advanced-vty
  no service advanced-vty
  show history
  cs7 instance <0-15>
  hnbgw
  msc <0-1000>
  sgsn <0-1000>
  apply sccp
  ctrl
  log stderr [blocking-io]
  no log stderr
  log file FILENAME [blocking-io]
  no log file FILENAME
  log alarms <2-32700>
  no log alarms
  log syslog (authpriv|cron|daemon|ftp|lpr|mail|news|user|uucp)
  log syslog local <0-7>
  no log syslog
  log systemd-journal [raw]
  no log systemd-journal
  log gsmtap [HOSTNAME]
  no log gsmtap [HOSTNAME]
  stats reporter statsd [NAME]
  no stats reporter statsd [NAME]
  stats reporter log [NAME]
  no stats reporter log [NAME]
  stats interval <0-65535>
  stats-tcp interval <0-65535>
  stats-tcp batch-size <1-65535>

OsmoHNBGW(config)# hnbgw?
  hnbgw  Configure HNBGW options

OsmoHNBGW(config)# hnbgw

OsmoHNBGW(config-hnbgw)# 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
  plmn <1-999> <0-999>
  rnc-id <0-65535>
  log-prefix (hnb-id|umts-cell-id)
  hnb-policy (accept-all|closed)
  iuh
  iucs
  iups
  hnb UMTS_CELL_ID
  no hnb IDENTITY_INFO
  nft-kpi [TABLE_NAME]
  no nft-kpi
  mgcp
  mgw <0-255>
  no mgw <0-255>
  pfcp
  timer [(mgw|hnbgw|pfcp)] [TNNNN] [(<0-2147483647>|default)]

OsmoHNBGW(config-hnbgw)# plmn?
  plmn  Configure the HNBGW's PLMN. The PLMN is transmitted in RANAP RESET towards the CN.
OsmoHNBGW(config-hnbgw)# plmn ?
  <1-999>  MCC, Mobile Country Code
OsmoHNBGW(config-hnbgw)# plmn 1 ?
  <0-999>  MNC, Mobile Network Code
OsmoHNBGW(config-hnbgw)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 rnc-id 23
 log-prefix hnb-id
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
sgsn 0
end
OsmoHNBGW(config-hnbgw)# plmn 001 01

OsmoHNBGW(config-hnbgw)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 plmn 001 01
 rnc-id 23
 log-prefix hnb-id
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
sgsn 0
end

OsmoHNBGW(config-hnbgw)# plmn 001 001

OsmoHNBGW(config-hnbgw)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 plmn 001 001
 rnc-id 23
 log-prefix hnb-id
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
sgsn 0
end

OsmoHNBGW(config-hnbgw)# plmn 999 999

OsmoHNBGW(config-hnbgw)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 plmn 999 999
 rnc-id 23
 log-prefix hnb-id
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
sgsn 0
end

OsmoHNBGW(config-hnbgw)# plmn 23 42

OsmoHNBGW(config-hnbgw)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 plmn 023 42
 rnc-id 23
 log-prefix hnb-id
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
sgsn 0
end

OsmoHNBGW(config-hnbgw)# rnc-id?
  rnc-id  Configure the HNBGW's RNC Id, the common RNC Id used for all connected hNodeB. It is sent to each hNodeB upon HNBAP HNB-Register-Accept, and the hNodeB will subsequently send this as RANAP InitialUE Messages' GlobalRNC-ID IE. Takes effect as soon as the hNodeB re-registers.

OsmoHNBGW(config-hnbgw)# rnc-id ?
  <0-65535>  RNC Id value

OsmoHNBGW(config-hnbgw)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 plmn 023 42
 rnc-id 23
 log-prefix hnb-id
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
sgsn 0
end

OsmoHNBGW(config-hnbgw)# rnc-id 42

OsmoHNBGW(config-hnbgw)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 plmn 023 42
 rnc-id 42
 log-prefix hnb-id
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
sgsn 0
end

OsmoHNBGW(config-hnbgw)# nft-kpi?
  nft-kpi  Retrieve traffic counters from nftables
OsmoHNBGW(config-hnbgw)# nft-kpi ?
  [TABLE_NAME]  Set a custom nft table name to use, instead of 'osmo-hnbgw'

OsmoHNBGW(config-hnbgw)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 plmn 023 42
 rnc-id 42
 log-prefix hnb-id
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
sgsn 0
end

OsmoHNBGW(config-hnbgw)# nft-kpi
% WARNING: nft configuration changes need a restart of osmo-hnbgw
Error during transcript step 27:
[
OsmoHNBGW(config-hnbgw)# nft-kpi
% WARNING: nft configuration changes need a restart of osmo-hnbw
]
Error while verifying transcript file './osmo-hnbgw.vty'
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/osmopython-0.2.1-py3.11.egg/osmopy/osmo_interact/common.py", line 357, in verify_application
    interact.verify_transcript_file(transcript_file)
  File "/usr/local/lib/python3.11/dist-packages/osmopython-0.2.1-py3.11.egg/osmopy/osmo_interact/common.py", line 111, in verify_transcript_file
    result = self.verify_transcript(content)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/osmopython-0.2.1-py3.11.egg/osmopy/osmo_interact/common.py", line 199, in verify_transcript
    raise Exception('Result mismatch:\n%s\n\nExpected:\n[\n%s\n]\n\nGot:\n[\n%s\n%s\n]'
Exception: Result mismatch:
Mismatch:
Expect:
'% WARNING: nft configuration changes need a restart of osmo-hnbw'
Got:
'% WARNING: nft configuration changes need a restart of osmo-hnbgw'

Expected:
[
OsmoHNBGW(config-hnbgw)# nft-kpi
% WARNING: nft configuration changes need a restart of osmo-hnbw
]

Got:
[
OsmoHNBGW(config-hnbgw)# nft-kpi
% WARNING: nft configuration changes need a restart of osmo-hnbgw
]
rate_ctr.c:86 validating counter group 0x55ed73ca2440(iucs) with 3 counters
rate_ctr.c:86 validating counter group 0x55ed73ca2480(iups) with 3 counters
20240522222245261 DLGLOBAL NOTICE Available via telnet 127.0.0.1 4261 (telnet_interface.c:88)
20240522222245261 DLCTRL NOTICE CTRL at 127.0.0.1 4262 (control_if.c:1024)
20240522222245261 DHNBAP NOTICE Using RNC-Id 23 (osmo_hnbgw_main.c:300)
20240522222245261 DMAIN NOTICE Listening for Iuh at 0.0.0.0 29169 (osmo_hnbgw_main.c:303)
20240522222245261 DLMGCP NOTICE MGW(mgw) MGCP client: using endpoint domain '@mgw' (mgcp_client.c:932)
20240522222245261 DMGW NOTICE MGW pool with 1 pool members configured, (ignoring MGW configuration in VTY node 'mgcp'). (hnbgw.c:886)
20240522222245261 DLPFCP NOTICE No UPF configured, NOT setting up PFCP, NOT mapping GTP via UPF (hnbgw_pfcp.c:74)
20240522222245261 DLSCCP ERROR SS7 instance 0: no primary point-code set, using default point-code (sccp_user.c:560)
20240522222245261 DLSCCP NOTICE msc-0: Using SS7 instance 0, pc:0.23.5 (sccp_user.c:566)
20240522222245261 DLSCCP NOTICE msc-0: Creating AS instance (sccp_user.c:573)
20240522222245261 DLSCCP NOTICE msc-0: Using AS instance as-clnt-msc-0 (sccp_user.c:584)
20240522222245261 DLSCCP NOTICE msc-0: Creating default route (sccp_user.c:590)
20240522222245261 DLSCCP NOTICE msc-0: No unassociated ASP for m3ua, creating new ASP asp-clnt-msc-0 (sccp_user.c:629)
20240522222245261 DLGLOBAL ERROR Trying to dispatch event 17 to non-existent FSM instance! (osmo_ss7_as.c:118)
20240522222245261 DLGLOBAL ERROR backtrace() returned 13 addresses (backtrace.c:42)
20240522222245261 DLGLOBAL ERROR 	/build/deps/install/lib/libosmocore.so.21(+0x1210f) [0x7f22bc04310f] (backtrace.c:53)
20240522222245261 DLGLOBAL ERROR 	/build/deps/install/lib/libosmocore.so.21(osmo_log_backtrace+0x20) [0x7f22bc043343] (backtrace.c:53)
20240522222245261 DLGLOBAL ERROR 	/build/deps/install/lib/libosmocore.so.21(_osmo_fsm_inst_dispatch+0x140) [0x7f22bc04db21] (backtrace.c:53)
20240522222245261 DLGLOBAL ERROR 	/build/deps/install/lib/libosmo-sigtran.so.9(osmo_ss7_as_add_asp+0x1f5) [0x7f22bc6365f7] (backtrace.c:53)
20240522222245261 DLGLOBAL ERROR 	/build/deps/install/lib/libosmo-sigtran.so.9(osmo_sccp_simple_client_on_ss7_id+0xa7f) [0x7f22bc657fc5] (backtrace.c:53)
20240522222245261 DLGLOBAL ERROR 	../src/osmo-hnbgw/osmo-hnbgw(+0x18b45a) [0x55ed73bd745a] (backtrace.c:53)
20240522222245261 DLGLOBAL ERROR 	../src/osmo-hnbgw/osmo-hnbgw(+0x18c8c3) [0x55ed73bd88c3] (backtrace.c:53)
20240522222245261 DLGLOBAL ERROR 	../src/osmo-hnbgw/osmo-hnbgw(+0x18ca96) [0x55ed73bd8a96] (backtrace.c:53)
20240522222245261 DLGLOBAL ERROR 	../src/osmo-hnbgw/osmo-hnbgw(+0x13168e) [0x55ed73b7d68e] (backtrace.c:53)
20240522222245261 DLGLOBAL ERROR 	/lib/x86_64-linux-gnu/libc.so.6(+0x2724a) [0x7f22bb82124a] (backtrace.c:53)
20240522222245261 DLGLOBAL ERROR 	/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7f22bb821305] (backtrace.c:53)
20240522222245261 DLGLOBAL ERROR 	../src/osmo-hnbgw/osmo-hnbgw(+0x12f6e1) [0x55ed73b7b6e1] (backtrace.c:53)
20240522222245261 DLSCCP NOTICE msc-0: Using ASP instance asp-clnt-msc-0 (sccp_user.c:699)
20240522222245261 DLSS7 NOTICE 0: Creating SCCP instance (osmo_ss7.c:408)
20240522222245261 DCN NOTICE (msc-0) created SCCP instance on cs7 instance 0 (hnbgw_cn.c:880)
20240522222245261 DCN NOTICE (msc-0) using: cs7-0 0.23.5 <-> 0.23.1 msc-0 (default remote point-code) (hnbgw_cn.c:795)
20240522222245261 DCN NOTICE (sgsn-0) using: cs7-0 0.23.5 <-> 0.23.4 sgsn-0 (default remote point-code) (hnbgw_cn.c:795)
20240522222245261 DLMGCP ERROR MGW(mgw) Failed to read: r=127.0.0.1:2427<->l=127.0.0.1:2729: -111='Unknown error -111' (mgcp_client.c:789)
20240522222245262 DRANAP ERROR (sgsn-0) No local PLMN is configured, so outgoing RESET messages omit the mandatory Global RNC-ID IE. You should set a 'hnbgw' / 'plmn' in your config file (since v1.5) (cnlink.c:171)
20240522222245263 DLSS7 ERROR Unable to route HMRT message: the AS as-clnt-msc-0 is down (osmo_ss7_hmrt.c:232)
20240522222245263 DRANAP ERROR (msc-0) No local PLMN is configured, so outgoing RESET messages omit the mandatory Global RNC-ID IE. You should set a 'hnbgw' / 'plmn' in your config file (since v1.5) (cnlink.c:171)
20240522222245263 DLSS7 ERROR Unable to route HMRT message: the AS as-clnt-msc-0 is down (osmo_ss7_hmrt.c:232)
Launching: cd '/build/tests'; ../src/osmo-hnbgw/osmo-hnbgw -c ./osmo-hnbgw-vty-test.cfg
OsmoHNBGW> enable

OsmoHNBGW# configure terminal


OsmoHNBGW(config)# hnbgw

OsmoHNBGW(config-hnbgw)# 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
  plmn <1-999> <0-999>
  rnc-id <0-65535>
  log-prefix (hnb-id|umts-cell-id)
  hnb-policy (accept-all|closed)
  iuh
  iucs
  iups
  hnb UMTS_CELL_ID
  no hnb IDENTITY_INFO
  nft-kpi [TABLE_NAME]
  no nft-kpi
  mgcp
  mgw <0-255>
  no mgw <0-255>
  pfcp
  timer [(mgw|hnbgw|pfcp)] [TNNNN] [(<0-2147483647>|default)]
OsmoHNBGW(config-hnbgw)# pfcp?
  pfcp  Configure PFCP for GTP tunnel mapping

OsmoHNBGW(config-hnbgw)# pfcp

OsmoHNBGW(config-hnbgw-pfcp)# 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
  local-addr IP_ADDR
  local-port <1-65535>
  remote-addr IP_ADDR
  netinst (access|core) NAME

OsmoHNBGW(config-hnbgw-pfcp)# local-addr?
  local-addr  Local address for PFCP
OsmoHNBGW(config-hnbgw-pfcp)# local-addr ?
  IP_ADDR  IP address

OsmoHNBGW(config-hnbgw-pfcp)# local-port?
  local-port  Local port for PFCP
OsmoHNBGW(config-hnbgw-pfcp)# local-port ?
  <1-65535>  UDP port

OsmoHNBGW(config-hnbgw-pfcp)# remote-addr?
  remote-addr  Remote UPF's listen IP address; where to send PFCP requests
OsmoHNBGW(config-hnbgw-pfcp)# remote-addr ?
  IP_ADDR  IP address

OsmoHNBGW(config-hnbgw-pfcp)# netinst?
  netinst  Add a Network Instance IE to all outgoing PFCP rule sets, so that the UPF may choose the correct interface to open GTP tunnels on.
OsmoHNBGW(config-hnbgw-pfcp)# netinst ?
  access  Set the Network Instance name for the access side (towards RAN).
  core    Set the Network Instance name for the core side.

OsmoHNBGW(config-hnbgw-pfcp)# netinst access ?
  NAME  The Network Instance name as a dotted string, typically a domain name like 'ran23.example.com'. A matching osmo-upf.cfg could be: 'netinst' / 'add ran23.example.com 10.0.0.23'. See 3GPP TS 29.244 8.2.4.


OsmoHNBGW(config-hnbgw-pfcp)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 rnc-id 23
 log-prefix hnb-id
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
msc 0
sgsn 0
end

OsmoHNBGW(config-hnbgw-pfcp)# remote-addr 127.0.0.2
20240522222245349 DLPFCP NOTICE 0x6170000000e0 cfg: pfcp remote-addr 127.0.0.2 (hnbgw_vty.c:933)

OsmoHNBGW(config-hnbgw-pfcp)# local-addr 127.0.0.1

OsmoHNBGW(config-hnbgw-pfcp)# local-port 8805

OsmoHNBGW(config-hnbgw-pfcp)# netinst access ran.net
20240522222245350 DLPFCP NOTICE cfg: pfcp netinst access ran.net (hnbgw_vty.c:972)

OsmoHNBGW(config-hnbgw-pfcp)# netinst core core.net
20240522222245350 DLPFCP NOTICE cfg: pfcp netinst core core.net (hnbgw_vty.c:972)


OsmoHNBGW(config-hnbgw-pfcp)# show running-config

Current configuration:
!
!
log stderr
 logging filter all 1
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging print thread-id 0
 logging print extended-timestamp 1
 logging print level 1
 logging print file basename last
 logging level main notice
 logging level hnbap notice
 logging level rua notice
 logging level ranap notice
 logging level mgw notice
 logging level hnb notice
 logging level cn notice
 logging level nft notice
 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 notice
 logging level lsccp notice
 logging level lsua notice
 logging level lm3ua notice
 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
 point-code 0.23.5
 sccp-address addr-msc0
  routing-indicator PC
  point-code 0.1.0
 sccp-address addr-msc2
  routing-indicator PC
  point-code 0.1.2
 sccp-address addr-sgsn3
  routing-indicator PC
  point-code 0.2.3
 sccp-address addr-sgsn4
  routing-indicator PC
  point-code 0.2.4
cs7 instance 1
 sccp-address addr-sgsn0
  routing-indicator PC
  point-code 1.2.0
 sccp-address addr-sgsn2
  routing-indicator PC
  point-code 1.2.2
 sccp-address addr-msc3
  routing-indicator PC
  point-code 1.1.3
 sccp-address addr-msc4
  routing-indicator PC
  point-code 1.1.4
hnbgw
 rnc-id 23
 log-prefix hnb-id
 iuh
  hnbap-allow-tmsi 1
 mgw 0
  local-port 2729
  remote-ip 127.0.0.1
  remote-port 2427
  reset-endpoint rtpbridge/*
 pfcp
  local-addr 127.0.0.1
  local-port 8805
  remote-addr 127.0.0.2
  netinst access ran.net
  netinst core core.net
msc 0
sgsn 0
end

RESULTS:
pass: ./cnpool.vty
pass: ./nri_cfg.vty
FAIL: ./osmo-hnbgw.vty
pass: ./pfcp_cfg.vty.with_pfcp

make[6]: *** [Makefile:721: vty-test] Error 1
make[6]: Leaving directory '/build/tests'
make[5]: *** [Makefile:706: python-tests] Error 2
make[5]: Leaving directory '/build/tests'
make[4]: *** [Makefile:748: check-local] Error 2
make[4]: Leaving directory '/build/tests'
make[3]: Leaving directory '/build/tests'
make[3]: *** [Makefile:566: check-am] Error 2
make[2]: Leaving directory '/build/tests'
make[2]: *** [Makefile:416: check-recursive] Error 1
make[1]: *** [Makefile:463: check-recursive] Error 1
make[1]: Leaving directory '/build'
make: *** [Makefile:762: check] Error 2
+ cat-testlogs.sh
Build step 'Execute shell' marked build as failure
Finished: FAILURE