Project

General

Profile

Actions

Bug #4607

closed

unable to remove a remote IP address of an ASP

Added by laforge almost 4 years ago. Updated 6 months ago.

Status:
Resolved
Priority:
Low
Assignee:
Target version:
-
Start date:
06/10/2020
Due date:
% Done:

100%

Spec Reference:

Description

It seems it is possible to add multiple remote IP addresses to an ASP:

OsmoBSC# configure terminal
OsmoBSC(config)# cs7 instance 0
OsmoBSC(config-cs7)#  asp asp-clnt-msc-0 2905 0 m3ua
OsmoBSC(config-cs7-asp)# remote-ip 1.2.3.4

This means there are now to addresses:

OsmoBSC# show cs7 instance 0 asp 
                                                          Effect Primary
ASP Name      AS Name       State          Type Remote IP Addr:Rmt Port SCTP
------------  ------------  -------------  ---- ----------------------- ----------
asp-clnt-msc-0  ?             ASP_DOWN       m3ua  (127.0.0.1|1.2.3.4):2905            

However, it's not possible to ever remove one address, e.g. because of a config change or because you mistyped an address. There is no command like "no remote-ip". I quickly looked into adding that, but there doesnt even appear to be an API function for it, only osmo_ss7_asp_peer_add_host() but no similar function to delete.


Related issues

Related to libosmo-sccp + libosmo-sigtran - Feature #6076: Configure SCTP primary path explicitly (local-ip A.B.C.D [primary] && remote-ip A.B.C.D [primary])Resolvedpespin06/28/2023

Actions
Actions #1

Updated by pespin 6 months ago

  • Related to Feature #6076: Configure SCTP primary path explicitly (local-ip A.B.C.D [primary] && remote-ip A.B.C.D [primary]) added
Actions #2

Updated by pespin 6 months ago

  • Status changed from New to In Progress

Implementing now as part of #6076.

Actions #3

Updated by pespin 6 months ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 90

Implemented by:
https://gerrit.osmocom.org/c/libosmo-sccp/+/34612 asp: Support removing local & remote addresses
https://gerrit.osmocom.org/c/libosmo-sccp/+/34613 xua_server: asp: Support removing local addresses

Actions #4

Updated by pespin 6 months ago

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

Merged, closing.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)