Skip to content
Failed

Console Output

Skipping 207 KB.. Full Log
Generating docs for compound osmo_mtp_prim...
Generating docs for compound osmo_mtp_resume_param...
Generating docs for compound osmo_mtp_status_param...
Generating docs for compound osmo_mtp_transfer_param...
Generating docs for compound osmo_sccp_addr...
Generating docs for compound osmo_sccp_addr_entry...
Generating docs for compound osmo_sccp_gt...
Generating docs for compound osmo_sccp_instance...
Generating docs for compound osmo_sccp_user...
Generating docs for compound osmo_scu_connect_param...
Generating docs for compound osmo_scu_data_param...
Generating docs for compound osmo_scu_disconn_param...
Generating docs for compound osmo_scu_notice_param...
Generating docs for compound osmo_scu_pcstate_param...
Generating docs for compound osmo_scu_prim...
Generating docs for compound osmo_scu_reset_param...
Generating docs for compound osmo_scu_state_param...
Generating docs for compound osmo_scu_unitdata_param...
Generating docs for compound osmo_ss7_as...
Generating docs for compound osmo_ss7_as_esls_entry...
Generating docs for compound osmo_ss7_asp...
Generating docs for compound osmo_ss7_asp_peer...
Generating docs for compound osmo_ss7_combined_linkset...
Generating docs for compound osmo_ss7_esls_entry...
Generating docs for compound osmo_ss7_instance...
Generating docs for compound osmo_ss7_link...
Generating docs for compound osmo_ss7_linkset...
Generating docs for compound osmo_ss7_pc_fmt...
Generating docs for compound osmo_ss7_route...
Generating docs for compound osmo_ss7_route_label...
Generating docs for compound osmo_ss7_route_table...
Generating docs for compound osmo_ss7_routing_key...
Generating docs for compound osmo_ss7_user...
Generating docs for compound osmo_xlm_prim...
Generating docs for compound osmo_xlm_prim_error...
Generating docs for compound osmo_xlm_prim_notify...
Generating docs for compound osmo_xlm_prim_rk_dereg...
Generating docs for compound osmo_xlm_prim_rk_reg...
Generating docs for compound osmo_xua_layer_manager...
Generating docs for compound osmo_xua_server...
Generating docs for compound sccp_connection...
Generating docs for compound sccp_pending_rout_fail...
Generating docs for compound sccp_scmg_msg...
Generating docs for compound xua_as_event_asp_inactive_ind_pars...
Generating docs for compound xua_as_fsm_priv...
Generating docs for compound xua_asp_fsm_priv...
Generating docs for compound xua_common_hdr...
Generating docs for compound xua_dialect...
Generating docs for compound xua_msg...
Generating docs for compound xua_msg_class...
Generating docs for compound xua_msg_event_map...
Generating docs for compound xua_msg_part...
Generating docs for compound xua_parameter_hdr...
Generating concept documentation...
Generating namespace index...
Generating graph info page...
Generating directory documentation...
Generating index page...
Generating page index...
Generating module index...
Generating namespace index...
Generating namespace member index...
Generating concept index...
Generating annotated compound index...
Generating alphabetical compound index...
Generating hierarchical class index...
Generating member index...
Generating file index...
Generating file member index...
Generating example index...
finalizing index lists...
writing tag file...
Running plantuml with JAVA...
lookup cache used 2406/65536 hits=32606 misses=2572
finished...
cd ./doc && tar cf html.tar */html
make[2]: Leaving directory '/build'
make[1]: Leaving directory '/build'
+ make -j 12 check
make  check-recursive
make[1]: Entering directory '/build'
Making check in include
make[2]: Entering directory '/build/include'
Making check in osmocom
make[3]: Entering directory '/build/include/osmocom'
Making check in sccp
make[4]: Entering directory '/build/include/osmocom/sccp'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/build/include/osmocom/sccp'
Making check in sigtran
make[4]: Entering directory '/build/include/osmocom/sigtran'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/build/include/osmocom/sigtran'
make[4]: Entering directory '/build/include/osmocom'
make[4]: Nothing to be done for 'check-am'.
make[4]: Leaving directory '/build/include/osmocom'
make[3]: Leaving directory '/build/include/osmocom'
make[3]: Entering directory '/build/include'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/build/include'
make[2]: Leaving directory '/build/include'
Making check in src
make[2]: Entering directory '/build/src'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/build/src'
Making check in tests
make[2]: Entering directory '/build/tests'
Making check in xua
make[3]: Entering directory '/build/tests/xua'
make  xua_test
make[4]: Entering directory '/build/tests/xua'
  CC       xua_test.o
  CC       sccp_test_data.o
  CCLD     xua_test
make[4]: Leaving directory '/build/tests/xua'
make[3]: Leaving directory '/build/tests/xua'
Making check in m2ua
make[3]: Entering directory '/build/tests/m2ua'
make  m2ua_test
make[4]: Entering directory '/build/tests/m2ua'
  CC       m2ua_test.o
  CCLD     m2ua_test
make[4]: Leaving directory '/build/tests/m2ua'
make[3]: Leaving directory '/build/tests/m2ua'
Making check in ss7
make[3]: Entering directory '/build/tests/ss7'
make  ss7_test
make[4]: Entering directory '/build/tests/ss7'
  CC       ss7_test.o
  CCLD     ss7_test
make[4]: Leaving directory '/build/tests/ss7'
make[3]: Leaving directory '/build/tests/ss7'
Making check in vty
make[3]: Entering directory '/build/tests/vty'
make  ss7_asp_vty_test
make[4]: Entering directory '/build/tests/vty'
  CC       ss7_asp_vty_test.o
  CCLD     ss7_asp_vty_test
make[4]: Leaving directory '/build/tests/vty'
make  check-local
make[4]: Entering directory '/build/tests/vty'
make  ext-tests
make[5]: Entering directory '/build/tests/vty'
make vty-test
make[6]: Entering directory '/build/tests/vty'
make vty-python-test
make[7]: Entering directory '/build/tests/vty'
./vty_test_runner.py -w /build -v
confpath /build/tests/vty/.., workdir /build
Running tests for specific VTY commands
testMultiHome (__main__.TestVTYSTP.testMultiHome) ... Opening /dev/null
Launching: PWD=/build './stp/osmo-stp' '-c' '/build/tests/vty/../../doc/examples/osmo-stp-multihome.cfg'

> ls -l /proc/34342/fd
total 0
lr-x------ 1 build build 64 Sep 29 13:21 0 -> pipe:[2893407896]
l-wx------ 1 build build 64 Sep 29 13:21 1 -> pipe:[2893407897]
l-wx------ 1 build build 64 Sep 29 13:21 2 -> pipe:[2893407898]
l-wx------ 1 build build 64 Sep 29 13:21 3 -> /dev/null


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


> ss -tln
State  Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
LISTEN 0      10         127.0.0.1:4239      0.0.0.0:*          


> ps xua | grep osmo
build          1  0.0  0.0   2500   876 ?        Ss   13:21   0:00 /usr/bin/timeout 30m /osmo-ci/scripts/wrapper_core_bt_on_error.sh /build/contrib/jenkins.sh
build          7  0.0  0.0   2584   924 ?        S    13:21   0:00 /bin/sh /osmo-ci/scripts/wrapper_core_bt_on_error.sh /build/contrib/jenkins.sh
build      34343  0.0  0.0 21474894072 20544 ?   S    13:21   0:00 /build/stp/.libs/osmo-stp -c /build/tests/vty/../../doc/examples/osmo-stp-multihome.cfg
build      34363  0.0  0.0   2584   952 ?        S    13:21   0:00 /bin/sh -c ps xua | grep osmo
build      34365  0.0  0.0   3708  1772 ?        S    13:21   0:00 grep osmo

/proc/net/sctp/eps: parsing line: 19df435a c6734f7e 2   10  48   2905   1000 2893428409 127.0.0.2 127.0.0.1 0000:0000:0000:0000:0000:0000:0000:0001
/proc/net/sctp/eps: local port 2905 found
Connected to STP through SCTP (IPv4)
Connected to STP through SCTP (IPv6)
Process returned code: 0
ok

----------------------------------------------------------------------
Ran 1 test in 0.213s

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

OsmoSTP# configure terminal

OsmoSTP(config)# cs7 instance 0


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

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

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

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

OsmoSTP(config-cs7-asp)# no shutdown
DLSS7 <000c> ss7_asp_vty.c:671 0: ASP(asp1) Applying Adm State change: ENABLED -> ENABLED
DLSS7 <000c> ss7_asp.c:894 0: ASP(asp1) Restarting ASP asp1, r=127.0.0.110:2905<->l=27.0.0.1:54321
DLSS7 <000c> ss7_asp.c:935 0: ASP(asp1) ASP Restart for server not implemented yet!

