Change in osmo-ttcn3-hacks[master]: gbproxy: Move different network elements to different IPs

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
Wed Jan 20 14:18:35 UTC 2021


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

Change subject: gbproxy: Move different network elements to different IPs
......................................................................

gbproxy: Move different network elements to different IPs

* SGSN0: 127.0.0.10
* SGSN1: 127.0.0.11
* PCU0:  127.0.1.1
* PCU1:  127.0.2.1
* PCU3:  127.0.3.1

Change-Id: I1762bfc237e679ee21d0446596f2c4f56f735a9d
---
M gbproxy/GBProxy_Tests.cfg
M gbproxy/GBProxy_Tests.ttcn
M gbproxy/osmo-gbproxy.cfg
3 files changed, 7 insertions(+), 49 deletions(-)

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



diff --git a/gbproxy/GBProxy_Tests.cfg b/gbproxy/GBProxy_Tests.cfg
index e1e1eff..d610e40 100644
--- a/gbproxy/GBProxy_Tests.cfg
+++ b/gbproxy/GBProxy_Tests.cfg
@@ -21,48 +21,6 @@
 
 }
 
-GBProxy_Tests.mp_nsconfig_pcu := {
-	{
-		handle_sns := false,
-		nsvc := {
-			{
-				provider := {
-					ip := {
-						local_ip := "127.0.0.1",
-						remote_ip := "127.0.0.1"
-					}
-				}
-			}
-		}
-	},
-	{
-		handle_sns := false,
-		nsvc := {
-			{
-				provider := {
-					ip := {
-						local_ip := "127.0.0.1",
-						remote_ip := "127.0.0.1"
-					}
-				}
-			}
-		}
-	},
-	{
-		handle_sns := false,
-		nsvc := {
-			{
-				provider := {
-					ip := {
-						local_ip := "127.0.0.1",
-						remote_ip := "127.0.0.1"
-					}
-				}
-			}
-		}
-	}
-}
-
 [MAIN_CONTROLLER]
 
 [EXECUTE]
diff --git a/gbproxy/GBProxy_Tests.ttcn b/gbproxy/GBProxy_Tests.ttcn
index 487a799..9fa9c4f 100644
--- a/gbproxy/GBProxy_Tests.ttcn
+++ b/gbproxy/GBProxy_Tests.ttcn
@@ -65,7 +65,7 @@
 						ip := {
 							address_family := AF_INET,
 							local_udp_port := 7777,
-							local_ip := "127.0.0.1",
+							local_ip := "127.0.0.10",
 							remote_udp_port := 23000,
 							remote_ip := "127.0.0.1"
 						}
@@ -83,7 +83,7 @@
 						ip := {
 							address_family := AF_INET,
 							local_udp_port := 8888,
-							local_ip := "127.0.0.1",
+							local_ip := "127.0.0.11",
 							remote_udp_port := 23000,
 							remote_ip := "127.0.0.1"
 						}
@@ -107,7 +107,7 @@
 						ip := {
 							address_family := AF_INET,
 							local_udp_port := 21010,
-							local_ip := "127.0.0.1",
+							local_ip := "127.0.1.1",
 							remote_udp_port := 23000,
 							remote_ip := "127.0.0.1"
 						}
@@ -126,7 +126,7 @@
 						ip := {
 							address_family := AF_INET,
 							local_udp_port := 21020,
-							local_ip := "127.0.0.1",
+							local_ip := "127.0.2.1",
 							remote_udp_port := 23000,
 							remote_ip := "127.0.0.1"
 						}
@@ -145,7 +145,7 @@
 						ip := {
 							address_family := AF_INET,
 							local_udp_port := 21030,
-							local_ip := "127.0.0.1",
+							local_ip := "127.0.3.1",
 							remote_udp_port := 23000,
 							remote_ip := "127.0.0.1"
 						}
diff --git a/gbproxy/osmo-gbproxy.cfg b/gbproxy/osmo-gbproxy.cfg
index 5789e3a..6f4b1e7 100644
--- a/gbproxy/osmo-gbproxy.cfg
+++ b/gbproxy/osmo-gbproxy.cfg
@@ -18,9 +18,9 @@
   listen 127.0.0.1 23000
   accept-ipaccess
  nse 101
-  ip-sns 127.0.0.1 7777
+  ip-sns 127.0.0.10 7777
  nse 102
-  ip-sns 127.0.0.1 8888
+  ip-sns 127.0.0.11 8888
  timer tns-block 3
  timer tns-block-retries 3
  timer tns-reset 3

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22300
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: I1762bfc237e679ee21d0446596f2c4f56f735a9d
Gerrit-Change-Number: 22300
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
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/20210120/fd30e7a8/attachment.htm>


More information about the gerrit-log mailing list