Skip to content
Success

Changes

Summary

  1. Add TCAP based loadsharing/routing (details)
  2. Add rate counters for loadshare-tcap (details)
  3. Add VTY command to list TCAP ranges for an AS (details)
  4. Use config.h with AC_CONFIG_HEADER for defines (details)
  5. Use DLTCAP for TCAP log messages (details)
Commit 0e89e2f66f5527fde17f06ba7cf3d881a7317fe8 by dwillmann
Add TCAP based loadsharing/routing

TCAP based loadsharing will share the load based on the TCAP oTID and
dTID.
Because TCAP are session based, a TCAP session based tracking is implemented,
to allow following traffic to forwarded to the same ASP.
This TCAP session tracking is similar to IP connection tracking.

ASPs within an AS can use the new IPA TCAP ROUTING protocol to register
for specific TCAP ranges.
TCAP sessions initiated by a peer (traffic towards such loadsharing AS/ASP),
will use the oTID of the `TCAP Begin` to loadshare and select a ASP.

Further if the TCAP session was initiated by a `loadshared` ASP, the oTID
will be added to the session tracking.

Co-authored-by: Harald Welte <laforge@osmocom.org>
Co-authored-by: Alexander Couzens <lynxis@fe80.eu>
Co-authored-by: Pau Espin Pedrol <pespin@sysmocom.de>
Related: SYS#5423
Change-Id: Ibcb48aa0e515ad346f59ddd84b24c6e2c026144d
The file was addedtests/tcap/tcap_transaction_tracking_test.c
The file was addedtests/tcap/tcap_transaction_tracking_test.ok
The file was modifiedsrc/ss7_as_vty.c
The file was modifiedsrc/xua_asp_fsm.c
The file was addedsrc/tcap_as_loadshare.h
The file was modifiedsrc/ss7_as.c
The file was modifiedsrc/ss7_asp.h
The file was modifiedtests/Makefile.am
The file was addedtests/tcap/Makefile.am
The file was modifiedtests/vty/osmo_stp_test.vty
The file was modifiedtests/vty/Makefile.am
The file was addedsrc/tcap_as_loadshare.c
The file was modifiedsrc/ss7_as.h
The file was addedsrc/tcap_trans_tracking.h
The file was modifiedtests/testsuite.at
The file was modifiedsrc/Makefile.am
The file was addedsrc/tcap_trans_tracking.c
The file was modifiedsrc/ipa.c
The file was modifiedconfigure.ac
The file was addedtests/vty/osmo_stp_test_tcap.vty
Commit a589287788cffdcaeee5837a2763606237410a9f by dwillmann
Add rate counters for loadshare-tcap

* Track TCAP decoding success/failure by AS
* Track ASP selection success/failure for loadshare-tcap

Related: SYS#5423
Change-Id: Id67704991feacf54e3123f76e9506dd323b2498b
The file was modifiedsrc/ss7_as.c
The file was modifiedsrc/tcap_as_loadshare.c
The file was modifiedsrc/ss7_as.h
Commit 30b7f83b8e2f164ab5d45a7cb4b92b31f7fe7dfa by dwillmann
Add VTY command to list TCAP ranges for an AS

Show the list of all tcap ranges and ASP for an AS:

OsmoSTP# show cs7 instance 0 as name as-ipa-loadshare-0 tcap-ranges
Tid Min Tid Max SSN PC            ASP Name
------- ------- --- ------------- ------------
300     599       0 (no PC)       asp-ipa-loadshare-0-1
0       299       0 (no PC)       asp-ipa-loadshare-0-0

Show the tcap range and ASP for specific TCAP Id:

OsmoSTP# show cs7 instance 0 as name as-ipa-loadshare-0 tcap-ranges tid 15
Tid Min Tid Max SSN PC            ASP Name
------- ------- --- ------------- ------------
0       299       0 (no PC)       asp-ipa-loadshare-0-0

Related: SYS#5423
Change-Id: I8026248d9897aadab5bf13a425269ec1e948dfdf
The file was modifiedsrc/ss7_vty.c
The file was modifiedtests/vty/osmo_stp_test.vty
The file was modifiedsrc/Makefile.am
The file was addedsrc/tcap_as_loadshare_vty.h
The file was addedsrc/tcap_as_loadshare_vty.c
The file was modifiedtests/vty/osmo_stp_test_tcap.vty
Commit 994acec23cfe1900c0f7542b2fdc9be2c7f13f45 by dwillmann
Use config.h with AC_CONFIG_HEADER for defines

Change-Id: I15c25b04dc7ef62f46e2429042613ff8f7ca9ce9
The file was modifiedsrc/ss7_as.c
The file was modifiedconfigure.ac
The file was modifiedtests/vty/ss7_asp_vty_test.c
The file was modifiedsrc/ss7_as_vty.c
The file was modifiedsrc/ipa.c
The file was modifiedsrc/ss7_vty.c
The file was modifiedsrc/xua_asp_fsm.c
The file was modifiedsrc/ss7_asp_vty.c
The file was modifiedstp/stp_main.c
The file was modifiedtests/ss7/ss7_test.c
The file was modifiedsrc/ss7_asp.h
The file was modifiedsrc/ss7_as.h
The file was modifiedsrc/ss7_asp.c
Commit 3267caafd563c7317a2fcba6e2341c9929ce2abf by dwillmann
Use DLTCAP for TCAP log messages

Depends: libosmocore.git Change-Id I004dddeeb7db3b47d373bb6281708f33d6e8148f
Change-Id: Ic2fba30208a11d562fc67bb6f5c4586451a275df
The file was modifiedTODO-RELEASE
The file was modifiedsrc/tcap_as_loadshare.c
The file was modifiedsrc/tcap_trans_tracking.c