OsmoSTP(config-cs7-asp)# exit
% NOTE: Skipping automatic restart of ASP since an explicit '[no] shutdown' command was entered
OsmoSTP(config-cs7)# asp asp2 2905 54321 m3ua

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

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

OsmoSTP(config-cs7-asp)# no shutdown
DLSS7 <000c> ss7_asp_vty.c:671 0: ASP(asp2) Applying Adm State change: ENABLED -> ENABLED
DLSS7 <000c> ss7_asp.c:894 0: ASP(asp2) Restarting ASP asp2, r=127.0.0.120:2905<->l=27.0.0.1:54321
DLSS7 <000c> ss7_asp.c:935 0: ASP(asp2) ASP Restart for server not implemented yet!

OsmoSTP(config-cs7-asp)# exit
% NOTE: Skipping automatic restart of ASP since an explicit '[no] shutdown' command was entered
OsmoSTP(config-cs7)# asp asp3 2905 54321 m3ua

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

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

OsmoSTP(config-cs7-asp)# no shutdown
DLSS7 <000c> ss7_asp_vty.c:671 0: ASP(asp3) Applying Adm State change: ENABLED -> ENABLED
DLSS7 <000c> ss7_asp.c:894 0: ASP(asp3) Restarting ASP asp3, r=127.0.0.130:2905<->l=27.0.0.1:54321
DLSS7 <000c> ss7_asp.c:935 0: ASP(asp3) ASP Restart for server not implemented yet!

OsmoSTP(config-cs7-asp)# exit
% NOTE: Skipping automatic restart of ASP since an explicit '[no] shutdown' command was entered
OsmoSTP(config-cs7)# as as1 m3ua

OsmoSTP(config-cs7-as)# asp asp1
DLSS7 <000c> ss7_instance.c:325 0: AS(as1) Created AS
DLSS7 <000c> ss7_as.c:161 0: AS(as1) Adding ASP asp1 to AS

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

OsmoSTP(config-cs7-as)# exit

OsmoSTP(config-cs7)# as as2 m3ua

OsmoSTP(config-cs7-as)# asp asp2
DLSS7 <000c> ss7_instance.c:325 0: AS(as2) Created AS
DLSS7 <000c> ss7_as.c:161 0: AS(as2) Adding ASP asp2 to AS

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

OsmoSTP(config-cs7-as)# exit

OsmoSTP(config-cs7)# as as3 m3ua

OsmoSTP(config-cs7-as)# asp asp3
DLSS7 <000c> ss7_instance.c:325 0: AS(as3) Created AS
DLSS7 <000c> ss7_as.c:161 0: AS(as3) Adding ASP asp3 to AS

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

OsmoSTP(config-cs7-as)# exit

OsmoSTP(config-cs7)# show running-config

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

OsmoSTP(config-cs7)# route-table system

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

OsmoSTP(config-cs7-rt)# update route 3.2.1 7.255.7 linkset as1 priority 6 qos-class 7
DLSS7 <000c> ss7_route.c:143 0: RT(dpc=6161=3.2.1,mask=0x3fff=7.255.7,prio=5,via=as1,st=available) Creating route: pc=6161=3.2.1 mask=0x3fff=7.255.7 prio=5 via AS as1 proto=m3ua

OsmoSTP(config-cs7-rt)# update route 3.2.1 7.255.7 linkset as2
DLSS7 <000c> ss7_route.c:143 0: RT(dpc=6161=3.2.1,mask=0x3fff=7.255.7,prio=5,via=as2,st=available) Creating route: pc=6161=3.2.1 mask=0x3fff=7.255.7 prio=5 via AS as2 proto=m3ua

OsmoSTP(config-cs7-rt)# update route 3.2.1 7.255.7 linkset as3 priority 2

OsmoSTP(config-cs7-rt)# show running-config
DLSS7 <000c> ss7_route.c:143 0: RT(dpc=6161=3.2.1,mask=0x3fff=7.255.7,prio=5,via=as3,st=available) Creating route: pc=6161=3.2.1 mask=0x3fff=7.255.7 prio=5 via AS as3 proto=m3ua

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

Destination            C Q P Linkset Name        Linkset Non-adj Route
---------------------- - - - ------------------- ------- ------- -------
3.2.1/14         INACC   0 2 as3                 UNAVAIL allowed UNAVAIL    
3.2.1/14         INACC   0 5 as2                 UNAVAIL allowed UNAVAIL    
3.2.1/14         INACC   7 6 as1                 UNAVAIL allowed UNAVAIL    

OsmoSTP(config-cs7-rt)# ! NOW ADD MORE GENERIC ROUTES (SMALLER BITMASK LENGTH)

OsmoSTP(config-cs7-rt)# update route 3.2.0 7.255.0 linkset as3 priority 3
DLSS7 <000c> ss7_route.c:143 0: RT(dpc=6160=3.2.0,mask=0x3ff8=7.255.0,prio=5,via=as3,st=available) Creating route: pc=6160=3.2.0 mask=0x3ff8=7.255.0 prio=5 via AS as3 proto=m3ua

OsmoSTP(config-cs7-rt)# update route 3.2.0 7.255.0 linkset as1 priority 1
DLSS7 <000c> ss7_route.c:143 0: RT(dpc=6160=3.2.0,mask=0x3ff8=7.255.0,prio=5,via=as1,st=available) Creating route: pc=6160=3.2.0 mask=0x3ff8=7.255.0 prio=5 via AS as1 proto=m3ua

OsmoSTP(config-cs7-rt)# update route 3.2.0 7.255.0 linkset as2 priority 1
DLSS7 <000c> ss7_route.c:143 0: RT(dpc=6160=3.2.0,mask=0x3ff8=7.255.0,prio=5,via=as2,st=available) Creating route: pc=6160=3.2.0 mask=0x3ff8=7.255.0 prio=5 via AS as2 proto=m3ua

OsmoSTP(config-cs7-rt)# update route 3.2.0 7.255.0 linkset as3 priority 1
DLSS7 <000c> ss7_route.c:143 0: RT(dpc=6160=3.2.0,mask=0x3ff8=7.255.0,prio=5,via=as3,st=available) Creating route: pc=6160=3.2.0 mask=0x3ff8=7.255.0 prio=5 via AS as3 proto=m3ua

OsmoSTP(config-cs7-rt)# update route 3.2.0 7.255.0 linkset as3 priority 2
DLSS7 <000c> ss7_route.c:143 0: RT(dpc=6160=3.2.0,mask=0x3ff8=7.255.0,prio=5,via=as3,st=available) Creating route: pc=6160=3.2.0 mask=0x3ff8=7.255.0 prio=5 via AS as3 proto=m3ua

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

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

Destination            C Q P Linkset Name        Linkset Non-adj Route
---------------------- - - - ------------------- ------- ------- -------
3.2.1/14         INACC   0 2 as3                 UNAVAIL allowed UNAVAIL    
3.2.1/14         INACC   0 5 as2                 UNAVAIL allowed UNAVAIL    
3.2.1/14         INACC   7 6 as1                 UNAVAIL allowed UNAVAIL    
3.2.0/11         INACC   0 1 as1                 UNAVAIL allowed UNAVAIL    
                         0 1 as2                 UNAVAIL allowed UNAVAIL    
                         0 1 as3                 UNAVAIL allowed UNAVAIL    
3.2.0/11         INACC   0 2 as3                 UNAVAIL allowed UNAVAIL    
3.2.0/11         INACC   0 3 as3                 UNAVAIL allowed UNAVAIL    

OsmoSTP(config-cs7-rt)# do show cs7 instance 0 route binding-table 3.2.1

