<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22693">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">fr: UE_CT: Store BVCI + CellId in each UE<br><br>Change-Id: I1a25a03e17b3d957763512dc4acda134338df3be<br>---<br>M fr/FR_Tests.ttcn<br>1 file changed, 8 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/93/22693/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/fr/FR_Tests.ttcn b/fr/FR_Tests.ttcn</span><br><span>index 311cab6..a2c5e82 100644</span><br><span>--- a/fr/FR_Tests.ttcn</span><br><span>+++ b/fr/FR_Tests.ttcn</span><br><span>@@ -119,7 +119,9 @@</span><br><span> type record UE_Pars {</span><br><span>   hexstring imsi,</span><br><span>      OCT4 tlli,</span><br><span style="color: hsl(0, 100%, 40%);">-      float tguard</span><br><span style="color: hsl(120, 100%, 40%);">+  float tguard,</span><br><span style="color: hsl(120, 100%, 40%);">+ BssgpBvci bvci,</span><br><span style="color: hsl(120, 100%, 40%);">+       BssgpCellId cell_id</span><br><span> };</span><br><span> </span><br><span> type function void_fn(charstring id) runs on UE_CT;</span><br><span>@@ -158,14 +160,16 @@</span><br><span> }</span><br><span> </span><br><span> /* start a single UE component; connect it to BSSGP */</span><br><span style="color: hsl(0, 100%, 40%);">-function f_start_ue(void_fn fn, charstring id, GbInstance gb, integer imsi_suffix, BSSGP_BVC_CT bvc_comp, float t_guard := 40.0)</span><br><span style="color: hsl(120, 100%, 40%);">+function f_start_ue(void_fn fn, charstring id, BssgpBvcConfig bvc, integer imsi_suffix, BSSGP_BVC_CT bvc_comp, float t_guard := 40.0)</span><br><span> runs on test_CT return UE_CT</span><br><span> {</span><br><span>  var UE_CT ue_comp;</span><br><span>   var UE_Pars ue_pars := {</span><br><span>             imsi := f_gen_imsi(imsi_suffix),</span><br><span>             tlli := f_gprs_tlli_random(),</span><br><span style="color: hsl(0, 100%, 40%);">-           tguard := t_guard</span><br><span style="color: hsl(120, 100%, 40%);">+             tguard := t_guard,</span><br><span style="color: hsl(120, 100%, 40%);">+            bvci := bvc.bvci,</span><br><span style="color: hsl(120, 100%, 40%);">+             cell_id := bvc.cell_id</span><br><span>       };</span><br><span> </span><br><span>       ue_comp := UE_CT.create(id);</span><br><span>@@ -203,7 +207,7 @@</span><br><span>                   for (var integer k := 0; k < ue_per_bvc; k := k+1) {</span><br><span>                              var charstring id := "gb" & int2str(i) & "-bvc" & int2str(g_gb[i].cfg.bvc[j].bvci) & "-UEsim" & int2str(k);</span><br><span>                                var UE_CT ue;</span><br><span style="color: hsl(0, 100%, 40%);">-                           ue := f_start_ue(ue_fn, id, g_gb[i], i*10000+j*100+k, bvc_comp,</span><br><span style="color: hsl(120, 100%, 40%);">+                               ue := f_start_ue(ue_fn, id, g_gb[i].cfg.bvc[j], i*10000+j*100+k, bvc_comp,</span><br><span> ue_tguard);</span><br><span>                            ues := ues & { ue };</span><br><span>                             /* a bit of staggering to ensure the timers above don't run all at the same time */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22693">change 22693</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22693"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I1a25a03e17b3d957763512dc4acda134338df3be </div>
<div style="display:none"> Gerrit-Change-Number: 22693 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>