pcu: SNS: add TC_sns_1c1u_unconfigured_nsvc

There shouldn't any unconfigured NSVC after the configuration phase. The unconfigured
NSVC is used in the SNS configuration phase and must be removed when the configuration
is done and the NSVC is included in the configuration.

Related: SYS#5416
Change-Id: Iac6c8966aafd1cb2fab515de091e94607eb7c040
This commit is contained in:
Alexander Couzens 2021-04-06 15:57:05 +02:00
parent 8094254ff9
commit 3efa501b0d
1 changed files with 11 additions and 0 deletions

View File

@ -11,6 +11,7 @@ module PCU_Tests_SNS {
*/
import from Osmocom_Types all;
import from Osmocom_VTY_Functions all;
import from PCU_Tests_NS all;
import from SGSN_Components all;
import from Osmocom_Gb_Types all;
@ -220,6 +221,15 @@ testcase TC_sns_1c1u_so_bvc_reset() runs on RAW_Test_CT {
f_clean_ns_codec();
}
/* Test full IP_SNS bring-up over an initial NS-VC with two NS-VCs */
testcase TC_sns_1c1u_unconfigured_nsvc() runs on RAW_Test_CT {
f_init_vty(testcasename());
f_sns_bringup_1c1u_separate();
f_vty_transceive_not_match(PCUVTY, "show ns entities", pattern "*UNCONFIGURED*");
setverdict(pass);
f_clean_ns_codec();
}
/* Transmit BVC-RESET before NS-ALIVE of PCU was ACKed: expect no response */
testcase TC_sns_1c1u_so_bvc_reset_too_early() runs on RAW_Test_CT {
/* Activate two NS codec ports */
@ -371,6 +381,7 @@ control {
execute( TC_sns_1c1u_separate() );
execute( TC_sns_1c1u_so_bvc_reset() );
execute( TC_sns_1c1u_so_bvc_reset_too_early() );
execute( TC_sns_1c1u_unconfigured_nsvc() );
execute( TC_sns_so_bvc_reset_unknown_bvci() );
execute( TC_sns_add() );
execute( TC_sns_add_nack() );