Combined Linkset: dpc=6161=3.2.1, mask=0x3fff=7.255.7, prio=2
Loadshare Seed  Normal Route           Available  Alternative Route      Available
--------------  ---------------------  ---------  ---------------------  ---------
0               -                      -          -                      -         
1               -                      -          -                      -         
2               -                      -          -                      -         
3               -                      -          -                      -         
4               -                      -          -                      -         
5               -                      -          -                      -         
6               -                      -          -                      -         
7               -                      -          -                      -         
8               -                      -          -                      -         
9               -                      -          -                      -         
10              -                      -          -                      -         
11              -                      -          -                      -         
12              -                      -          -                      -         
13              -                      -          -                      -         
14              -                      -          -                      -         
15              -                      -          -                      -         
16              -                      -          -                      -         
17              -                      -          -                      -         
18              -                      -          -                      -         
19              -                      -          -                      -         
20              -                      -          -                      -         
21              -                      -          -                      -         
22              -                      -          -                      -         
23              -                      -          -                      -         
24              -                      -          -                      -         
25              -                      -          -                      -         
26              -                      -          -                      -         
27              -                      -          -                      -         
28              -                      -          -                      -         
29              -                      -          -                      -         
30              -                      -          -                      -         
31              -                      -          -                      -         
32              -                      -          -                      -         
33              -                      -          -                      -         
34              -                      -          -                      -         
35              -                      -          -                      -         
36              -                      -          -                      -         
37              -                      -          -                      -         
38              -                      -          -                      -         
39              -                      -          -                      -         
40              -                      -          -                      -         
41              -                      -          -                      -         
42              -                      -          -                      -         
43              -                      -          -                      -         
44              -                      -          -                      -         
45              -                      -          -                      -         
46              -                      -          -                      -         
47              -                      -          -                      -         
48              -                      -          -                      -         
49              -                      -          -                      -         
50              -                      -          -                      -         
51              -                      -          -                      -         
52              -                      -          -                      -         
53              -                      -          -                      -         
54              -                      -          -                      -         
55              -                      -          -                      -         
56              -                      -          -                      -         
57              -                      -          -                      -         
58              -                      -          -                      -         
59              -                      -          -                      -         
60              -                      -          -                      -         
61              -                      -          -                      -         
62              -                      -          -                      -         
63              -                      -          -                      -         
64              -                      -          -                      -         
65              -                      -          -                      -         
66              -                      -          -                      -         
67              -                      -          -                      -         
68              -                      -          -                      -         
69              -                      -          -                      -         
70              -                      -          -                      -         
71              -                      -          -                      -         
72              -                      -          -                      -         
73              -                      -          -                      -         
74              -                      -          -                      -         
75              -                      -          -                      -         
76              -                      -          -                      -         
77              -                      -          -                      -         
78              -                      -          -                      -         
79              -                      -          -                      -         
80              -                      -          -                      -         
81              -                      -          -                      -         
82              -                      -          -                      -         
83              -                      -          -                      -         
84              -                      -          -                      -         
85              -                      -          -                      -         
86              -                      -          -                      -         
87              -                      -          -                      -         
88              -                      -          -                      -         
89              -                      -          -                      -         
90              -                      -          -                      -         
91              -                      -          -                      -         
92              -                      -          -                      -         
93              -                      -          -                      -         
94              -                      -          -                      -         
95              -                      -          -                      -         
96              -                      -          -                      -         
97              -                      -          -                      -         
98              -                      -          -                      -         
99              -                      -          -                      -         
100             -                      -          -                      -         
101             -                      -          -                      -         
102             -                      -          -                      -         
103             -                      -          -                      -         
104             -                      -          -                      -         
105             -                      -          -                      -         
106             -                      -          -                      -         
107             -                      -          -                      -         
108             -                      -          -                      -         
109             -                      -          -                      -         
110             -                      -          -                      -         
111             -                      -          -                      -         
112             -                      -          -                      -         
113             -                      -          -                      -         
114             -                      -          -                      -         
115             -                      -          -                      -         
116             -                      -          -                      -         
117             -                      -          -                      -         
118             -                      -          -                      -         
119             -                      -          -                      -         
120             -                      -          -                      -         
121             -                      -          -                      -         
122             -                      -          -                      -         
123             -                      -          -                      -         
124             -                      -          -                      -         
125             -                      -          -                      -         
126             -                      -          -                      -         
127             -                      -          -                      -         

OsmoSTP(config-cs7-rt)# ! NOW TEST LOOKUP FAILS AS EXPECTED (all route links are down):

OsmoSTP(config-cs7-rt)# do show cs7 instance 0 route-lookup 3.2.1 from 0.0.1 sls 0
DLSS7 <000c> ss7_combined_linkset.c:297 0: CombinedLinkset(dpc=6161=3.2.1,mask=0x3fff=7.255.7,prio=2) RT loookup: OPC=1=0.0.1,DPC=6161=3.2.1,SLS=0 -> eSLS=32: picked Normal Route via 'as3' round-robin style (unavailable)
DLSS7 <000c> ss7_combined_linkset.c:322 0: CombinedLinkset(dpc=6161=3.2.1,mask=0x3fff=7.255.7,prio=2) RT Lookup: OPC=1=0.0.1,DPC=6161=3.2.1,SLS=0 -> eSLS=32: Normal Route via 'as3' unavailable, all Alternative Routes unavailable
DLSS7 <000c> ss7_combined_linkset.c:297 0: CombinedLinkset(dpc=6161=3.2.1,mask=0x3fff=7.255.7,prio=5) RT loookup: OPC=1=0.0.1,DPC=6161=3.2.1,SLS=0 -> eSLS=32: picked Normal Route via 'as2' round-robin style (unavailable)
DLSS7 <000c> ss7_combined_linkset.c:322 0: CombinedLinkset(dpc=6161=3.2.1,mask=0x3fff=7.255.7,prio=5) RT Lookup: OPC=1=0.0.1,DPC=6161=3.2.1,SLS=0 -> eSLS=32: Normal Route via 'as2' unavailable, all Alternative Routes unavailable
DLSS7 <000c> ss7_combined_linkset.c:297 0: CombinedLinkset(dpc=6161=3.2.1,mask=0x3fff=7.255.7,prio=6) RT loookup: OPC=1=0.0.1,DPC=6161=3.2.1,SLS=0 -> eSLS=32: picked Normal Route via 'as1' round-robin style (unavailable)
DLSS7 <000c> ss7_combined_linkset.c:322 0: CombinedLinkset(dpc=6161=3.2.1,mask=0x3fff=7.255.7,prio=6) RT Lookup: OPC=1=0.0.1,DPC=6161=3.2.1,SLS=0 -> eSLS=32: Normal Route via 'as1' unavailable, all Alternative Routes unavailable
DLSS7 <000c> ss7_combined_linkset.c:297 0: CombinedLinkset(dpc=6160=3.2.0,mask=0x3ff8=7.255.0,prio=1) RT loookup: OPC=1=0.0.1,DPC=6161=3.2.1,SLS=0 -> eSLS=32: picked Normal Route via 'as1' round-robin style (unavailable)
DLSS7 <000c> ss7_combined_linkset.c:322 0: CombinedLinkset(dpc=6160=3.2.0,mask=0x3ff8=7.255.0,prio=1) RT Lookup: OPC=1=0.0.1,DPC=6161=3.2.1,SLS=0 -> eSLS=32: Normal Route via 'as1' unavailable, all Alternative Routes unavailable
DLSS7 <000c> ss7_combined_linkset.c:297 0: CombinedLinkset(dpc=6160=3.2.0,mask=0x3ff8=7.255.0,prio=2) RT loookup: OPC=1=0.0.1,DPC=6161=3.2.1,SLS=0 -> eSLS=32: picked Normal Route via 'as3' round-robin style (unavailable)
DLSS7 <000c> ss7_combined_linkset.c:322 0: CombinedLinkset(dpc=6160=3.2.0,mask=0x3ff8=7.255.0,prio=2) RT Lookup: OPC=1=0.0.1,DPC=6161=3.2.1,SLS=0 -> eSLS=32: Normal Route via 'as3' unavailable, all Alternative Routes unavailable
DLSS7 <000c> ss7_combined_linkset.c:297 0: CombinedLinkset(dpc=6160=3.2.0,mask=0x3ff8=7.255.0,prio=3) RT loookup: OPC=1=0.0.1,DPC=6161=3.2.1,SLS=0 -> eSLS=32: picked Normal Route via 'as3' round-robin style (unavailable)
DLSS7 <000c> ss7_combined_linkset.c:322 0: CombinedLinkset(dpc=6160=3.2.0,mask=0x3ff8=7.255.0,prio=3) RT Lookup: OPC=1=0.0.1,DPC=6161=3.2.1,SLS=0 -> eSLS=32: Normal Route via 'as3' unavailable, all Alternative Routes unavailable
No route found for label 'OPC=1=0.0.1,DPC=6161=3.2.1,SLS=0'
Copyright (C) 2015-2020 by Harald Welte <laforge@gnumonks.org>
Contributions by Holger Freyther, Neels Hofmeyr, Pau Espin, Vadim Yanitskiy
License GPLv2+: GNU GPL Version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

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

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

OsmoSTP> enable

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

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

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

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

OsmoSTP# show cs7 m3ua 2905 ?
  <cr>  

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

OsmoSTP# show cs7 m3ua sctp 2905 ?
  <cr>  

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

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

OsmoSTP# show cs7 instance 0 as ?
  active         Display all active ASs
  all            Display all ASs (default)
  m3ua           Display all m3ua ASs
  sua            Display all SUA ASs
  name           Look up AS with a given name
  binding-table  Display binding table

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

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

OsmoSTP# configure terminal

OsmoSTP(config)# cs7 instance 0


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

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

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

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

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

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

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

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

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

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

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

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

OsmoSTP(config-cs7)# sccp-address foo

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

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


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

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

OsmoSTP(config-cs7-sccpaddr)# exit


