This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24655 )
Change subject: OML: Add types/templates for GetAttributesResponse
......................................................................
OML: Add types/templates for GetAttributesResponse
Change-Id: Iec7198cc164b6e33e708d59c3f214efb3e1ac33b
---
M library/AbisOML_Types.ttcn
1 file changed, 27 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/55/24655/1
diff --git a/library/AbisOML_Types.ttcn b/library/AbisOML_Types.ttcn
index 0a562ae..5997543 100644
--- a/library/AbisOML_Types.ttcn
+++ b/library/AbisOML_Types.ttcn
@@ -616,6 +616,15 @@
uint8_t sacch_rch_sapi3_10ms
};
+/* Section 9.4.64 */
+type record OML_FOM_ARI {
+ uint16_t len,
+ uint8_t non_reported_attr_len,
+ set of uint8_t non_reported_attr optional,
+ OML_FOM_IE_List ies optional
+} with { variant (len) "LENGTHTO(non_reported_attr_len,non_reported_attr,ies)"
+ variant (non_reported_attr_len) "LENGTHTO(non_reported_attr)" };
+
type union OML_FOM_IE_Body {
OML_FOM_AbisChannel abis_channel,
OML_FOM_AdministrativeState adm_state,
@@ -669,6 +678,8 @@
uint16_t paging_cfg,
OCT2 freq_ctrl,
+ OML_FOM_ARI ari,
+
OML_IE_L16V other
};
@@ -728,6 +739,8 @@
paging_cfg, iei = NM_ATT_IPACC_PAGING_CFG;
freq_ctrl, iei = NM_ATT_IPACC_FREQ_CTRL;
+ ari, iei = NM_ATT_GET_ARI;
+
other, OTHERWISE;
)" };
@@ -1124,6 +1137,20 @@
tr_OML_IE(NM_ATT_LIST_REQ_ATTR, OML_FOM_IE_Body:{other := tr_OML_IE_L16V(?, req_attr)})
});
+/* 8.11.3 Get Attribute Responses */
+template (value) OML_PDU ts_OML_GetAttributesResponse(template (value) OML_FOM_ObjectClass obj_class,
+ template (value) OML_FOM_ObjectInstance obj_inst,
+ template (value) octetstring req_attr) :=
+ ts_OML_MsgType(NM_MT_GET_ATTR_RESP, obj_class, obj_inst, {
+ ts_OML_IE(NM_ATT_GET_ARI, OML_FOM_IE_Body:{other := ts_OML_IE_L16V(0, req_attr)})
+ });
+template OML_PDU tr_OML_GetAttributesResponse(template OML_FOM_ObjectClass obj_class,
+ template OML_FOM_ObjectInstance obj_inst,
+ template OML_FOM_ARI ari := ?) :=
+ tr_OML_MsgType(NM_MT_GET_ATTR_RESP, obj_class, obj_inst, {
+ tr_OML_IE(NM_ATT_GET_ARI, OML_FOM_IE_Body:{ari := ari})
+ });
+
/* convert a request into an ACK */
function f_OML_make_ack(OML_PDU orig) return OML_PDU {
var OML_PDU resp := orig;
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24655
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: Iec7198cc164b6e33e708d59c3f214efb3e1ac33b
Gerrit-Change-Number: 24655
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210614/ba74b18f/attachment.htm>