pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38566?usp=email )

Change subject: RANAP_Templates: Add templates for ResetResource(Ack)
......................................................................

RANAP_Templates: Add templates for ResetResource(Ack)

Change-Id: If6357c19b39ef63057a2d8d471975185f0161b22
---
M library/ranap/RANAP_Templates.ttcn
1 file changed, 96 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  fixeria: Looks good to me, but someone else must approve
  osmith: Looks good to me, approved




diff --git a/library/ranap/RANAP_Templates.ttcn 
b/library/ranap/RANAP_Templates.ttcn
index 5cd9353..3f9c497 100644
--- a/library/ranap/RANAP_Templates.ttcn
+++ b/library/ranap/RANAP_Templates.ttcn
@@ -123,6 +123,102 @@
 }

 
/*****************************************************************************************************
+ * Reset Resource
+ 
*****************************************************************************************************/
+
+template (present) RANAP_PDU
+tr_RANAP_ResetResource(template (present) CN_DomainIndicator dom := ?,
+                      template (present) Cause cause := ?,
+                      template (present) IuSignallingConnectionIdentifier 
sigc_id := ?,
+                      template ResetResource.protocolExtensions exts := *) := {
+       initiatingMessage := {
+               procedureCode := id_ResetResource,
+               criticality := reject,
+               value_ := {
+                       resetResource := {
+                               protocolIEs := {
+                                        {
+                                               id := id_CN_DomainIndicator,
+                                               criticality := reject,
+                                               value_ := {
+                                                       cN_DomainIndicator := 
dom
+                                               }
+                                       },{
+                                               id := id_Cause,
+                                               criticality := ignore,
+                                               value_ := {
+                                                       cause := cause
+                                               }
+                                       },{
+                                               id := id_IuSigConIdList,
+                                               criticality := ignore,
+                                               value_ := {
+                                                       resetResourceList := {
+                                                               {
+                                                                       {
+                                                                       id := 
id_IuSigConIdItem,
+                                                                       
criticality := reject,
+                                                                       value_ 
:= {
+                                                                               
resetResourceItem := {
+                                                                               
        iuSigConId := sigc_id,
+                                                                               
        iE_Extensions := omit
+                                                                               
}
+                                                                       }
+                                                                       }
+                                                               }
+                                                       }
+                                               }
+                                       }, *
+                               },
+                               protocolExtensions := exts
+                       }
+               }
+       }
+}
+
+template (value) RANAP_PDU
+ts_RANAP_ResetResourceAck(template (value) CN_DomainIndicator dom,
+                 template (value) IuSignallingConnectionIdentifier sigc_id) := 
{
+       successfulOutcome := {
+               procedureCode := id_ResetResource,
+               criticality := reject,
+               value_ := {
+                       resetResourceAcknowledge := {
+                               protocolIEs := {
+                                       {
+                                               id := id_CN_DomainIndicator,
+                                               criticality := reject,
+                                               value_ := {
+                                                       cN_DomainIndicator := 
dom
+                                               }
+                                       },{
+                                               id := id_IuSigConIdList,
+                                               criticality := ignore,
+                                               value_ := {
+                                                       resetResourceAckList := 
{
+                                                               {
+                                                                       {
+                                                                       id := 
id_IuSigConIdItem,
+                                                                       
criticality := reject,
+                                                                       value_ 
:= {
+                                                                               
resetResourceAckItem := {
+                                                                               
        iuSigConId := sigc_id,
+                                                                               
        iE_Extensions := omit
+                                                                               
}
+                                                                       }
+                                                                       }
+                                                               }
+                                                       }
+                                               }
+                                       }
+                               },
+                               protocolExtensions := omit
+                       }
+               }
+       }
+}
+
+/*****************************************************************************************************
  * Security Mode Control
  
*****************************************************************************************************/


--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38566?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: If6357c19b39ef63057a2d8d471975185f0161b22
Gerrit-Change-Number: 38566
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to