Attention is currently required from: laforge.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/34089 )
Change subject: ss7: Use libosmo-netif's osmo_stream_{cli,srv}_recv() APIs
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
> the patch you're referring-to has not yet been merged
ACk, we have to wait until it is merged.
> Also, at the very least I would expect a TODO-RELEASE update
It is there, you may have overlooked it 😊
> To me, this kind of change *might* even rectify bumping the libversion of libosmo-netif
The related change of libosmo-netif osmo_stream_cli now providing the SCTP_NOTIFICATIONS like osmo_srv already does is backward compatible (old users don't need to be rebuilt), because the SCTP_NTOIFICATIONS flagd are only provided upon return code -EAGAIN or 0, so it shouldn't make major problems on apps.
Once this libosmo-sccp is released, it will depend on package libosmo-netif > 1.3.0 which will have such feature, so the problem is really during master which will be released over next weeks. And whoever uses master mixed with "latest" should know what he's doing.
So I don't think it's strictly needed to bump libversion on libosmo-netif since users don't require rebuild (no ABI breakage), and libosmo-sccp configure.ac dependencies should be enough in principle to avoid using older libosmo-netif.
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/34089
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: If3d78b636e8e224aa9c8597d0b242e29d3e3c84e
Gerrit-Change-Number: 34089
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Wed, 09 Aug 2023 16:00:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: comment
pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/34056 )
Change subject: tests/vty: test multiple local/remote IP addresses
......................................................................
tests/vty: test multiple local/remote IP addresses
Change-Id: I9e8c6499b26edea271ee8d8c4ab86506e765e000
---
M tests/vty/ss7_asp_test.vty
1 file changed, 21 insertions(+), 3 deletions(-)
Approvals:
Jenkins Builder: Verified
osmith: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
diff --git a/tests/vty/ss7_asp_test.vty b/tests/vty/ss7_asp_test.vty
index f7d92bd..3296c65 100644
--- a/tests/vty/ss7_asp_test.vty
+++ b/tests/vty/ss7_asp_test.vty
@@ -248,6 +248,13 @@
ASP Name AS Name State Type Role Remote IPaddr & Port SCTP Role
------------ ------------ ------------- ---- ---- ----------------------- ---------
my-asp ? uninitialized m3ua sg 127.0.0.200:12345 server
+ss7_asp_vty_test(config-cs7-asp)# remote-ip 127.0.0.201
+ss7_asp_vty_test(config-cs7-asp)# local-ip 127.0.0.101
+ss7_asp_vty_test(config-cs7-asp)# do show cs7 instance 0 asp
+ Current Primary Link
+ASP Name AS Name State Type Role Remote IPaddr & Port SCTP Role
+------------ ------------ ------------- ---- ---- ----------------------- ---------
+my-asp ? uninitialized m3ua sg (127.0.0.200|127.0.0.201):12345 server
ss7_asp_vty_test(config-cs7-asp)# exit
ss7_asp_vty_test(config-cs7)# as my-ass m3ua
@@ -311,14 +318,14 @@
Current Primary Link
ASP Name AS Name State Type Role Remote IPaddr & Port SCTP Role
------------ ------------ ------------- ---- ---- ----------------------- ---------
-my-asp my-ass ASP_DOWN m3ua sg 127.0.0.200:12345 server
+my-asp my-ass ASP_DOWN m3ua sg (127.0.0.200|127.0.0.201):12345 server
ss7_asp_vty_test(config-cs7-as)# exit
ss7_asp_vty_test(config-cs7)# do show cs7 instance 0 asp
Current Primary Link
ASP Name AS Name State Type Role Remote IPaddr & Port SCTP Role
------------ ------------ ------------- ---- ---- ----------------------- ---------
-my-asp my-ass ASP_DOWN m3ua sg 127.0.0.200:12345 server
+my-asp my-ass ASP_DOWN m3ua sg (127.0.0.200|127.0.0.201):12345 server
ss7_asp_vty_test(config-cs7)# exit
@@ -327,7 +334,7 @@
Current Primary Link
ASP Name AS Name State Type Role Remote IPaddr & Port SCTP Role
------------ ------------ ------------- ---- ---- ----------------------- ---------
-my-asp my-ass ASP_DOWN m3ua sg 127.0.0.200:12345 server
+my-asp my-ass ASP_DOWN m3ua sg (127.0.0.200|127.0.0.201):12345 server
ss7_asp_vty_test(config)# do show cs7 instance 0 as all
Routing Routing Key Cic Cic Traffic
@@ -342,7 +349,9 @@
cs7 instance 0
asp my-asp 12345 54321 m3ua
local-ip 127.0.0.100
+ local-ip 127.0.0.101
remote-ip 127.0.0.200
+ remote-ip 127.0.0.201
role sg
sctp-role server
as my-ass m3ua
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/34056
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I9e8c6499b26edea271ee8d8c4ab86506e765e000
Gerrit-Change-Number: 34056
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/34088 )
Change subject: ss7: Log addr and event state for SCTP_PEER_ADDR_CHANGE
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/34088
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I989f0180dab25cd6fb1a0c0a49c04a03be118ba3
Gerrit-Change-Number: 34088
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 09 Aug 2023 15:51:00 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment