pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40640?usp=email )
Change subject: sgsn: Use static sigtran config between osmo-sgsn and osmo-stp ......................................................................
sgsn: Use static sigtran config between osmo-sgsn and osmo-stp
This allows referencing/accessing the specific ASP in osmo-stp, which will be needed in a follow-up commit to test IUT behavior when the SCTP conn is dropped.
Related: OS#5917
Change-Id: Ie52f4c1877587067af66add56ad8674b82b51718 --- M sgsn/osmo-sgsn.cfg M sgsn/osmo-stp.cfg 2 files changed, 12 insertions(+), 5 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/40/40640/1
diff --git a/sgsn/osmo-sgsn.cfg b/sgsn/osmo-sgsn.cfg index 4a5f236..ae01923 100644 --- a/sgsn/osmo-sgsn.cfg +++ b/sgsn/osmo-sgsn.cfg @@ -56,7 +56,8 @@ ! cs7 instance 0 point-code 0.23.4 - asp asp-clnt-OsmoSGSN-A 2905 0 m3ua + asp asp-clnt-OsmoSGSN-A 2905 1905 m3ua + local-ip 127.0.0.10 remote-ip 127.0.0.200 role asp sctp-role client diff --git a/sgsn/osmo-stp.cfg b/sgsn/osmo-stp.cfg index e79c298..7b1e965 100644 --- a/sgsn/osmo-stp.cfg +++ b/sgsn/osmo-stp.cfg @@ -37,6 +37,14 @@ ! cs7 instance 0 xua rkm routing-key-allocation dynamic-permitted + asp sgsn0-0 1905 2905 m3ua + local-ip 127.0.0.200 + remote-ip 127.0.0.10 + role sg + sctp-role server + as sgsn0 m3ua + asp sgsn0-0 + routing-key 3 0.23.4 asp virt-rnc0-0 23908 2905 m3ua local-ip 127.0.0.200 remote-ip 127.0.0.104 @@ -46,10 +54,8 @@ asp virt-rnc0-0 routing-key 2 0.24.3 route-table system + update route 0.23.4 7.255.7 linkset sgsn0 update route 0.24.3 7.255.7 linkset virt-rnc0 listen m3ua 2905 local-ip 127.0.0.200 - accept-asp-connections dynamic-permitted - listen ipa 5000 - local-ip 127.0.0.200 - accept-asp-connections dynamic-permitted + accept-asp-connections pre-configured