OsmoSTP(config-cs7)# sccp-address foobarfoobarfoobarfoobarfoobarfoobar
DLSS7 <000c> ss7_instance.c:649 0: osmo_sccp_addr_create: SCCP address name too long: 'foobarfoobarfoobarfoobarfoobarfoobar'
Error: SCCP address name too long: 'foobarfoobarfoobarfoobarfoobarfoobar'
% Command incomplete.

OsmoSTP(config-cs7)# exit

OsmoSTP(config)# cs7 instance 1
DLSS7 <000c> ss7_instance.c:65 1: Creating SS7 Instance
DLSS7 <000c> ss7_route_table.c:62 1: Creating Route Table system

OsmoSTP(config-cs7)# sccp-address foo
DLSS7 <000c> ss7_instance.c:658 1: osmo_sccp_addr_create: SCCP address name already used in cs7 instance 0: 'foo'
Error: SCCP address name already used in cs7 instance other than 1: 'foo'
% Command incomplete.
OsmoSTP(config-cs7)# sccp-address bar

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

OsmoSTP(config-cs7-sccpaddr)# exit

OsmoSTP(config-cs7)# exit

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

OsmoSTP(config)# cs7 instance 0


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

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

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

OsmoSTP(config-cs7-asp)# no ?
  remote-ip          Specify Remote IP Address of ASP
  local-ip           Specify Local IP Address from which to contact ASP
  sctp-param         Configure SCTP parameters
  tcp-param          Configure TCP parameters
  destination-audit  Configure ASP Auditing (xUA DAUD)
  quirk              Disable quirk to work around interop issues
  shutdown           Terminates SCTP association; New associations will be rejected

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

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

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

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

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

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

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

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

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

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

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

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

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

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

OsmoSTP(config-cs7-asp)# exit
% NOTE: Skipping automatic restart of ASP since an explicit '[no] shutdown' command was entered
OsmoSTP(config-cs7)# as my-ass m3ua
DLSS7 <000c> ss7_instance.c:325 0: AS(my-ass) Created AS

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

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

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

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

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

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

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

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

OsmoSTP(config-cs7-as)# do show cs7 instance 0 as name my-ass-not-exists
% No AS 'my-ass-not-exists' found

OsmoSTP(config-cs7-as)# do show cs7 instance 0 as binding-table name my-ass
Loadshare Seed  Normal ASP       Active  Alternative ASP  Active
--------------  ---------------  ------  ---------------  ------
0               -                -       -                -      
1               -                -       -                -      
2               -                -       -                -      
3               -                -       -                -      
4               -                -       -                -      
5               -                -       -                -      
6               -                -       -                -      
7               -                -       -                -      
8               -                -       -                -      
9               -                -       -                -      
10              -                -       -                -      
11              -                -       -                -      
12              -                -       -                -      
13              -                -       -                -      
14              -                -       -                -      
15              -                -       -                -      
16              -                -       -                -      
17              -                -       -                -      
18              -                -       -                -      
19              -                -       -                -      
20              -                -       -                -      
21              -                -       -                -      
22              -                -       -                -      
23              -                -       -                -      
24              -                -       -                -      
25              -                -       -                -      
26              -                -       -                -      
27              -                -       -                -      
28              -                -       -                -      
29              -                -       -                -      
30              -                -       -                -      
31              -                -       -                -      
32              -                -       -                -      
33              -                -       -                -      
34              -                -       -                -      
35              -                -       -                -      
36              -                -       -                -      
37              -                -       -                -      
38              -                -       -                -      
39              -                -       -                -      
40              -                -       -                -      
41              -                -       -                -      
42              -                -       -                -      
43              -                -       -                -      
44              -                -       -                -      
45              -                -       -                -      
46              -                -       -                -      
47              -                -       -                -      
48              -                -       -                -      
49              -                -       -                -      
50              -                -       -                -      
51              -                -       -                -      
52              -                -       -                -      
53              -                -       -                -      
54              -                -       -                -      
55              -                -       -                -      
56              -                -       -                -      
57              -                -       -                -      
58              -                -       -                -      
59              -                -       -                -      
60              -                -       -                -      
61              -                -       -                -      
62              -                -       -                -      
63              -                -       -                -      
64              -                -       -                -      
65              -                -       -                -      
66              -                -       -                -      
67              -                -       -                -      
68              -                -       -                -      
69              -                -       -                -      
70              -                -       -                -      
71              -                -       -                -      
72              -                -       -                -      
73              -                -       -                -      
74              -                -       -                -      
75              -                -       -                -      
76              -                -       -                -      
77              -                -       -                -      
78              -                -       -                -      
79              -                -       -                -      
80              -                -       -                -      
81              -                -       -                -      
82              -                -       -                -      
83              -                -       -                -      
84              -                -       -                -      
85              -                -       -                -      
86              -                -       -                -      
87              -                -       -                -      
88              -                -       -                -      
89              -                -       -                -      
90              -                -       -                -      
91              -                -       -                -      
92              -                -       -                -      
93              -                -       -                -      
94              -                -       -                -      
95              -                -       -                -      
96              -                -       -                -      
97              -                -       -                -      
98              -                -       -                -      
99              -                -       -                -      
100             -                -       -                -      
101             -                -       -                -      
102             -                -       -                -      
103             -                -       -                -      
104             -                -       -                -      
105             -                -       -                -      
106             -                -       -                -      
107             -                -       -                -      
108             -                -       -                -      
109             -                -       -                -      
110             -                -       -                -      
111             -                -       -                -      
112             -                -       -                -      
113             -                -       -                -      
114             -                -       -                -      
115             -                -       -                -      
116             -                -       -                -      
117             -                -       -                -      
118             -                -       -                -      
119             -                -       -                -      
120             -                -       -                -      
121             -                -       -                -      
122             -                -       -                -      
123             -                -       -                -      
124             -                -       -                -      
125             -                -       -                -      
126             -                -       -                -      
127             -                -       -                -      

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

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


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

OsmoSTP(config-cs7-as)# exit

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

OsmoSTP(config-cs7)# exit



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

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



OsmoSTP(config)# show running-config

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

OsmoSTP(config)# do show cs7 instance 0 users


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

OsmoSTP(config)# cs7 instance 0

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

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


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

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


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

OsmoSTP(config-cs7)# show running-config

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

OsmoSTP(config-cs7)# sccp-timer ias 5
DLSS7 <000c> ss7_instance.c:159 0: Creating SCCP instance
DLSCCP <000d> sccp_instance.c:168 0: SCCP(rctx=0) Binding user 'SCCP Management' to SSN=1 PC=(no PC)

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

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

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

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

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

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

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

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

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

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

OsmoSTP(config-cs7)# show running-config

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

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

OsmoSTP(config-cs7)# show running-config

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

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

OsmoSTP(config-cs7)# show running-config

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

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

OsmoSTP(config-cs7)# show running-config

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

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

OsmoSTP(config-cs7)# show running-config

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

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

OsmoSTP(config-cs7)# show running-config

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

OsmoSTP(config-cs7)# route-table system

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

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

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

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

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

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

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

OsmoSTP(config-cs7-rt)# update route 3.2.1 7.255.7 linkset my-ass priority 5
DLSS7 <000c> ss7_route.c:143 0: RT(dpc=6161=3.2.1,mask=0x3fff=7.255.7,prio=5,via=my-ass,st=available) Creating route: pc=6161=3.2.1 mask=0x3fff=7.255.7 prio=5 via AS my-ass proto=m3ua

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

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

OsmoSTP(config-cs7-rt)# update route 3.2.1 7.255.7 linkset my-ass priority 6
DLSS7 <000c> ss7_route.c:143 0: RT(dpc=6161=3.2.1,mask=0x3fff=7.255.7,prio=5,via=my-ass,st=available) Creating route: pc=6161=3.2.1 mask=0x3fff=7.255.7 prio=5 via AS my-ass proto=m3ua

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

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

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

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

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

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

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

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

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

signal 15 received

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

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

> ls -l /proc/34400/fd
total 0
lr-x------ 1 build build 64 Sep 29 13:21 0 -> pipe:[2893407896]
l-wx------ 1 build build 64 Sep 29 13:21 1 -> pipe:[2893407897]
l-wx------ 1 build build 64 Sep 29 13:21 2 -> pipe:[2893407898]
l-wx------ 1 build build 64 Sep 29 13:21 3 -> /dev/null


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


> ss -tln
State  Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
LISTEN 0      10         127.0.0.1:4239      0.0.0.0:*          


