Change in osmo-ttcn3-hacks[master]: gbproxy: Update config for IP BSS to use SNS

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

laforge gerrit-no-reply at lists.osmocom.org
Sat Apr 3 17:56:36 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23569 )

Change subject: gbproxy: Update config for IP BSS to use SNS
......................................................................

gbproxy: Update config for IP BSS to use SNS

This reflects the more realistic use cases: IP-SNS is used on the BSS
side, where osmo-gbproxy then behaves in SGSN role.

Change-Id: I90bd101096979b170c38fa2a80abb80d296c4d2e
---
M gbproxy/GBProxy_Tests.ttcn
M gbproxy/osmo-gbproxy.cfg
2 files changed, 13 insertions(+), 9 deletions(-)

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



diff --git a/gbproxy/GBProxy_Tests.ttcn b/gbproxy/GBProxy_Tests.ttcn
index d3c6df6..dcf72b0 100644
--- a/gbproxy/GBProxy_Tests.ttcn
+++ b/gbproxy/GBProxy_Tests.ttcn
@@ -134,7 +134,7 @@
 		{
 			nsei := 2001,
 			role_sgsn := false,
-			handle_sns := false,
+			handle_sns := true,
 			nsvc := {
 				{
 					provider := {
@@ -143,7 +143,7 @@
 							local_udp_port := 21010,
 							local_ip := "127.0.1.1",
 							remote_udp_port := 23000,
-							remote_ip := "127.0.0.1",
+							remote_ip := "127.0.0.2",
 							data_weight := 1,
 							signalling_weight := 1
 						}
@@ -155,7 +155,7 @@
 		{
 			nsei := 2002,
 			role_sgsn := false,
-			handle_sns := false,
+			handle_sns := true,
 			nsvc := {
 				{
 					provider := {
@@ -164,7 +164,7 @@
 							local_udp_port := 21020,
 							local_ip := "127.0.2.1",
 							remote_udp_port := 23000,
-							remote_ip := "127.0.0.1",
+							remote_ip := "127.0.0.2",
 							data_weight := 1,
 							signalling_weight := 1
 						}
@@ -176,7 +176,7 @@
 		{
 			nsei := 2003,
 			role_sgsn := false,
-			handle_sns := false,
+			handle_sns := true,
 			nsvc := {
 				{
 					provider := {
@@ -185,7 +185,7 @@
 							local_udp_port := 21030,
 							local_ip := "127.0.3.1",
 							remote_udp_port := 23000,
-							remote_ip := "127.0.0.1",
+							remote_ip := "127.0.0.2",
 							data_weight := 1,
 							signalling_weight := 1
 						}
diff --git a/gbproxy/osmo-gbproxy.cfg b/gbproxy/osmo-gbproxy.cfg
index efd0499..b2ccb3b 100644
--- a/gbproxy/osmo-gbproxy.cfg
+++ b/gbproxy/osmo-gbproxy.cfg
@@ -24,15 +24,19 @@
  name second
  nri add 4
 ns
- bind udp local
+ bind udp sgsn-side
   listen 127.0.0.1 23000
   accept-ipaccess
  nse 101
-  ip-sns-bind local
+  ip-sns-bind sgsn-side
   ip-sns-remote 127.0.0.10 7777
  nse 102
-  ip-sns-bind local
+  ip-sns-bind sgsn-side
   ip-sns-remote 127.0.0.11 8888
+ bind udp bss-side
+  listen 127.0.0.2 23000
+  accept-dynamic-ip-sns
+ ip-sns-default bind bss-side
  timer tns-block 3
  timer tns-block-retries 3
  timer tns-reset 3

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23569
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I90bd101096979b170c38fa2a80abb80d296c4d2e
Gerrit-Change-Number: 23569
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210403/3698f49f/attachment.htm>


More information about the gerrit-log mailing list