Change in osmo-ttcn3-hacks[master]: bsc CBSP: expect zero-payload ETWS CMD after CBSP RESET

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/.

neels gerrit-no-reply at lists.osmocom.org
Thu Aug 13 16:49:14 UTC 2020


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


Change subject: bsc CBSP: expect zero-payload ETWS CMD after CBSP RESET
......................................................................

bsc CBSP: expect zero-payload ETWS CMD after CBSP RESET

When receiving the instruction to CBSP RESET, osmo-bsc should stop CBSP
broadcasting on all BTSes. Expect the according zero-payload ETWS CMDs on all
CBSP relevant RSL ports.

This behavior is implemented by osmo-bsc
I925a041936c6163483d70fe6d158af368ec8c444

This is expected to break all CBSP tests until above bsc patch is merged,
particularly the 'latest' tests will see this breakage until the next release
is tagged.

Depends: I925a041936c6163483d70fe6d158af368ec8c444 (osmo-bsc)
Change-Id: Ifee313369a433a6a638c5fffdedee5363b8e47c2
---
M bsc/BSC_Tests_CBSP.ttcn
1 file changed, 12 insertions(+), 0 deletions(-)



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

diff --git a/bsc/BSC_Tests_CBSP.ttcn b/bsc/BSC_Tests_CBSP.ttcn
index 497ff80..6d0d2d7 100644
--- a/bsc/BSC_Tests_CBSP.ttcn
+++ b/bsc/BSC_Tests_CBSP.ttcn
@@ -186,6 +186,18 @@
 		mtc.stop;
 		}
 	}
+
+	f_cbsp_expect_disable_broadcast();
+}
+
+function f_cbsp_expect_disable_broadcast() runs on cbsp_test_CT
+{
+	var template ASP_RSL_Unitdata zero_payload := tr_ASP_RSL_UD(tr_RSL_OSMO_ETWS_CMD(t_RslChanNr_PCH_AGCH(0), ''O));
+	interleave {
+	[] IPA_RSL[0].receive(zero_payload) { log("CBSP: disabled broadcast on bts 0"); }
+	[] IPA_RSL[1].receive(zero_payload) { log("CBSP: disabled broadcast on bts 1"); }
+	[] IPA_RSL[2].receive(zero_payload) { log("CBSP: disabled broadcast on bts 2"); }
+	}
 }
 
 /* send a WRITE CBS to the BSC; expect either COMPLETE or FAILURE in response*/

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19636
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: Ifee313369a433a6a638c5fffdedee5363b8e47c2
Gerrit-Change-Number: 19636
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200813/5e283877/attachment.htm>


More information about the gerrit-log mailing list