<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16396">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">stp: Add TC_clnt_asp_act_tmt_loadshare()<br><br>This test case checks if the traffic-mode is communicated to the SG if<br>we operate in ASP mode.<br><br>Change-Id: If7d84b73b36a91fb697daf6263ec93b8672cbdc2<br>Related: OS#4285<br>---<br>M stp/STP_Tests_M3UA.ttcn<br>1 file changed, 15 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/stp/STP_Tests_M3UA.ttcn b/stp/STP_Tests_M3UA.ttcn</span><br><span>index 23f93d8..a44e6ad 100644</span><br><span>--- a/stp/STP_Tests_M3UA.ttcn</span><br><span>+++ b/stp/STP_Tests_M3UA.ttcn</span><br><span>@@ -554,6 +554,18 @@</span><br><span>     f_clear_m3ua();</span><br><span> }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+/* Expect inbound connection from ASP/SCTP-client, followed by ASP-UP + ASP-ACT */</span><br><span style="color: hsl(120, 100%, 40%);">+testcase TC_clnt_asp_act_tmt_loadshare() runs on RAW_M3UA_CT {</span><br><span style="color: hsl(120, 100%, 40%);">+  f_init_common();</span><br><span style="color: hsl(120, 100%, 40%);">+      f_vty_config2(VTY, {"cs7 instance 0", "as as-client m3ua"}, "traffic-mode loadshare");</span><br><span style="color: hsl(120, 100%, 40%);">+  f_init_m3ua();</span><br><span style="color: hsl(120, 100%, 40%);">+        f_init_m3ua_srv();</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+  f_M3UA_CLNT_asp_up_act(M3UA_SRV(0), tmt := c_M3UA_TMT_loadshare, rctx := int2oct(1055, 4));</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ f_clear_m3ua();</span><br><span style="color: hsl(120, 100%, 40%);">+}</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> /* Test traffic being routed through "server" side STP (M3UA SG), coming back in "client"</span><br><span>  * side STP (M3UA ASP) */</span><br><span> testcase TC_clnt_sg_to_asp() runs on RAW_M3UA_CT {</span><br><span>@@ -629,6 +641,9 @@</span><br><span>       execute( TC_clnt_asp_act() );</span><br><span>        execute( TC_clnt_sg_to_asp() );</span><br><span>      execute( TC_clnt_asp_to_sg() );</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+     /* put this one last as it changes the stp side config */</span><br><span style="color: hsl(120, 100%, 40%);">+     execute( TC_clnt_asp_act_tmt_loadshare() );</span><br><span> }</span><br><span> </span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16396">change 16396</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/+/16396"/><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: If7d84b73b36a91fb697daf6263ec93b8672cbdc2 </div>
<div style="display:none"> Gerrit-Change-Number: 16396 </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-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>