Project

General

Profile

Feature #4218

dynamic IPA ASPs

Added by laforge 2 months ago. Updated 30 days ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
-
Start date:
10/09/2019
Due date:
10/09/2019
% Done:

100%


Description

The traditional way of configuring ASP (Application Server Processes) in an STP/ITP, ncluding
osmo-stp is to manually / statically configure them in the configuration system. This doesn't easily scale.

osmo-stp already implements some parts of dynamic ASP creation for the M3UA protocol by
means of extending M3UA RKM (Routing Key Management).

This feature seeks to implement dynamic ASPs using the IPA/SCCPlite protocol. The key question
is how to identify/map a given incoming IPA connection (treated internally like a M3UA ASP) to a given AS. It is proposed to use the IPA CCM mechanism for this, so one of the UNIT_ID /
SERIAL_NR tags exchanged at IPA connection setup can be used as a look-up key to find the AS to
which this dynamic connection belongs.

Implementation of this feature will include
  1. Detailed specification of mechanism to map incoming IPA connection to AS
  2. Implementation of auto-creating dynamic ASPs on incoming IPA connection
  3. Implementation of automatic test cases in TTCN-3

Related issues

Follows OsmoSTP - Feature #4220: osmo_ss7: support traffic-mode load-shareClosed10/08/2019

History

#1 Updated by laforge about 2 months ago

some updates

  • the lookup of the AS is already done in ipa_asp_fsm_wait_id_resp(), and the "IPA CCM unit name" is used as look-up key for the AS name
DLSS7 <000c> ipa.c:103 IPA_ASP(asp-dyn-3){WAIT_ID_RESP}: Received Event IPA_CCM_ID_RESP
DLSS7 <000c> osmo_ss7.c:1022 0: Adding ASP asp-dyn-3 to AS mahlzeit
  • we already create dynamic ASPs within that AS after such a look-up, they are called "asp-dyn-NR" where NR is an incrementing integer
OsmoSTP# show cs7 instance 0 asp
                                                          Effect Primary
ASP Name      AS Name       State          Type  Rmt Port Remote IP Addr  SCTP
------------  ------------  -------------  ----  -------- --------------- ----------
asp-dyn-3     ?             WAIT_ID_ACK2   ipa   20000    127.0.0.1                 
asp-dyn-4     ?             WAIT_ID_ACK2   ipa   20001    127.0.0.1                 
asp-dyn-5     ?             WAIT_ID_ACK2   ipa   20002    127.0.0.1                 

what is currently undefined is the behavior in presence of multiple IPA ASP for one AS. I think we should wait for this to work in M3UA (see #4220) and then re-visit this ticket.

#2 Updated by laforge about 2 months ago

  • Due date set to 10/09/2019
  • Start date changed from 10/08/2019 to 10/09/2019
  • Follows Feature #4220: osmo_ss7: support traffic-mode load-share added

#3 Updated by laforge about 1 month ago

  • Priority changed from Normal to Urgent

#4 Updated by pespin about 1 month ago

I think this should already be working fine after last changes in osmo-stp and TTCN3.

May be worth adding a test in STP_Tests_IPA.ttcn similar to TC_tmt_override or TC_tmt_loadshare, but using ipa-as-dynamic-asp this time, similar to what TC_unknown_client_dynamic does.

#5 Updated by laforge about 1 month ago

On Thu, Nov 07, 2019 at 07:01:02PM +0000, pespin [REDMINE] wrote:

May be worth adding a test in STP_Tests_IPA.ttcn similar to TC_tmt_override or TC_tmt_loadshare, but using ipa-as-dynamic-asp this time, similar to what TC_unknown_client_dynamic does.

yes, please take care of this so we can wrap this up.

#6 Updated by pespin about 1 month ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 90

Submitted following tests verifying everything's working fine:
STP_Tests_IPA.TC_unknown_client_dynamic_tmt_override
STP_Tests_IPA.TC_unknown_client_dynamic_tmt_loadshare

I also submitted a few osmo-stp patches with minor fixes/improvements in related code.
Once stuff from osmo-ttcn3-hacks.git (branch laforge/stp), docker-playground.git and libosmo-sccp.git are merged this ticket can be marked as resolved afaict.

#7 Updated by laforge 30 days ago

  • Status changed from Feedback to Closed
  • % Done changed from 90 to 100

all commits merged, tests pass. closing.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)