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

2020-06-14 Thread neels
neels has submitted this change. ( 
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(-)

Approvals:
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  neels: Verified



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: 2
Gerrit-Owner: neels 
Gerrit-Reviewer: laforge 
Gerrit-Reviewer: neels 
Gerrit-Reviewer: pespin 
Gerrit-MessageType: merged


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

2020-06-14 Thread neels
neels has posted comments on this change. ( 
https://gerrit.osmocom.org/c/docker-playground/+/18774 )

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


Patch Set 1: Verified+1


--
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 
Gerrit-Reviewer: laforge 
Gerrit-Reviewer: neels 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Sun, 14 Jun 2020 11:01:43 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


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

2020-06-12 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/docker-playground/+/18774 )

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


Patch Set 1: Code-Review+2


--
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 
Gerrit-Reviewer: laforge 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Fri, 12 Jun 2020 14:55:03 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


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

2020-06-11 Thread laforge
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/docker-playground/+/18774 )

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


Patch Set 1: Code-Review+1


--
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 
Gerrit-Reviewer: laforge 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Thu, 11 Jun 2020 20:44:58 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


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

2020-06-11 Thread pespin
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/docker-playground/+/18774 )

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


Patch Set 1: Code-Review+1


--
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 
Gerrit-Reviewer: pespin 
Gerrit-Comment-Date: Thu, 11 Jun 2020 13:42:43 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


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

2020-06-10 Thread neels
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 
Gerrit-MessageType: newchange