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 affected 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
This commit is contained in:
Neels Hofmeyr 2020-08-13 16:18:51 +00:00
parent 8281200718
commit 161b37e65f
1 changed files with 12 additions and 0 deletions

View File

@ -186,6 +186,18 @@ function f_cbsp_reset_bss(integer idx) runs on cbsp_test_CT {
mtc.stop;
}
}
f_cbsp_expect_disable_etws_pn_broadcast();
}
function f_cbsp_expect_disable_etws_pn_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 ETWS PN broadcast on bts 0"); }
[] IPA_RSL[1].receive(zero_payload) { log("CBSP: disabled ETWS PN broadcast on bts 1"); }
[] IPA_RSL[2].receive(zero_payload) { log("CBSP: disabled ETWS PN broadcast on bts 2"); }
}
}
/* send a WRITE CBS to the BSC; expect either COMPLETE or FAILURE in response*/