Change in docker-playground[master]: PCU+SGSN: Adjust to new "provider" structure of NSConfiguration

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 Sep 28 14:11:07 UTC 2020


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

Change subject: PCU+SGSN: Adjust to new "provider" structure of NSConfiguration
......................................................................

PCU+SGSN: Adjust to new "provider" structure of NSConfiguration

In Change-Id I6904520d8c2f546327029777d68b1907611a8cf5 of
osmo-ttcn3-hacks, we change the structure of NSConfiguration.  Let's
adjust the configs accordingly.

Change-Id: I8c5e59e79b69c13632d69f5011be9279b827a4fa
Depends: osmo-ttcn3-hacks I6904520d8c2f546327029777d68b1907611a8cf5
---
M ttcn3-pcu-test/PCU_Tests.cfg
M ttcn3-pcu-test/sns/PCU_Tests.cfg
M ttcn3-sgsn-test/SGSN_Tests.cfg
3 files changed, 39 insertions(+), 19 deletions(-)

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



diff --git a/ttcn3-pcu-test/PCU_Tests.cfg b/ttcn3-pcu-test/PCU_Tests.cfg
index 89c997e..b5331f1 100644
--- a/ttcn3-pcu-test/PCU_Tests.cfg
+++ b/ttcn3-pcu-test/PCU_Tests.cfg
@@ -15,11 +15,15 @@
 PCU_Tests.mp_pcu_sock_path := "/data/unix/pcu_bts"
 PCU_Tests.mp_pcu_statsd_ip := "172.18.13.10"
 SGSN_Components.mp_nsconfig := {
-	address_family := AF_INET,
-	local_ip := "172.18.13.10",
-	local_udp_port := 23000,
-	remote_ip := "172.18.13.101",
-	remote_udp_port := 23000,
+	provider := {
+		ip := {
+			address_family := AF_INET,
+			local_ip := "172.18.13.10",
+			local_udp_port := 23000,
+			remote_ip := "172.18.13.101",
+			remote_udp_port := 23000
+		}
+	},
 	nsvci := 1234,
 	nsei := 1234
 }
diff --git a/ttcn3-pcu-test/sns/PCU_Tests.cfg b/ttcn3-pcu-test/sns/PCU_Tests.cfg
index f441d18..45b3fc7 100644
--- a/ttcn3-pcu-test/sns/PCU_Tests.cfg
+++ b/ttcn3-pcu-test/sns/PCU_Tests.cfg
@@ -9,11 +9,15 @@
 [MODULE_PARAMETERS]
 PCU_Tests.mp_pcu_sock_path := "/data/unix/pcu_bts"
 SGSN_Components.mp_nsconfig := {
-	address_family := AF_INET,
-	local_ip := "172.18.14.10",
-	local_udp_port := 23000,
-	remote_ip := "172.18.14.101",
-	remote_udp_port := 23000,
+	provider := {
+		ip := {
+			address_family := AF_INET,
+			local_ip := "172.18.14.10",
+			local_udp_port := 23000,
+			remote_ip := "172.18.14.101",
+			remote_udp_port := 23000
+		}
+	},
 	nsvci := 1234,
 	nsei := 1234
 }
diff --git a/ttcn3-sgsn-test/SGSN_Tests.cfg b/ttcn3-sgsn-test/SGSN_Tests.cfg
index 055ae5a..612fe03 100644
--- a/ttcn3-sgsn-test/SGSN_Tests.cfg
+++ b/ttcn3-sgsn-test/SGSN_Tests.cfg
@@ -14,19 +14,31 @@
 [MODULE_PARAMETERS]
 SGSN_Tests.mp_nsconfig := {
 	{
-		address_family := AF_INET,
-		local_ip := "172.18.8.103",
-		remote_ip := "172.18.8.10"
+		provider := {
+			ip := {
+				address_family := AF_INET,
+				local_ip := "172.18.8.103",
+				remote_ip := "172.18.8.10"
+			}
+		}
 	},
 	{
-		address_family := AF_INET,
-		local_ip := "172.18.8.103",
-		remote_ip := "172.18.8.10"
+		provider := {
+			ip := {
+				address_family := AF_INET,
+				local_ip := "172.18.8.103",
+				remote_ip := "172.18.8.10"
+			}
+		}
 	},
 	{
-		address_family := AF_INET,
-		local_ip := "172.18.8.103",
-		remote_ip := "172.18.8.10"
+		provider := {
+			ip := {
+				address_family := AF_INET,
+				local_ip := "172.18.8.103",
+				remote_ip := "172.18.8.10"
+			}
+		}
 	}
 }
 SGSN_Tests.mp_ranap_cfg := {

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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I8c5e59e79b69c13632d69f5011be9279b827a4fa
Gerrit-Change-Number: 20191
Gerrit-PatchSet: 2
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/20200928/78b24ac8/attachment.htm>


More information about the gerrit-log mailing list