pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39644?usp=email )
Change subject: stp: Pass M3UA conn idx to f_M3UA_rkm_register()
......................................................................
stp: Pass M3UA conn idx to f_M3UA_rkm_register()
Change-Id: I9295a2c3518f82e8c82625fb573e414b1d634146
---
M stp/STP_Tests_M3UA.ttcn
1 file changed, 5 insertions(+), 5 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/44/39644/1
diff --git a/stp/STP_Tests_M3UA.ttcn b/stp/STP_Tests_M3UA.ttcn
index 195ce81..57aede4 100644
--- a/stp/STP_Tests_M3UA.ttcn
+++ b/stp/STP_Tests_M3UA.ttcn
@@ -684,12 +684,12 @@
f_clear_m3ua();
}
-private function f_M3UA_rkm_register(OCT4 id, OCT3 dpc, OCT4 rctx,
+private function f_M3UA_rkm_register(integer idx, OCT4 local_id, OCT3 dpc, OCT4 rctx,
template (present) OCT4 exp_status := c_M3UA_REGSTS_SUCCESS)
runs on RAW_M3UA_CT
{
- f_M3UA_send(0, ts_M3UA_REG_REQ({ts_M3UA_rkey(id:=id, dpc:=dpc, rctx:=rctx)}));
- f_M3UA_exp(0, tr_M3UA_REG_RSP({tr_M3UA_reg_res(id:=id, status:=exp_status,
rctx:=rctx)}));
+ f_M3UA_send(idx, ts_M3UA_REG_REQ({ts_M3UA_rkey(id:=local_id, dpc:=dpc, rctx:=rctx)}));
+ f_M3UA_exp(idx, tr_M3UA_REG_RSP({tr_M3UA_reg_res(id:=local_id, status:=exp_status,
rctx:=rctx)}));
}
/* Send RKM registration; expect -EPERM as RCTX doesn't match config and dynamic not
permitted */
@@ -759,7 +759,7 @@
f_init_m3ua();
/* first register the routing key */
- f_M3UA_rkm_register(id:='30000099'O, dpc:=dpc, rctx:=rctx);
+ f_M3UA_rkm_register(0, local_id:='30000099'O, dpc:=dpc, rctx:=rctx);
/* then try to de-register */
f_M3UA_send(0, ts_M3UA_DEREG_REQ(ts_M3UA_routing_ctx(rctx)));
@@ -779,7 +779,7 @@
f_init_m3ua();
/* first register the routing key */
- f_M3UA_rkm_register(id:='30000099'O, dpc:=dpc, rctx:=rctx);
+ f_M3UA_rkm_register(0, local_id:='30000099'O, dpc:=dpc, rctx:=rctx);
/* then activate the ASP */
f_M3UA_asp_up_act(0);
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39644?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I9295a2c3518f82e8c82625fb573e414b1d634146
Gerrit-Change-Number: 39644
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>