laforge has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21220 )


Change subject: gbproxy: Remove NUM_BVC_PER_NSE constant and constant-sized 
array
......................................................................

gbproxy: Remove NUM_BVC_PER_NSE constant and constant-sized array

Let's use a 'record of' with indefinite length in order to be able to
dynamically adjust the number of BSSGP_BVC_CT references based on how
many BVCs we have configured.

Change-Id: Id4aa20ff0b553cb8a1f5a67faa1e7b237fb254b8
---
M gbproxy/GBProxy_Tests.ttcn
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/20/21220/1

diff --git a/gbproxy/GBProxy_Tests.ttcn b/gbproxy/GBProxy_Tests.ttcn
index 874679d..e6c07d7 100644
--- a/gbproxy/GBProxy_Tests.ttcn
+++ b/gbproxy/GBProxy_Tests.ttcn
@@ -187,13 +187,13 @@
        }
 };

-const integer NUM_BVC_PER_NSE := 3;
 type record GbInstance {
        NS_CT vc_NS,
        BSSGP_CT vc_BSSGP,
-       BSSGP_BVC_CT vc_BSSGP_BVC[NUM_BVC_PER_NSE],
+       BSSGP_BVC_CTs vc_BSSGP_BVC,
        BssgpConfig cfg
 };
+type record of BSSGP_BVC_CT BSSGP_BVC_CTs

 const integer NUM_PCU := 3;
 type record of GbInstance GbInstances;

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21220
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: Id4aa20ff0b553cb8a1f5a67faa1e7b237fb254b8
Gerrit-Change-Number: 21220
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <[email protected]>
Gerrit-MessageType: newchange

Reply via email to