<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23547">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gbproxy: Generalize as_count_bvc_block() into as_count_bvc_sts()<br><br>... and while add it, add as_count_bvc_unblock() based on it.<br><br>Related: OS#4968<br>Change-Id: I33ceace527d6a0cd816fb4e042fdcffd8f0dd23f<br>---<br>M gbproxy/GBProxy_Tests.ttcn<br>1 file changed, 14 insertions(+), 2 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/47/23547/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/gbproxy/GBProxy_Tests.ttcn b/gbproxy/GBProxy_Tests.ttcn</span><br><span>index f1e5c79..5ae153f 100644</span><br><span>--- a/gbproxy/GBProxy_Tests.ttcn</span><br><span>+++ b/gbproxy/GBProxy_Tests.ttcn</span><br><span>@@ -2521,14 +2521,26 @@</span><br><span>   f_cleanup();</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-private altstep as_count_bvc_block(integer sgsn_idx, BssgpBvci bvci, inout roro_integer roroi)</span><br><span style="color: hsl(120, 100%, 40%);">+private altstep as_count_bvc_sts(integer sgsn_idx, BssgpBvci bvci,</span><br><span style="color: hsl(120, 100%, 40%);">+                                template (present) BvcState exp_bvc_state, inout roro_integer roroi)</span><br><span> runs on test_CT {</span><br><span>   var BSSGP_BVC_CT sgsn_bvc_ct := f_get_sgsn_bvc_ct(sgsn_idx, bvci);</span><br><span style="color: hsl(0, 100%, 40%);">-      [] SGSN_MGMT.receive(tr_BssgpStsInd(?, bvci, BVC_S_BLOCKED)) from sgsn_bvc_ct {</span><br><span style="color: hsl(120, 100%, 40%);">+       [] SGSN_MGMT.receive(tr_BssgpStsInd(?, bvci, exp_bvc_state)) from sgsn_bvc_ct {</span><br><span>              roroi[sgsn_idx] := roroi[sgsn_idx] & { bvci };</span><br><span>           repeat;</span><br><span>      }</span><br><span> }</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+private altstep as_count_bvc_block(integer sgsn_idx, BssgpBvci bvci, inout roro_integer roroi)</span><br><span style="color: hsl(120, 100%, 40%);">+runs on test_CT {</span><br><span style="color: hsl(120, 100%, 40%);">+   [] as_count_bvc_sts(sgsn_idx, bvci, BVC_S_BLOCKED, roroi);</span><br><span style="color: hsl(120, 100%, 40%);">+}</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+private altstep as_count_bvc_unblock(integer sgsn_idx, BssgpBvci bvci, inout roro_integer roroi)</span><br><span style="color: hsl(120, 100%, 40%);">+runs on test_CT {</span><br><span style="color: hsl(120, 100%, 40%);">+  [] as_count_bvc_sts(sgsn_idx, bvci, BVC_S_UNBLOCKED, roroi);</span><br><span style="color: hsl(120, 100%, 40%);">+}</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> /* reset the signaling BVC from one BSS; expect no signaling BVC reset on SGSN; but BVC-BLOCK for PTP */</span><br><span> testcase TC_bvc_reset_sig_from_bss() runs on test_CT {</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23547">change 23547</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/+/23547"/><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: I33ceace527d6a0cd816fb4e042fdcffd8f0dd23f </div>
<div style="display:none"> Gerrit-Change-Number: 23547 </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>