Change in osmo-ttcn3-hacks[master]: gbproxy: Use separate NS-VC for data / signalling on SGSN 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
Thu Jan 21 09:42:48 UTC 2021


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

Change subject: gbproxy: Use separate NS-VC for data / signalling on SGSN side
......................................................................

gbproxy: Use separate NS-VC for data / signalling on SGSN side

As we know, many production deployments have SGSN architectures with
clear control / user plane split.  In such situations, IP-SNS of the
SGSN informs us of two (classes of) IP endpoints:

    some that have control_weight > 0 and data_weight 0
    some that have control_weight 0 and data_weight > 0

Let's adjust the GBProxy_Tests.ttcn to use such a configuration for
each of the two simulated SGSNs.

Change-Id: If0e404bdf2c30a5e18748695608611be83f61109
Closes: OS#4953
---
M gbproxy/GBProxy_Tests.ttcn
1 file changed, 28 insertions(+), 2 deletions(-)

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



diff --git a/gbproxy/GBProxy_Tests.ttcn b/gbproxy/GBProxy_Tests.ttcn
index e1d2e59..e3e61f4 100644
--- a/gbproxy/GBProxy_Tests.ttcn
+++ b/gbproxy/GBProxy_Tests.ttcn
@@ -68,11 +68,24 @@
 							local_ip := "127.0.0.10",
 							remote_udp_port := 23000,
 							remote_ip := "127.0.0.1",
-							data_weight := 1,
+							data_weight := 0,
 							signalling_weight := 1
 						}
 					},
 					nsvci := 101
+				}, {
+					provider := {
+						ip := {
+							address_family := AF_INET,
+							local_udp_port := 7770,
+							local_ip := "127.0.0.10",
+							remote_udp_port := 23000,
+							remote_ip := "127.0.0.1",
+							data_weight := 1,
+							signalling_weight := 0
+						}
+					},
+					nsvci := 201
 				}
 
 			}
@@ -89,11 +102,24 @@
 							local_ip := "127.0.0.11",
 							remote_udp_port := 23000,
 							remote_ip := "127.0.0.1",
-							data_weight := 1,
+							data_weight := 0,
 							signalling_weight := 1
 						}
 					},
 					nsvci := 102
+				}, {
+					provider := {
+						ip := {
+							address_family := AF_INET,
+							local_udp_port := 8880,
+							local_ip := "127.0.0.11",
+							remote_udp_port := 23000,
+							remote_ip := "127.0.0.1",
+							data_weight := 1,
+							signalling_weight := 0
+						}
+					},
+					nsvci := 202
 				}
 			}
 		}

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22306
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: If0e404bdf2c30a5e18748695608611be83f61109
Gerrit-Change-Number: 22306
Gerrit-PatchSet: 3
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-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210121/b9802737/attachment.htm>


More information about the gerrit-log mailing list