Change in osmo-ttcn3-hacks[master]: stp: Add TC_clnt_asp_act_tmt_loadshare()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Sun Dec 1 19:58:06 UTC 2019


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


Change subject: stp: Add TC_clnt_asp_act_tmt_loadshare()
......................................................................

stp: Add TC_clnt_asp_act_tmt_loadshare()

This test case checks if the traffic-mode is communicated to the SG if
we operate in ASP mode.

Change-Id: If7d84b73b36a91fb697daf6263ec93b8672cbdc2
Related: OS#4285
---
M stp/STP_Tests_M3UA.ttcn
1 file changed, 15 insertions(+), 0 deletions(-)



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

diff --git a/stp/STP_Tests_M3UA.ttcn b/stp/STP_Tests_M3UA.ttcn
index 23f93d8..a44e6ad 100644
--- a/stp/STP_Tests_M3UA.ttcn
+++ b/stp/STP_Tests_M3UA.ttcn
@@ -554,6 +554,18 @@
 	f_clear_m3ua();
 }
 
+/* Expect inbound connection from ASP/SCTP-client, followed by ASP-UP + ASP-ACT */
+testcase TC_clnt_asp_act_tmt_loadshare() runs on RAW_M3UA_CT {
+	f_init_common();
+	f_vty_config2(VTY, {"cs7 instance 0", "as as-client m3ua"}, "traffic-mode loadshare");
+	f_init_m3ua();
+	f_init_m3ua_srv();
+
+	f_M3UA_CLNT_asp_up_act(M3UA_SRV(0), tmt := c_M3UA_TMT_loadshare, rctx := int2oct(1055, 4));
+
+	f_clear_m3ua();
+}
+
 /* Test traffic being routed through "server" side STP (M3UA SG), coming back in "client"
  * side STP (M3UA ASP) */
 testcase TC_clnt_sg_to_asp() runs on RAW_M3UA_CT {
@@ -629,6 +641,9 @@
 	execute( TC_clnt_asp_act() );
 	execute( TC_clnt_sg_to_asp() );
 	execute( TC_clnt_asp_to_sg() );
+
+	/* put this one last as it changes the stp side config */
+	execute( TC_clnt_asp_act_tmt_loadshare() );
 }
 
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16396
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: If7d84b73b36a91fb697daf6263ec93b8672cbdc2
Gerrit-Change-Number: 16396
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191201/af1a8663/attachment.htm>


More information about the gerrit-log mailing list