Start BSSGP_CT and NS_CT as alive-type component in all testsuites

This was already done in PCU_Tests and Gbproxy_Tests, let's to it
everywhere.

Change-Id: I6e3b08710b4502e2b9805f7c9f7bd89f34e4085c
This commit is contained in:
Pau Espin 2022-02-22 16:46:23 +01:00 committed by pespin
parent 3bb9edf95d
commit 494e8b3e55
3 changed files with 6 additions and 6 deletions

View File

@ -88,8 +88,8 @@ private function CreateCallback(BssgpBvci bvci, BssgpCellId cell_id, OCT4 tlli,
private function f_init_gb(inout GbInstance gb, charstring id, integer offset) runs on test_CT {
var charstring id_idx := id & int2str(offset);
gb.vc_NS := NS_CT.create(id_idx & "-NSemu");
gb.vc_BSSGP := BSSGP_CT.create(id_idx & "-BSSGPemu");
gb.vc_NS := NS_CT.create(id_idx & "-NSemu") alive;
gb.vc_BSSGP := BSSGP_CT.create(id_idx & "-BSSGPemu") alive;
connect(gb.vc_BSSGP:BSCP, gb.vc_NS:NS_SP);
gb.vc_NS.start(NSStart(mp_nsconfig[offset], id_idx));
gb.vc_BSSGP.start(BssgpStart(gb.cfg, testcasename()));

View File

@ -89,8 +89,8 @@ type component test_CT {
/* initialize one Gb interface */
private function f_init_gb(inout GbInstance gb, charstring id, integer offset) runs on test_CT {
var charstring id_idx := id & int2str(offset);
gb.vc_NS := NS_CT.create(id_idx & "-NSemu");
gb.vc_BSSGP := BSSGP_CT.create(id_idx & "-BSSGPemu");
gb.vc_NS := NS_CT.create(id_idx & "-NSemu") alive;
gb.vc_BSSGP := BSSGP_CT.create(id_idx & "-BSSGPemu") alive;
connect(gb.vc_BSSGP:BSCP, gb.vc_NS:NS_SP);
gb.vc_NS.start(NSStart(mp_nsconfig[offset], id_idx));
connect(self:BSSGP_PROC[offset], gb.vc_BSSGP:PROC);

View File

@ -257,8 +257,8 @@ private function f_BssgpCellId_to_GTP_CellId(in BssgpCellId cell_id) return GTP_
}
private function f_init_gb(inout GbInstance gb, charstring id, integer offset) runs on test_CT {
gb.vc_NS := NS_CT.create(id & "-NS" & int2str(offset));
gb.vc_BSSGP := BSSGP_CT.create(id & "-BSSGP" & int2str(offset));
gb.vc_NS := NS_CT.create(id & "-NS" & int2str(offset)) alive;
gb.vc_BSSGP := BSSGP_CT.create(id & "-BSSGP" & int2str(offset)) alive;
/* connect lower end of BSSGP emulation with NS upper port */
connect(gb.vc_BSSGP:BSCP, gb.vc_NS:NS_SP);