> ps xua | grep osmo
build          1  0.0  0.0   2500   876 ?        Ss   13:21   0:00 /usr/bin/timeout 30m /osmo-ci/scripts/wrapper_core_bt_on_error.sh /build/contrib/jenkins.sh
build          7  0.0  0.0   2584   924 ?        S    13:21   0:00 /bin/sh /osmo-ci/scripts/wrapper_core_bt_on_error.sh /build/contrib/jenkins.sh
build      34400 60.0  0.0  27940 23300 ?        S    13:21   0:00 /usr/bin/python3 /usr/local/bin/osmotestvty.py -p /build -w /build -v
build      34401  0.0  0.0 21474894072 20508 ?   S    13:21   0:00 /build/stp/.libs/osmo-stp -c /build/doc/examples/osmo-stp.cfg
build      34421  0.0  0.0   2584   896 ?        S    13:21   0:00 /bin/sh -c ps xua | grep osmo
build      34423  0.0  0.0   3708  1804 ?        S    13:21   0:00 grep osmo

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

> ls -l /proc/34400/fd
total 0
lr-x------ 1 build build 64 Sep 29 13:21 0 -> pipe:[2893407896]
l-wx------ 1 build build 64 Sep 29 13:21 1 -> pipe:[2893407897]
l-wx------ 1 build build 64 Sep 29 13:21 2 -> pipe:[2893407898]
l-wx------ 1 build build 64 Sep 29 13:21 3 -> /dev/null


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


> ss -tln
State  Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
LISTEN 0      10         127.0.0.1:4239      0.0.0.0:*          


> ps xua | grep osmo
build          1  0.0  0.0   2500   876 ?        Ss   13:21   0:00 /usr/bin/timeout 30m /osmo-ci/scripts/wrapper_core_bt_on_error.sh /build/contrib/jenkins.sh
build          7  0.0  0.0   2584   924 ?        S    13:21   0:00 /bin/sh /osmo-ci/scripts/wrapper_core_bt_on_error.sh /build/contrib/jenkins.sh
build      34400 18.1  0.0  27940 23300 ?        S    13:21   0:00 /usr/bin/python3 /usr/local/bin/osmotestvty.py -p /build -w /build -v
build      34425 16.6  0.0 21474894072 20536 ?   S    13:21   0:00 /build/stp/.libs/osmo-stp -c /build/doc/examples/osmo-stp.cfg
build      34445  0.0  0.0   2584   880 ?        S    13:21   0:00 /bin/sh -c ps xua | grep osmo
build      34447  0.0  0.0   3708  1780 ?        S    13:21   0:00 grep osmo

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

> ls -l /proc/34400/fd
total 0
lr-x------ 1 build build 64 Sep 29 13:21 0 -> pipe:[2893407896]
l-wx------ 1 build build 64 Sep 29 13:21 1 -> pipe:[2893407897]
l-wx------ 1 build build 64 Sep 29 13:21 2 -> pipe:[2893407898]
l-wx------ 1 build build 64 Sep 29 13:21 3 -> /dev/null


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


> ss -tln
State  Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
LISTEN 0      10         127.0.0.1:4239      0.0.0.0:*          


> ps xua | grep osmo
build          1  0.0  0.0   2500   876 ?        Ss   13:21   0:00 /usr/bin/timeout 30m /osmo-ci/scripts/wrapper_core_bt_on_error.sh /build/contrib/jenkins.sh
build          7  0.0  0.0   2584   924 ?        S    13:21   0:00 /bin/sh /osmo-ci/scripts/wrapper_core_bt_on_error.sh /build/contrib/jenkins.sh
build      34400 10.7  0.0  27940 23300 ?        S    13:21   0:00 /usr/bin/python3 /usr/local/bin/osmotestvty.py -p /build -w /build -v
build      34449 16.6  0.0 21474894072 20488 ?   S    13:21   0:00 /build/stp/.libs/osmo-stp -c /build/doc/examples/osmo-stp.cfg
build      34469  0.0  0.0   2584   956 ?        S    13:21   0:00 /bin/sh -c ps xua | grep osmo
build      34471  0.0  0.0   3708  1948 ?        S    13:21   0:00 grep osmo

ok

----------------------------------------------------------------------
Ran 3 tests in 0.663s

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

> ls -l /proc/34473/fd
total 0
lr-x------ 1 build build 64 Sep 29 13:21 0 -> pipe:[2893407896]
l-wx------ 1 build build 64 Sep 29 13:21 1 -> pipe:[2893407897]
l-wx------ 1 build build 64 Sep 29 13:21 2 -> pipe:[2893407898]
l-wx------ 1 build build 64 Sep 29 13:21 3 -> /dev/null


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


> ss -tln
State  Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
LISTEN 0      10         127.0.0.1:4239      0.0.0.0:*          


> ps xua | grep osmo
build          1  0.0  0.0   2500   876 ?        Ss   13:21   0:00 /usr/bin/timeout 30m /osmo-ci/scripts/wrapper_core_bt_on_error.sh /build/contrib/jenkins.sh
build          7  0.0  0.0   2584   924 ?        S    13:21   0:00 /bin/sh /osmo-ci/scripts/wrapper_core_bt_on_error.sh /build/contrib/jenkins.sh
build      34473 54.5  0.0  28064 23276 ?        S    13:21   0:00 /usr/bin/python3 /usr/local/bin/osmotestconfig.py -p /build -w /build -v
build      34474  0.0  0.0 21474894072 20412 ?   S    13:21   0:00 /build/stp/.libs/osmo-stp -c /build/doc/examples/osmo-stp.cfg
build      34494  0.0  0.0   2584   956 ?        S    13:21   0:00 /bin/sh -c ps xua | grep osmo
build      34496  0.0  0.0   3708  1828 ?        S    13:21   0:00 grep osmo

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

> ls -l /proc/34473/fd
total 0
lr-x------ 1 build build 64 Sep 29 13:21 0 -> pipe:[2893407896]
l-wx------ 1 build build 64 Sep 29 13:21 1 -> pipe:[2893407897]
l-wx------ 1 build build 64 Sep 29 13:21 2 -> pipe:[2893407898]
l-wx------ 1 build build 64 Sep 29 13:21 3 -> /dev/null


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


> ss -tln
State  Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
LISTEN 0      10         127.0.0.1:4239      0.0.0.0:*          


> ps xua | grep osmo
build          1  0.0  0.0   2500   876 ?        Ss   13:21   0:00 /usr/bin/timeout 30m /osmo-ci/scripts/wrapper_core_bt_on_error.sh /build/contrib/jenkins.sh
build          7  0.0  0.0   2584   924 ?        S    13:21   0:00 /bin/sh /osmo-ci/scripts/wrapper_core_bt_on_error.sh /build/contrib/jenkins.sh
build      34473 20.5  0.0  28028 23804 ?        S    13:21   0:00 /usr/bin/python3 /usr/local/bin/osmotestconfig.py -p /build -w /build -v
build      34498 16.6  0.0 21474894072 20356 ?   S    13:21   0:00 /build/stp/.libs/osmo-stp -c /build/writtenconfig/osmo-stp.cfg2u9ws_0f
build      34518  0.0  0.0   2584   904 ?        S    13:21   0:00 /bin/sh -c ps xua | grep osmo
build      34520  0.0  0.0   3708  1828 ?        S    13:21   0:00 grep osmo

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

> ls -l /proc/34473/fd
total 0
lr-x------ 1 build build 64 Sep 29 13:21 0 -> pipe:[2893407896]
l-wx------ 1 build build 64 Sep 29 13:21 1 -> pipe:[2893407897]
l-wx------ 1 build build 64 Sep 29 13:21 2 -> pipe:[2893407898]
l-wx------ 1 build build 64 Sep 29 13:21 3 -> /dev/null


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


> ss -tln
State  Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
LISTEN 0      10         127.0.0.1:4239      0.0.0.0:*          


> ps xua | grep osmo
build          1  0.0  0.0   2500   876 ?        Ss   13:21   0:00 /usr/bin/timeout 30m /osmo-ci/scripts/wrapper_core_bt_on_error.sh /build/contrib/jenkins.sh
build          7  0.0  0.0   2584   924 ?        S    13:21   0:00 /bin/sh /osmo-ci/scripts/wrapper_core_bt_on_error.sh /build/contrib/jenkins.sh
build      34473 12.5  0.0  28028 23804 ?        S    13:21   0:00 /usr/bin/python3 /usr/local/bin/osmotestconfig.py -p /build -w /build -v
build      34522  0.0  0.0 21474894072 20644 ?   S    13:21   0:00 /build/stp/.libs/osmo-stp -c /build/writtenconfig/osmo-stp.cfg2u9ws_0f
build      34542  0.0  0.0   2584   928 ?        S    13:21   0:00 /bin/sh -c ps xua | grep osmo
build      34544  0.0  0.0   3708  1820 ?        S    13:21   0:00 grep osmo

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

> ls -l /proc/34473/fd
total 0
lr-x------ 1 build build 64 Sep 29 13:21 0 -> pipe:[2893407896]
l-wx------ 1 build build 64 Sep 29 13:21 1 -> pipe:[2893407897]
l-wx------ 1 build build 64 Sep 29 13:21 2 -> pipe:[2893407898]
l-wx------ 1 build build 64 Sep 29 13:21 3 -> /dev/null


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


