library/rua: Add missing templates (ts_/tr_)
Change-Id: Iad6525f4a337ac2399bec71d2e16f8540f78b247
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
+ }
+ }
+ }
+}
};