Change in docker-playground[master]: BSC_Tests.cfg: adjust cfg for multiple MSCs

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/.

neels gerrit-no-reply at lists.osmocom.org
Wed Jun 10 17:28:20 UTC 2020


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/18774 )


Change subject: BSC_Tests.cfg: adjust cfg for multiple MSCs
......................................................................

BSC_Tests.cfg: adjust cfg for multiple MSCs

This only enables ttcn to be able to connect multiple MSCs. To be able to use
this in the BSC_Tests, osmo-bsc.cfg needs adjusting in an upcoming patch; tests
using this are in osmo-ttcn3-hacks I21cbab193cd0de2e5692665442eae113d5f61904.

Depends: Ibb36695b7c31f7b04eec6c5d59522fc0779b3c2f (osmo-ttcn3-hacks)
Change-Id: I1986e4ef43beee161c82193694421b56136c1afe
---
M ttcn3-bsc-test/BSC_Tests.cfg
M ttcn3-bsc-test/osmo-stp.cfg
2 files changed, 50 insertions(+), 9 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/74/18774/1

diff --git a/ttcn3-bsc-test/BSC_Tests.cfg b/ttcn3-bsc-test/BSC_Tests.cfg
index a27d099..fab146d 100644
--- a/ttcn3-bsc-test/BSC_Tests.cfg
+++ b/ttcn3-bsc-test/BSC_Tests.cfg
@@ -13,15 +13,39 @@
 BSC_Tests.mp_test_ip   := "172.18.2.203";
 BSC_Tests.mp_enable_osmux_test := true;
 BSC_Tests.mp_bssap_cfg := {
-	transport := BSSAP_TRANSPORT_AoIP,
-	sccp_service_type := "mtp3_itu",
-	sctp_addr := { 23905, "172.18.2.203", 2905, "172.18.2.200" },
-	own_pc := 185,
-	own_ssn := 254,
-	peer_pc := 187,
-	peer_ssn := 254,
-	sio := '83'O,
-	rctx := 1
+	{
+		transport := BSSAP_TRANSPORT_AoIP,
+		sccp_service_type := "mtp3_itu",
+		sctp_addr := { 23905, "172.18.2.203", 2905, "172.18.2.200" },
+		own_pc := 185,	/* 0.23.1 first MSC emulation */
+		own_ssn := 254,
+		peer_pc := 187, /* 0.23.3 osmo-bsc */
+		peer_ssn := 254,
+		sio := '83'O,
+		rctx := 1
+	},
+	{
+		transport := BSSAP_TRANSPORT_AoIP,
+		sccp_service_type := "mtp3_itu",
+		sctp_addr := { 23906, "172.18.2.203", 2905, "172.18.2.200" },
+		own_pc := 2,	/* 0.0.2 second MSC emulation */
+		own_ssn := 254,
+		peer_pc := 187, /* 0.23.3 osmo-bsc */
+		peer_ssn := 254,
+		sio := '83'O,
+		rctx := 2
+	},
+	{
+		transport := BSSAP_TRANSPORT_AoIP,
+		sccp_service_type := "mtp3_itu",
+		sctp_addr := { 23907, "172.18.2.203", 2905, "172.18.2.200" },
+		own_pc := 3,	/* 0.0.3 third MSC emulation */
+		own_ssn := 254,
+		peer_pc := 187, /* 0.23.3 osmo-bsc */
+		peer_ssn := 254,
+		sio := '83'O,
+		rctx := 3
+	}
 };
 BSC_Tests_CBSP.mp_cgi_bts0 := { '001'H, '01'H, 1, 0 };
 BSC_Tests_CBSP.mp_cgi_bts1 := { '001'H, '01'H, 1, 1 };
diff --git a/ttcn3-bsc-test/osmo-stp.cfg b/ttcn3-bsc-test/osmo-stp.cfg
index 9102114..0c6d3a2 100644
--- a/ttcn3-bsc-test/osmo-stp.cfg
+++ b/ttcn3-bsc-test/osmo-stp.cfg
@@ -45,8 +45,25 @@
  as virt-msc0 m3ua
   asp virt-msc0-0
   routing-key 1 0.23.1
+
+ asp virt-msc1-0 23906 2905 m3ua
+  local-ip 172.18.2.200
+  remote-ip 172.18.2.203
+ as virt-msc1 m3ua
+  asp virt-msc1-0
+  routing-key 2 0.0.2
+
+ asp virt-msc2-0 23907 2905 m3ua
+  local-ip 172.18.2.200
+  remote-ip 172.18.2.203
+ as virt-msc2 m3ua
+  asp virt-msc2-0
+  routing-key 3 0.0.3
+
  route-table system
   update route 0.23.1 7.255.7 linkset virt-msc0
+  update route 0.0.2 7.255.7 linkset virt-msc1
+  update route 0.0.3 7.255.7 linkset virt-msc2
  listen m3ua 2905
   accept-asp-connections dynamic-permitted
  listen ipa 5000

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/18774
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I1986e4ef43beee161c82193694421b56136c1afe
Gerrit-Change-Number: 18774
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200610/a0034c67/attachment.htm>


More information about the gerrit-log mailing list