> ss -tln
State  Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
LISTEN 0      10         127.0.0.1:4239      0.0.0.0:*          


> ps xua | grep osmo
build          1  0.0  0.0   2500   876 ?        Ss   13:21   0:00 /usr/bin/timeout 30m /osmo-ci/scripts/wrapper_core_bt_on_error.sh /build/contrib/jenkins.sh
build          7  0.0  0.0   2584   924 ?        S    13:21   0:00 /bin/sh /osmo-ci/scripts/wrapper_core_bt_on_error.sh /build/contrib/jenkins.sh
build      34473  8.7  0.0  28028 23804 ?        S    13:21   0:00 /usr/bin/python3 /usr/local/bin/osmotestconfig.py -p /build -w /build -v
build      34546  0.0  0.0 21474894072 20432 ?   S    13:21   0:00 /build/stp/.libs/osmo-stp -c /build/doc/examples/osmo-stp-multihome.cfg
build      34566  0.0  0.0   2584   932 ?        S    13:21   0:00 /bin/sh -c ps xua | grep osmo
build      34568  0.0  0.0   3708  1744 ?        S    13:21   0:00 grep osmo

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

> ls -l /proc/34473/fd
total 0
lr-x------ 1 build build 64 Sep 29 13:21 0 -> pipe:[2893407896]
l-wx------ 1 build build 64 Sep 29 13:21 1 -> pipe:[2893407897]
l-wx------ 1 build build 64 Sep 29 13:21 2 -> pipe:[2893407898]
l-wx------ 1 build build 64 Sep 29 13:21 3 -> /dev/null


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


> ss -tln
State  Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
LISTEN 0      10         127.0.0.1:4239      0.0.0.0:*          


> ps xua | grep osmo
build          1  0.0  0.0   2500   876 ?        Ss   13:21   0:00 /usr/bin/timeout 30m /osmo-ci/scripts/wrapper_core_bt_on_error.sh /build/contrib/jenkins.sh
build          7  0.0  0.0   2584   924 ?        S    13:21   0:00 /bin/sh /osmo-ci/scripts/wrapper_core_bt_on_error.sh /build/contrib/jenkins.sh
build      34473  7.7  0.0  28328 24064 ?        S    13:21   0:00 /usr/bin/python3 /usr/local/bin/osmotestconfig.py -p /build -w /build -v
build      34570 16.6  0.0 21474894072 20412 ?   S    13:21   0:00 /build/stp/.libs/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfgms46ekgl
build      34590  0.0  0.0   2584   916 ?        S    13:21   0:00 /bin/sh -c ps xua | grep osmo
build      34592  0.0  0.0   3708  1780 ?        S    13:21   0:00 grep osmo

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

> ls -l /proc/34473/fd
total 0
lr-x------ 1 build build 64 Sep 29 13:21 0 -> pipe:[2893407896]
l-wx------ 1 build build 64 Sep 29 13:21 1 -> pipe:[2893407897]
l-wx------ 1 build build 64 Sep 29 13:21 2 -> pipe:[2893407898]
l-wx------ 1 build build 64 Sep 29 13:21 3 -> /dev/null


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


> ss -tln
State  Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
LISTEN 0      10         127.0.0.1:4239      0.0.0.0:*          


> ps xua | grep osmo
build          1  0.0  0.0   2500   876 ?        Ss   13:21   0:00 /usr/bin/timeout 30m /osmo-ci/scripts/wrapper_core_bt_on_error.sh /build/contrib/jenkins.sh
build          7  0.0  0.0   2584   924 ?        S    13:21   0:00 /bin/sh /osmo-ci/scripts/wrapper_core_bt_on_error.sh /build/contrib/jenkins.sh
build      34473  6.4  0.0  28328 24064 ?        S    13:21   0:00 /usr/bin/python3 /usr/local/bin/osmotestconfig.py -p /build -w /build -v
build      34594 25.0  0.0 21474894072 20676 ?   S    13:21   0:00 /build/stp/.libs/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfgms46ekgl
build      34614  0.0  0.0   2584   956 ?        S    13:21   0:00 /bin/sh -c ps xua | grep osmo
build      34616  0.0  0.0   3708  1848 ?        S    13:21   0:00 grep osmo

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

Regression tests.

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

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

All 3 tests were successful.
make[4]: Leaving directory '/build/tests'
make[3]: Leaving directory '/build/tests'
make[2]: Leaving directory '/build/tests'
Making check in examples
make[2]: Entering directory '/build/examples'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/build/examples'
Making check in stp
make[2]: Entering directory '/build/stp'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/build/stp'
Making check in doc
make[2]: Entering directory '/build/doc'
Making check in examples
make[3]: Entering directory '/build/doc/examples'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/build/doc/examples'
Making check in manuals
make[3]: Entering directory '/build/doc/manuals'
if [ -n "$ASCIIDOC_WARNINGS_CHECK" ]; then \
	make osmostp-usermanual.check; \
fi
make[4]: Entering directory '/build/doc/manuals'
if ! [ -f osmostp-usermanual.adoc ]; then \
	ln -s osmostp-usermanual.adoc osmostp-usermanual.adoc; \
