laforge has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26774
)
Change subject: library/rua: Add missing templates (ts_/tr_)
......................................................................
library/rua: Add missing templates (ts_/tr_)
Change-Id: Iad6525f4a337ac2399bec71d2e16f8540f78b247
---
M library/rua/RUA_Templates.ttcn
1 file changed, 92 insertions(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
diff --git a/library/rua/RUA_Templates.ttcn b/library/rua/RUA_Templates.ttcn
index d4e4a0c..ee65412 100644
--- a/library/rua/RUA_Templates.ttcn
+++ b/library/rua/RUA_Templates.ttcn
@@ -26,6 +26,43 @@
}
/* 9.1.3 CONNECT */
+template (value) RUA_PDU
+ts_RUA_Connect(template (value) CN_DomainIndicator domain,
+ template (value) bitstring context_id,
+ template (value) Establishment_Cause est_cause,
+ template (value) octetstring ranap_msg) := {
+ initiatingMessage := {
+ procedureCode := id_Connect,
+ criticality := reject,
+ value_ := {
+ connect_ := {
+ protocolIEs := {
+ {
+ id := 7,
+ criticality := reject,
+ value_ := { cN_DomainIndicator := domain }
+ }, {
+ id := 3,
+ criticality := reject,
+ value_ := { context_ID := context_id }
+ }, {
+ id := 6,
+ criticality := reject,
+ value_ := { establishment_Cause := est_cause }
+ }, {
+ id := 4,
+ criticality := reject,
+ value_ := {
+ rANAP_Message := ranap_msg
+ }
+ }
+ },
+ protocolExtensions := omit
+ }
+ }
+ }
+}
+
template (present) RUA_PDU
tr_RUA_Connect(template (present) CN_DomainIndicator domain := ?,
template (present) bitstring context_id := ?,
@@ -124,6 +161,41 @@
}
/* 9.1.5 DISCONNECT */
+template (value) RUA_PDU
+ts_RUA_Disconnect(template (value) CN_DomainIndicator domain,
+ template (value) bitstring context_id,
+ template (value) Cause cause,
+ template (value) octetstring ranap_msg) := {
+ initiatingMessage := {
+ procedureCode := 3,
+ criticality := reject,
+ value_ := {
+ disconnect_ := {
+ protocolIEs := {
+ {
+ id := 7,
+ criticality := reject,
+ value_ := { cN_DomainIndicator := domain }
+ }, {
+ id := 3,
+ criticality := reject,
+ value_ := { context_ID := context_id }
+ }, {
+ id := 1,
+ criticality := reject,
+ value_ := { cause := cause }
+ }, {
+ id := 4,
+ criticality := reject,
+ value_ := { rANAP_Message := ranap_msg }
+ }
+ },
+ protocolExtensions := omit
+ }
+ }
+ }
+}
+
template (present) RUA_PDU
tr_RUA_Disconnect(template (present) CN_DomainIndicator domain := ?,
template (present) bitstring context_id := ?,
@@ -179,4 +251,24 @@
}
}
}
+
+template (present) RUA_PDU
+tr_RUA_ConnectionlessTransfer(template (present) octetstring ranap_msg := ?) := {
+ initiatingMessage := {
+ procedureCode := id_ConnectionlessTransfer,
+ criticality := reject,
+ value_ := {
+ connectionlessTransfer := {
+ protocolIEs := {
+ {
+ id := 4,
+ criticality := reject,
+ value_ := { rANAP_Message := ranap_msg }
+ }
+ },
+ protocolExtensions := omit
+ }
+ }
+ }
+}
};
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26774
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: Iad6525f4a337ac2399bec71d2e16f8540f78b247
Gerrit-Change-Number: 26774
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged