<p>neels <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19554">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">fix mscpool cleanup (fixes LCLS tests)<br><br>osmo-bsc takes a while to notice that a connected MSC is no longer connected.<br>Once the mscpool tests have run, the additional msc 1 and msc 2 still linger<br>around even though the BSSMAP link is no longer served by the bsc-tester.<br><br>The easiest way to ensure that only expected MSCs are contacted is to set<br>'no allow-attach' for each MSC that should not be in use.<br><br>So, the default setup is 'allow-attach' on msc 0, and 'no allow-attach' on mscs<br>1 and 2. In f_init(), allow attach on those MSCs indicated by the nr_msc<br>amount. The entire vty transaction to configure attach/no attach for all three<br>MSCs takes about 4 micro seconds in my test setup, so it is fine to do this<br>during f_init() for each BSC test.<br><br>After this, tests running after the MSC pooling tests (the LCLS tests) no<br>longer round-robin their subscribers across disconnected MSCs.<br><br>NOTE: it would be good to somehow detect more reliably in osmo-bsc that an MSC<br>is gone and not use it anymore. That is however not so trivial. To get the LCLS<br>tests back online, this is a workaround to avoid that complexity for now.<br><br>Change-Id: I02ad58ed7d0d0aac61e393b415e09c6c5c8a70ca<br>---<br>M bsc/BSC_Tests.ttcn<br>1 file changed, 28 insertions(+), 22 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/54/19554/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19554">change 19554</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/+/19554"/><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: I02ad58ed7d0d0aac61e393b415e09c6c5c8a70ca </div>
<div style="display:none"> Gerrit-Change-Number: 19554 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>