fi
asciidoc -v -f /opt/osmo-gsm-manuals/build/mscgen-filter.conf -f /opt/osmo-gsm-manuals/build/diag-filter.conf -f /opt/osmo-gsm-manuals/build/docinfo-releaseinfo.conf -f /opt/osmo-gsm-manuals/build/graphviz-filter.conf -a srcdir='/build/doc/manuals' -a commondir='/opt/osmo-gsm-manuals/common'  osmostp-usermanual.adoc > osmostp-usermanual.check 2>&1
touch osmostp-usermanual.check
make[4]: Leaving directory '/build/doc/manuals'
make[3]: Leaving directory '/build/doc/manuals'
make[3]: Entering directory '/build/doc'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/build/doc'
make[2]: Leaving directory '/build/doc'
Making check in contrib
make[2]: Entering directory '/build/contrib'
Making check in systemd
make[3]: Entering directory '/build/contrib/systemd'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/build/contrib/systemd'
make[3]: Entering directory '/build/contrib'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/build/contrib'
make[2]: Leaving directory '/build/contrib'
make[2]: Entering directory '/build'
make[2]: Nothing to be done for 'check-am'.
make[2]: Leaving directory '/build'
make[1]: Leaving directory '/build'
+ DISTCHECK_CONFIGURE_FLAGS=--enable-external-tests --enable-manuals make -j 12 distcheck
make  dist-bzip2 dist-gzip am__post_remove_distdir='@:'
make[1]: Entering directory '/build'
make  distdir-am
make[2]: Entering directory '/build'
if test -d "libosmo-sigtran-2.1.0.164-775d"; then find "libosmo-sigtran-2.1.0.164-775d" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "libosmo-sigtran-2.1.0.164-775d" || { sleep 5 && rm -rf "libosmo-sigtran-2.1.0.164-775d"; }; else :; fi
test -d "libosmo-sigtran-2.1.0.164-775d" || mkdir "libosmo-sigtran-2.1.0.164-775d"
 (cd include && make  top_distdir=../libosmo-sigtran-2.1.0.164-775d distdir=../libosmo-sigtran-2.1.0.164-775d/include \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/build/include'
make  distdir-am
make[4]: Entering directory '/build/include'
 (cd osmocom && make  top_distdir=../../libosmo-sigtran-2.1.0.164-775d distdir=../../libosmo-sigtran-2.1.0.164-775d/include/osmocom \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[5]: Entering directory '/build/include/osmocom'
make  distdir-am
make[6]: Entering directory '/build/include/osmocom'
 (cd sccp && make  top_distdir=../../../libosmo-sigtran-2.1.0.164-775d distdir=../../../libosmo-sigtran-2.1.0.164-775d/include/osmocom/sccp \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[7]: Entering directory '/build/include/osmocom/sccp'
make  distdir-am
make[8]: Entering directory '/build/include/osmocom/sccp'
make[8]: Leaving directory '/build/include/osmocom/sccp'
make[7]: Leaving directory '/build/include/osmocom/sccp'
 (cd sigtran && make  top_distdir=../../../libosmo-sigtran-2.1.0.164-775d distdir=../../../libosmo-sigtran-2.1.0.164-775d/include/osmocom/sigtran \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[7]: Entering directory '/build/include/osmocom/sigtran'
make  distdir-am
make[8]: Entering directory '/build/include/osmocom/sigtran'
make[8]: Leaving directory '/build/include/osmocom/sigtran'
make[7]: Leaving directory '/build/include/osmocom/sigtran'
make[6]: Leaving directory '/build/include/osmocom'
make[5]: Leaving directory '/build/include/osmocom'
make[4]: Leaving directory '/build/include'
make[3]: Leaving directory '/build/include'
 (cd src && make  top_distdir=../libosmo-sigtran-2.1.0.164-775d distdir=../libosmo-sigtran-2.1.0.164-775d/src \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/build/src'
make  distdir-am
make[4]: Entering directory '/build/src'
make[4]: Leaving directory '/build/src'
make[3]: Leaving directory '/build/src'
 (cd tests && make  top_distdir=../libosmo-sigtran-2.1.0.164-775d distdir=../libosmo-sigtran-2.1.0.164-775d/tests \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/build/tests'
make  distdir-am
make[4]: Entering directory '/build/tests'
 (cd xua && make  top_distdir=../../libosmo-sigtran-2.1.0.164-775d distdir=../../libosmo-sigtran-2.1.0.164-775d/tests/xua \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[5]: Entering directory '/build/tests/xua'
make  distdir-am
make[6]: Entering directory '/build/tests/xua'
make[6]: Leaving directory '/build/tests/xua'
make[5]: Leaving directory '/build/tests/xua'
 (cd m2ua && make  top_distdir=../../libosmo-sigtran-2.1.0.164-775d distdir=../../libosmo-sigtran-2.1.0.164-775d/tests/m2ua \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[5]: Entering directory '/build/tests/m2ua'
make  distdir-am
make[6]: Entering directory '/build/tests/m2ua'
make[6]: Leaving directory '/build/tests/m2ua'
make[5]: Leaving directory '/build/tests/m2ua'
 (cd ss7 && make  top_distdir=../../libosmo-sigtran-2.1.0.164-775d distdir=../../libosmo-sigtran-2.1.0.164-775d/tests/ss7 \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[5]: Entering directory '/build/tests/ss7'
make  distdir-am
make[6]: Entering directory '/build/tests/ss7'
make[6]: Leaving directory '/build/tests/ss7'
make[5]: Leaving directory '/build/tests/ss7'
 (cd vty && make  top_distdir=../../libosmo-sigtran-2.1.0.164-775d distdir=../../libosmo-sigtran-2.1.0.164-775d/tests/vty \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[5]: Entering directory '/build/tests/vty'
make  distdir-am
make[6]: Entering directory '/build/tests/vty'
make[6]: Leaving directory '/build/tests/vty'
make[5]: Leaving directory '/build/tests/vty'
make[4]: Leaving directory '/build/tests'
make[3]: Leaving directory '/build/tests'
 (cd examples && make  top_distdir=../libosmo-sigtran-2.1.0.164-775d distdir=../libosmo-sigtran-2.1.0.164-775d/examples \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/build/examples'
make  distdir-am
make[4]: Entering directory '/build/examples'
make[4]: Leaving directory '/build/examples'
make[3]: Leaving directory '/build/examples'
 (cd stp && make  top_distdir=../libosmo-sigtran-2.1.0.164-775d distdir=../libosmo-sigtran-2.1.0.164-775d/stp \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/build/stp'
make  distdir-am
make[4]: Entering directory '/build/stp'
make[4]: Leaving directory '/build/stp'
make[3]: Leaving directory '/build/stp'
 (cd doc && make  top_distdir=../libosmo-sigtran-2.1.0.164-775d distdir=../libosmo-sigtran-2.1.0.164-775d/doc \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/build/doc'
make  distdir-am
make[4]: Entering directory '/build/doc'
 (cd examples && make  top_distdir=../../libosmo-sigtran-2.1.0.164-775d distdir=../../libosmo-sigtran-2.1.0.164-775d/doc/examples \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[5]: Entering directory '/build/doc/examples'
make  distdir-am
make[6]: Entering directory '/build/doc/examples'
make[6]: Leaving directory '/build/doc/examples'
make[5]: Leaving directory '/build/doc/examples'
 (cd manuals && make  top_distdir=../../libosmo-sigtran-2.1.0.164-775d distdir=../../libosmo-sigtran-2.1.0.164-775d/doc/manuals \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[5]: Entering directory '/build/doc/manuals'
make  distdir-am
make[6]: Entering directory '/build/doc/manuals'
make[6]: Leaving directory '/build/doc/manuals'
make[5]: Leaving directory '/build/doc/manuals'
make[4]: Leaving directory '/build/doc'
make[3]: Leaving directory '/build/doc'
 (cd contrib && make  top_distdir=../libosmo-sigtran-2.1.0.164-775d distdir=../libosmo-sigtran-2.1.0.164-775d/contrib \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/build/contrib'
make  distdir-am
make[4]: Entering directory '/build/contrib'
 (cd systemd && make  top_distdir=../../libosmo-sigtran-2.1.0.164-775d distdir=../../libosmo-sigtran-2.1.0.164-775d/contrib/systemd \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[5]: Entering directory '/build/contrib/systemd'
make  distdir-am
make[6]: Entering directory '/build/contrib/systemd'
make[6]: Leaving directory '/build/contrib/systemd'
make[5]: Leaving directory '/build/contrib/systemd'
make[4]: Leaving directory '/build/contrib'
make[3]: Leaving directory '/build/contrib'
make  \
  top_distdir="libosmo-sigtran-2.1.0.164-775d" distdir="libosmo-sigtran-2.1.0.164-775d" \
  dist-hook
make[3]: Entering directory '/build'
echo 2.1.0.164-775d > libosmo-sigtran-2.1.0.164-775d/.tarball-version
make[3]: Leaving directory '/build'
test -n "" \
|| find "libosmo-sigtran-2.1.0.164-775d" -type d ! -perm -755 \
	-exec chmod u+rwx,go+rx {} \; -o \
  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  ! -type d ! -perm -444 -exec /bin/bash /build/install-sh -c -m a+r {} {} \; \
|| chmod -R a+r "libosmo-sigtran-2.1.0.164-775d"
make[2]: Leaving directory '/build'
tardir=libosmo-sigtran-2.1.0.164-775d && ${TAR-tar} chof - "$tardir" | BZIP2=${BZIP2--9} bzip2 -c >libosmo-sigtran-2.1.0.164-775d.tar.bz2
tardir=libosmo-sigtran-2.1.0.164-775d && ${TAR-tar} chof - "$tardir" | eval GZIP= gzip --best -c >libosmo-sigtran-2.1.0.164-775d.tar.gz
make[1]: Leaving directory '/build'
if test -d "libosmo-sigtran-2.1.0.164-775d"; then find "libosmo-sigtran-2.1.0.164-775d" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "libosmo-sigtran-2.1.0.164-775d" || { sleep 5 && rm -rf "libosmo-sigtran-2.1.0.164-775d"; }; else :; fi
case 'libosmo-sigtran-2.1.0.164-775d.tar.gz libosmo-sigtran-2.1.0.164-775d.tar.bz2' in \
*.tar.gz*) \
  eval GZIP= gzip --best -dc libosmo-sigtran-2.1.0.164-775d.tar.gz | ${TAR-tar} xf - ;;\
*.tar.bz2*) \
  bzip2 -dc libosmo-sigtran-2.1.0.164-775d.tar.bz2 | ${TAR-tar} xf - ;;\
*.tar.lz*) \
  lzip -dc libosmo-sigtran-2.1.0.164-775d.tar.lz | ${TAR-tar} xf - ;;\
*.tar.xz*) \
  xz -dc libosmo-sigtran-2.1.0.164-775d.tar.xz | ${TAR-tar} xf - ;;\
*.tar.Z*) \
  uncompress -c libosmo-sigtran-2.1.0.164-775d.tar.Z | ${TAR-tar} xf - ;;\
*.shar.gz*) \
  eval GZIP= gzip --best -dc libosmo-sigtran-2.1.0.164-775d.shar.gz | unshar ;;\
*.zip*) \
  unzip libosmo-sigtran-2.1.0.164-775d.zip ;;\
*.tar.zst*) \
  zstd -dc libosmo-sigtran-2.1.0.164-775d.tar.zst | ${TAR-tar} xf - ;;\
esac
chmod -R a-w libosmo-sigtran-2.1.0.164-775d
chmod u+w libosmo-sigtran-2.1.0.164-775d
mkdir libosmo-sigtran-2.1.0.164-775d/_build libosmo-sigtran-2.1.0.164-775d/_build/sub libosmo-sigtran-2.1.0.164-775d/_inst
chmod a-w libosmo-sigtran-2.1.0.164-775d
test -d libosmo-sigtran-2.1.0.164-775d/_build || exit 0; \
dc_install_base=`CDPATH="${ZSH_VERSION+.}:" && cd libosmo-sigtran-2.1.0.164-775d/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  && dc_destdir="${TMPDIR-/tmp}/am-dc-$$/" \
  && am__cwd=`pwd` \
  && CDPATH="${ZSH_VERSION+.}:" && cd libosmo-sigtran-2.1.0.164-775d/_build/sub \
  && ../../configure \
    --with-systemdsystemunitdir=$dc_install_base//lib/systemd/system \
    --enable-external-tests --enable-manuals \
    --srcdir=../.. --prefix="$dc_install_base" \
  && make  \
  && make  dvi \
  && make  check \
  && make  install \
  && make  installcheck \
  && make  uninstall \
  && make  distuninstallcheck_dir="$dc_install_base" \
        distuninstallcheck \
  && chmod -R a-w "$dc_install_base" \
  && ({ \
       (cd ../.. && umask 077 && mkdir "$dc_destdir") \
       && make  DESTDIR="$dc_destdir" install \
       && make  DESTDIR="$dc_destdir" uninstall \
       && make  DESTDIR="$dc_destdir" \
            distuninstallcheck_dir="$dc_destdir" distuninstallcheck; \
      } || { rm -rf "$dc_destdir"; exit 1; }) \
  && rm -rf "$dc_destdir" \
  && make  dist \
  && rm -rf libosmo-sigtran-2.1.0.164-775d.tar.gz libosmo-sigtran-2.1.0.164-775d.tar.bz2 \
  && make  distcleancheck \
  && cd "$am__cwd" \
  || exit 1
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... unsupported
checking for gcc option to enable C99 features... unsupported
checking for gcc option to enable C89 features... unsupported
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... failed
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... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking for libosmocore >= 1.11.0... yes
checking for libosmovty >= 1.11.0... yes
checking for libosmogsm >= 1.11.0... yes
checking for libosmo-netif >= 1.6.0... yes
checking for library containing sctp_recvmsg... -lsctp
checking if gcc supports -fvisibility=hidden... yes
checking for doxygen... /usr/bin/doxygen
checking for OSMO_GSM_MANUALS_DIR... /opt/osmo-gsm-manuals (from env)
All dependencies installed!
checking for python... no
checking for python2... no
checking for python3... /usr/bin/python3
checking for python version... 3.11
checking for python platform... linux
checking for GNU default python prefix... ${prefix}
checking for GNU default python exec_prefix... ${exec_prefix}
checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.11/site-packages
checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.11/site-packages
checking for osmo_verify_transcript_vty.py... yes
checking whether to enable VTY/CTRL tests... yes
CFLAGS="-g -std=gnu11 -fsanitize=address -fsanitize=undefined -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Wno-error=cpp -Wall -std=gnu11 -Wall"
CPPFLAGS=" -Wall"
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libosmo-sigtran.pc
config.status: creating include/osmocom/Makefile
config.status: creating include/osmocom/sccp/Makefile
config.status: creating include/osmocom/sigtran/Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating tests/m2ua/Makefile
config.status: creating tests/xua/Makefile
config.status: creating tests/ss7/Makefile
config.status: creating tests/vty/Makefile
config.status: creating examples/Makefile
config.status: creating stp/Makefile
config.status: creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating doc/manuals/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/systemd/Makefile
config.status: creating Doxyfile
config.status: creating Makefile
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Entering directory '/build/libosmo-sigtran-2.1.0.164-775d/_build/sub'
make  all-recursive
make[2]: Entering directory '/build/libosmo-sigtran-2.1.0.164-775d/_build/sub'
Making all in include
make[3]: Entering directory '/build/libosmo-sigtran-2.1.0.164-775d/_build/sub/include'
Making all in osmocom
make[4]: Entering directory '/build/libosmo-sigtran-2.1.0.164-775d/_build/sub/include/osmocom'
Making all in sccp
make[5]: Entering directory '/build/libosmo-sigtran-2.1.0.164-775d/_build/sub/include/osmocom/sccp'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/build/libosmo-sigtran-2.1.0.164-775d/_build/sub/include/osmocom/sccp'
Making all in sigtran
make[5]: Entering directory '/build/libosmo-sigtran-2.1.0.164-775d/_build/sub/include/osmocom/sigtran'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/build/libosmo-sigtran-2.1.0.164-775d/_build/sub/include/osmocom/sigtran'
make[5]: Entering directory '/build/libosmo-sigtran-2.1.0.164-775d/_build/sub/include/osmocom'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/build/libosmo-sigtran-2.1.0.164-775d/_build/sub/include/osmocom'
make[4]: Leaving directory '/build/libosmo-sigtran-2.1.0.164-775d/_build/sub/include/osmocom'
make[4]: Entering directory '/build/libosmo-sigtran-2.1.0.164-775d/_build/sub/include'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/build/libosmo-sigtran-2.1.0.164-775d/_build/sub/include'
make[3]: Leaving directory '/build/libosmo-sigtran-2.1.0.164-775d/_build/sub/include'
Making all in src
make[3]: Entering directory '/build/libosmo-sigtran-2.1.0.164-775d/_build/sub/src'
  CC       libxua_a-xua_msg.o
  CC       ipa.lo
  CC       m3ua.lo
  CC       sccp2sua.lo
  CC       sccp_connection.lo
  CC       sccp_helpers.lo
  CC       sccp_instance.lo
  CC       sccp_lbcs.lo
  CC       sccp_sap.lo
  CC       sccp_sclc.lo
  CC       sccp_scmg.lo
  CC       sccp_scrc.lo
  CC       sccp_scoc.lo
  CC       sccp_scoc_fsm.lo
  CC       sccp_types.lo
  CC       sccp_user.lo
  CC       sccp_vty.lo
  CC       ss7.lo
  CC       ss7_as.lo
  CC       ss7_as_vty.lo
../../../src/sccp_scoc_fsm.c: In function 'scoc_fsm_active':
../../../src/sccp_scoc_fsm.c:360:9: note: '#pragma message: TODO: internal disco: send N-DISCONNECT.ind to user'
  360 | #pragma message("TODO: internal disco: send N-DISCONNECT.ind to user")
      |         ^~~~~~~
  CC       ss7_asp.lo
  CC       ss7_asp_vty.lo
  CC       ss7_asp_peer.lo
  CC       ss7_combined_linkset.lo
  CC       ss7_hmrt.lo
  CC       ss7_instance.lo
  CC       ss7_link.lo
  CC       ss7_linkset.lo
  CC       ss7_vty.lo
  CC       ss7_xua_srv.lo
  CC       ss7_xua_srv_vty.lo
  CC       ss7_route.lo
  CC       ss7_route_table.lo
  CC       ss7_user.lo
  CC       sua.lo
  CC       xua_asp_fsm.lo
  CC       xua_as_fsm.lo
  CC       xua_default_lm_fsm.lo
  CC       xua_msg.lo
  CC       xua_rkm.lo
  CC       xua_shared.lo
  CC       xua_snm.lo
  AR       libxua.a
ar: `u' modifier ignored since `D' is the default (see `U')
  CCLD     libosmo-sigtran.la
../libtool: eval: line 1874: syntax error near unexpected token `|'
../libtool: eval: line 1874: `/usr/bin/nm -B  .libs/ipa.o .libs/m3ua.o .libs/sccp2sua.o .libs/sccp_connection.o .libs/sccp_helpers.o .libs/sccp_instance.o .libs/sccp_lbcs.o .libs/sccp_sap.o .libs/sccp_sclc.o .libs/sccp_scmg.o .libs/sccp_scrc.o .libs/sccp_scoc.o .libs/sccp_scoc_fsm.o .libs/sccp_types.o .libs/sccp_user.o .libs/sccp_vty.o .libs/ss7.o .libs/ss7_as.o .libs/ss7_as_vty.o .libs/ss7_asp.o .libs/ss7_asp_vty.o .libs/ss7_asp_peer.o .libs/ss7_combined_linkset.o .libs/ss7_hmrt.o .libs/ss7_instance.o .libs/ss7_link.o .libs/ss7_linkset.o .libs/ss7_vty.o .libs/ss7_xua_srv.o .libs/ss7_xua_srv_vty.o .libs/ss7_route.o .libs/ss7_route_table.o .libs/ss7_user.o .libs/sua.o .libs/xua_asp_fsm.o .libs/xua_as_fsm.o .libs/xua_default_lm_fsm.o .libs/xua_msg.o .libs/xua_rkm.o .libs/xua_shared.o .libs/xua_snm.o   |  | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libosmo-sigtran.exp'
make[3]: *** [Makefile:570: libosmo-sigtran.la] Error 2
make[3]: Leaving directory '/build/libosmo-sigtran-2.1.0.164-775d/_build/sub/src'
make[2]: *** [Makefile:500: all-recursive] Error 1
make[2]: Leaving directory '/build/libosmo-sigtran-2.1.0.164-775d/_build/sub'
make[1]: *** [Makefile:401: all] Error 2
make[1]: Leaving directory '/build/libosmo-sigtran-2.1.0.164-775d/_build/sub'
make: *** [Makefile:719: distcheck] Error 1
+ cat-testlogs.sh
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 1658759 killed;
[ssh-agent] Stopped.
Archiving artifacts
Sending e-mails to: jenkins-notifications@lists.osmocom.org laforge@gnumonks.org
Finished: FAILURE