Change in docker-playground[master]: gbproxy: Switch to IP-SNS on the BSS side

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
Mon Apr 12 13:37:40 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/23731 )

Change subject: gbproxy: Switch to IP-SNS on the BSS side
......................................................................

gbproxy: Switch to IP-SNS on the BSS side

When testing gbproxy with an IP BSS, we want to use IP-SNS as that
is the more relaistic use case in practice.

This un-breaks the dockerized tests since I90bd101096979b170c38fa2a80abb80d296c4d2e
was merged in osmo-ttcn3-hacks.git

Change-Id: Id1324e019b7f148f8d33977c0089e996089e1e59
---
M ttcn3-gbproxy-test/GBProxy_Tests.cfg
M ttcn3-gbproxy-test/osmo-gbproxy.cfg
2 files changed, 13 insertions(+), 4 deletions(-)

Approvals:
  laforge: Looks good to me, approved; Verified



diff --git a/ttcn3-gbproxy-test/GBProxy_Tests.cfg b/ttcn3-gbproxy-test/GBProxy_Tests.cfg
index e9de732..e1d6573 100644
--- a/ttcn3-gbproxy-test/GBProxy_Tests.cfg
+++ b/ttcn3-gbproxy-test/GBProxy_Tests.cfg
@@ -56,33 +56,39 @@
 }
 GBProxy_Tests.mp_nsconfig_pcu := {
 	{
+		handle_sns := true,
 		nsvc := {
 			{
 				provider := {
 					ip := {
 						local_ip := "172.18.24.103",
+						remote_udp_port := 24000,
 						remote_ip := "172.18.24.10"
 					}
 				}
 			}
 		}
 	}, {
+		handle_sns := true,
 		nsvc := {
 			{
 				provider := {
 					ip := {
 						local_ip := "172.18.24.103",
+						remote_udp_port := 24000,
 						remote_ip := "172.18.24.10"
 					}
 				}
 			}
 		}
 	}, {
+		handle_sns := true,
 		nsvc := {
 			{
 				provider := {
 					ip := {
 						local_ip := "172.18.24.103",
+						remote_udp_port := 24000,
 						remote_ip := "172.18.24.10"
 					}
 				}
diff --git a/ttcn3-gbproxy-test/osmo-gbproxy.cfg b/ttcn3-gbproxy-test/osmo-gbproxy.cfg
index f6d358e..2eb9824 100644
--- a/ttcn3-gbproxy-test/osmo-gbproxy.cfg
+++ b/ttcn3-gbproxy-test/osmo-gbproxy.cfg
@@ -31,15 +31,18 @@
  name second
  nri add 4
 ns
- bind udp local
+ bind udp sgsn-side
   listen 172.18.24.10 23000
-  accept-ipaccess
  nse 101
-  ip-sns-bind local
+  ip-sns-bind sgsn-side
   ip-sns-remote 172.18.24.103 7777
  nse 102
-  ip-sns-bind local
+  ip-sns-bind sgsn-side
   ip-sns-remote 172.18.24.103 8888
+ bind udp bss-side
+  listen 172.18.24.10 24000
+  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/docker-playground/+/23731
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: Id1324e019b7f148f8d33977c0089e996089e1e59
Gerrit-Change-Number: 23731
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210412/d9f31af0/attachment.htm>


More information about the gerrit-log mailing list