[MERGED] docker-playground[master]: ttcn3-msc-test: update configuration

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Mar 28 17:44:43 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: ttcn3-msc-test: update configuration
......................................................................


ttcn3-msc-test: update configuration

The MSC_Tests.ttcn testsuite is now able to present multiple BSC
to the MSC (IUT). This change requires the configuration files
of osmo-stp and of the testsuite to be changed.

- update MSC_Tests.cfg to present up to two BSCs to the MSC
- update osmo-stp.cfg to support the additional connection
  from the testsuite

Change-Id: Ie7780750f7032453951f6849ecee6ab7cc34e8c2
Depends: osmo-ttcn3-hacks I52a4c8118828c1605cf672889982f987568ad17d
Related: OS#1609
---
M ttcn3-msc-test/MSC_Tests.cfg
M ttcn3-msc-test/osmo-stp.cfg
2 files changed, 28 insertions(+), 7 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved; Verified



diff --git a/ttcn3-msc-test/MSC_Tests.cfg b/ttcn3-msc-test/MSC_Tests.cfg
index b91fb11..72fc1c6 100644
--- a/ttcn3-msc-test/MSC_Tests.cfg
+++ b/ttcn3-msc-test/MSC_Tests.cfg
@@ -10,14 +10,28 @@
 [MODULE_PARAMETERS]
 # connection to STP
 MSC_Tests.mp_bssap_cfg := {
-	sccp_service_type := "mtp3_itu",
-	sctp_addr := { 23906, "172.18.1.103", 2905, "172.18.1.200" },
-	own_pc := 193,		/* 0.23.3 */
-	own_ssn := 254,
-	peer_pc := 185,	/* 0.23.1 */
-	peer_ssn := 254,
-	sio := '83'O
+	{
+		sccp_service_type := "mtp3_itu",
+		sctp_addr := { 23906, "172.18.1.103", 2905, "172.18.1.200" },
+		own_pc := 193,	/* 0.24.1 */
+		own_ssn := 254,
+		peer_pc := 185,	/* 0.23.1 */
+		peer_ssn := 254,
+		sio := '83'O,
+		rctx := 0
+	},
+	{
+		sccp_service_type := "mtp3_itu",
+		sctp_addr := { 23907, "172.18.1.103", 2905, "172.18.1.200" },
+		own_pc := 194,	/* 0.24.2 */
+		own_ssn := 254,
+		peer_pc := 185,	/* 0.23.1 */
+		peer_ssn := 254,
+		sio := '83'O,
+		rctx := 1
+	}
 };
+
 # remote (IUT) side 
 MSC_Tests.mp_msc_mncc := "/data/unix/mncc";
 MSC_Tests.mp_msc_ip := "172.18.1.10";
diff --git a/ttcn3-msc-test/osmo-stp.cfg b/ttcn3-msc-test/osmo-stp.cfg
index 64a7872..c2969b6 100644
--- a/ttcn3-msc-test/osmo-stp.cfg
+++ b/ttcn3-msc-test/osmo-stp.cfg
@@ -37,8 +37,15 @@
  as virt-bsc0 m3ua
   asp virt-bsc0-0
   routing-key 0 0.24.1
+ asp virt-bsc0-0 23907 2905 m3ua
+  local-ip 172.18.1.200
+  remote-ip 172.18.1.103
+ as virt-bsc0 m3ua
+  asp virt-bsc1-0
+  routing-key 0 0.24.2
  route-table system
   update route 0.24.1 7.255.7 linkset virt-bsc0
+  update route 0.24.2 7.255.7 linkset virt-bsc1
  listen m3ua 2905
   accept-asp-connections dynamic-permitted
  listen ipa 5000

-- 
To view, visit https://gerrit.osmocom.org/7551
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie7780750f7032453951f6849ecee6ab7cc34e8c2
Gerrit-PatchSet: 2
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list