Project

General

Profile

Bug #2351

unify sccp instance configuration

Added by dexter 20 days ago. Updated 1 day ago.

Status:
In Progress
Priority:
Normal
Assignee:
Start date:
07/06/2017
Due date:
% Done:

70%

Spec Reference:

Description

The configuration of the sccp instance can be unified. The parameters of osmo_sccp_simple_client() which is used to create the sccp instance could be configured using the built in VTY of libosmo-sccp. This would unify the configuration of SCCP and offload the application specific VTY. It also would help to simplify the configuration from the users perspective. The user will not have to learn a new way to configur SS7 applications all the time.

struct osmo_sccp_instance *
osmo_sccp_simple_client(void *ctx, const char *name, uint32_t pc,
            enum osmo_ss7_asp_protocol prot, int local_port,
            const char *local_ip, int remote_port, const char *remote_ip); 

Related issues

Related to OsmoSTP - Bug #2005: STP: Allow VTY configuration of M3UA ASP side New 04/10/2017
Related to OsmoMSC - Feature #2289: implement AoverIP (OsmoMSC side) In Progress 05/24/2017

History

#1 Updated by laforge 15 days ago

  • Related to Bug #2005: STP: Allow VTY configuration of M3UA ASP side added

#2 Updated by dexter 8 days ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

#3 Updated by dexter 1 day ago

  • % Done changed from 10 to 70

The simple client is now fully configurable via VTY, while the basic idea here is to use the VTY configuration whenever it is available. If no configuration is detected, the caller provided parameters are used. The patch can be found here: https://gerrit.osmocom.org/#/c/3303/

However, there is still room for improvement. Since it does not make much sense to set routes on a client application we should try to hide this functionality from the user. At the moment setting a default route is only necessary when an AS/ASP configuration is set by the user via VTY. If it is left out, there is no problem. AS/ASP will be created automatically. If the user saves the VTY config, the result will be a valid config with AS, ASP and default route. This can be confusing, so making a good selection of VTY commands and disabling the commands that only make sense in an STP application would be the next step here.

#4 Updated by dexter about 23 hours ago

  • Related to Feature #2289: implement AoverIP (OsmoMSC side) added

Also available in: Atom PDF