Actions
Bug #4607
closedunable to remove a remote IP address of an ASP
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
Updated by pespin 7 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
Updated by pespin 7 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