pespin submitted this change.

View Change


Approvals: pespin: Looks good to me, approved; Verified
templates: also fix asp config in osmo-{bsc,sgsn}.cfg.tmpl

In change [1] I attempted to fix osmo-gsm-tester_virtual, but I did
not notice that the same problem also was in osmo-bsc.cfg.tmpl.

Also add the missing params to osmo-sgsn.cfg.tmpl.

Change-Id: I7b3adfa131a9dbb867b9ae68615da27191b021e5
Related: [1] Ie29589b46c65707089ff2b22c3b139b7b435cc95
---
M src/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl
M src/osmo_gsm_tester/templates/osmo-sgsn.cfg.tmpl
2 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/src/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl b/src/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl
index dd27da0..60f04cc 100644
--- a/src/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl
+++ b/src/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl
@@ -21,6 +21,8 @@
asp asp0 2905 0 m3ua
local-ip ${bsc.ip_address.addr}
remote-ip ${stp.ip_address.addr}
+ role asp
+ sctp-role client
as as0 m3ua
asp asp0
routing-key 2 0.0.2
diff --git a/src/osmo_gsm_tester/templates/osmo-sgsn.cfg.tmpl b/src/osmo_gsm_tester/templates/osmo-sgsn.cfg.tmpl
index 5d8ba90..825298d 100644
--- a/src/osmo_gsm_tester/templates/osmo-sgsn.cfg.tmpl
+++ b/src/osmo_gsm_tester/templates/osmo-sgsn.cfg.tmpl
@@ -18,6 +18,8 @@
! asp asp-clnt-OsmoSGSN-A 2905 0 m3ua
! local-ip ${sgsn.ip_address.addr}
! remote-ip stp.ip_address.addr
+! role asp
+! sctp-role client
! as as-clnt-OsmoSGSN-A m3ua
! asp asp-clnt-OsmoSGSN-A
! routing-key 3 0.23.4

To view, visit change 33385. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I7b3adfa131a9dbb867b9ae68615da27191b021e5
Gerrit-Change-Number: 33385
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-MessageType: merged