2 # CMIP conformation file
4 #.IMPORT ../acse/acse-exp.cnf
7 Remote-Operations-Information-Objects cmip.ros
8 Attribute-ASN1Module cmip.x721
11 #.OMIT_ASSIGNMENT Remote-Operations-Information-Objects
21 Invoke/argument InvokeArgument
22 ReturnResult/result/result ResultArgument
23 Attribute/value AttributeValue
24 EventReportArgument/eventInfo EventReportArgumentEventInfo
28 Invoke/linkedId/present linkedIdPresent
30 Reject/problem/invoke invokeProblem
31 Reject/problem/returnError returnErrorProblem
32 Reject/problem/returnResult returnResultProblem
34 ReturnResult/result/result resultArgument
36 SetArgument/modificationList/_item/attributeValue attributevalue
37 ActionTypeId/globalForm actionTypeId_globalForm
38 AttributeId/globalForm attributeId_globalForm
39 EventTypeId/globalForm eventTypeId_globalForm
40 ObjectClass/globalForm objectClass_globalForm
41 ManagementExtension/identifier managementExtensionidentifier
42 ServiceUser/identifier serviceUseridentifier
43 AttributeValueAssertion/value attributeValueAssertionvalue
44 FilterItem/present filterItempresent
45 ObjectClass/localForm objectClasslocalForm
46 AttributeId/localForm attributeIdlocalForm
47 ActionErrorInfo/errorStatus actionErrorInfo-errorStatus
48 AttributeError/errorStatus attributeError-errorStatus
49 AttributeIdError/errorStatus attributeIdError-errorStatus
50 ActionErrorInfo/errorInfo actionErrorInfo
51 # SpecificErrorInfo/errorInfo specificErrorInfo
52 Attribute/id attributeid
53 CMIPUserInfo/accessControl cmipUserInfoaccessControl
54 ActionError/actionErrorInfo actionErroractionErrorInfo
55 EventReportArgument/eventInfo eventReportArgumenteventInfo
74 static const value_string cmip_Opcode_vals[] = {
75 #.TABLE_BODY OPERATION
76 { %(&operationCode)s, "%(_ident)s" },
84 static const value_string cmip_error_code_vals[] = {
86 { %(&errorCode)s, "%(_ident)s" },
95 BaseManagedObjectId B "2.9.2.21.7.13" "BaseManagedObjectId(13)"
97 SimpleNameType B "2.9.3.2.7.1" "discriminatorId(1)"
98 SimpleNameType B "2.9.3.2.7.2" "logId(2)"
99 LogRecordId B "2.9.3.2.7.3" "logRecordId(3)"
100 SystemId B "2.9.3.2.7.4" "systemId(4)"
101 SystemTitle B "2.9.3.2.7.5" "systemTitle(5)"
102 AdditionalInformation B "2.9.3.2.7.6" "additionalInformation(6)"
103 AdditionalText B "2.9.3.2.7.7" "additionalText(7)"
104 AttributeIdentifierList B "2.9.3.2.7.8" "attributeIdentifierList(8)"
105 AttributeList B "2.9.3.2.7.9" "attributeList(9)"
106 AttributeValueChangeDefinition B "2.9.3.2.7.10" "attributeValueChangeDefinition(10)"
107 BackedUpStatus B "2.9.3.2.7.11" "backedUpStatus(11)"
108 CorrelatedNotifications B "2.9.3.2.7.12" "correlatedNotifications(12)"
109 EventTime B "2.9.3.2.7.13" "eventTime(13)"
110 EventTypeId B "2.9.3.2.7.14" "eventType(14)"
111 MonitoredAttributes B "2.9.3.2.7.15" "monitoredAttributes(15)"
112 NotificationIdentifier B "2.9.3.2.7.16" "notificationIdentifier(16)"
113 PerceivedSeverity B "2.9.3.2.7.17" "perceivedSeverity(17)"
114 ProbableCause B "2.9.3.2.7.18" "probableCause(18)"
115 ProposedRepairActions B "2.9.3.2.7.19" "proposedRepairActions(19)"
116 AttributeValueChangeDefinition B "2.9.3.2.7.20" "relationshipChangeDefinition(20)"
117 SecurityAlarmCause B "2.9.3.2.7.21" "securityAlarmCause(21)"
118 SecurityAlarmDetector B "2.9.3.2.7.22" "securityAlarmDetector(22)"
119 SecurityAlarmSeverity B "2.9.3.2.7.23" "securityAlarmSeverity(23)"
120 ServiceProvider B "2.9.3.2.7.24" "serviceProvider(24)"
121 ServiceUser B "2.9.3.2.7.25" "serviceUser(25)"
122 SourceIndicator B "2.9.3.2.7.26" "sourceIndicator(26)"
123 SpecificProblems B "2.9.3.2.7.27" "specificProblems(27)"
124 AttributeValueChangeDefinition B "2.9.3.2.7.28" "stateChangeDefinition(28)"
125 ThresholdInfo B "2.9.3.2.7.29" "thresholdInfo(29)"
126 TrendIndication B "2.9.3.2.7.30" "trendIndication(30)"
127 AdministrativeState B "2.9.3.2.7.31" "administrativeState(31)"
128 AlarmStatus B "2.9.3.2.7.32" "alarmStatus(32)"
129 AvailabilityStatus B "2.9.3.2.7.33" "availabilityStatus(33)"
130 ControlStatus B "2.9.3.2.7.34" "controlStatus(34)"
131 OperationalState B "2.9.3.2.7.35" "operationalState(35)"
132 ProceduralStatus B "2.9.3.2.7.36" "proceduralStatus(36)"
133 StandbyStatus B "2.9.3.2.7.37" "standbyStatus(37)"
134 UnknownStatus B "2.9.3.2.7.38" "unknownStatus(38)"
135 UsageState B "2.9.3.2.7.39" "usageState(39)"
136 BackUpRelationshipObject B "2.9.3.2.7.40" "backUpObject(40)"
137 BackUpRelationshipObject B "2.9.3.2.7.41" "backedUpObject(41)"
138 GroupObjects B "2.9.3.2.7.42" "member(42)"
139 GroupObjects B "2.9.3.2.7.43" "owner(43)"
140 BackUpRelationshipObject B "2.9.3.2.7.44" "peer(44)"
141 PrioritisedObject B "2.9.3.2.7.45" "primary(45)"
142 PrioritisedObject B "2.9.3.2.7.46" "providerObject(46)"
143 PrioritisedObject B "2.9.3.2.7.47" "secondary(47)"
144 PrioritisedObject B "2.9.3.2.7.48" "userObject(48)"
145 ActiveDestination B "2.9.3.2.7.49" "activeDestination(49)"
146 Allomorphs B "2.9.3.2.7.50" "allomorphs(50)"
147 BackUpDestinationList B "2.9.3.2.7.51" "backUpDestinationList(51)"
148 CapacityAlarmThreshold B "2.9.3.2.7.52" "capacityAlarmThreshold(52)"
149 ConfirmedMode B "2.9.3.2.7.53" "confirmedMode(53)"
150 CurrentLogSize B "2.9.3.2.7.54" "currentLogSize(54)"
151 Destination B "2.9.3.2.7.55" "destination(55)"
152 DiscriminatorConstruct B "2.9.3.2.7.56" "discriminatorConstruct(56)"
153 IntervalsOfDay B "2.9.3.2.7.57" "intervalsOfDay(57)"
154 LogFullAction B "2.9.3.2.7.58" "logFullAction(58)"
155 LoggingTime B "2.9.3.2.7.59" "loggingTime(59)"
156 #ObjectClass B "2.9.3.2.7.60" "managedObjectClass(60)"
157 #ObjectInstance B "2.9.3.2.7.61" "managedObjectInstance(61)"
158 MaxLogSize B "2.9.3.2.7.62" "maxLogSize(62)"
159 NameBinding B "2.9.3.2.7.63" "nameBinding(63)"
160 NumberOfRecords B "2.9.3.2.7.64" "numberOfRecords(64)"
161 ObjectClass B "2.9.3.2.7.65" "objectClass(65)"
162 Packages B "2.9.3.2.7.66" "packages(66)"
163 #ObjectInstance B "2.9.3.2.7.66" "schedulerName(67)"
164 StartTime B "2.9.3.2.7.68" "startTime(68)"
165 StopTime B "2.9.3.2.7.69" "stopTime(69)"
166 SupportedFeatures B "2.9.3.2.7.70" "supportedFeatures(70)"
167 WeekMask B "2.9.3.2.7.71" "weekMask(71)"
168 # corruptedPDUsReceivedCounter(72) -- corruptedPDUsReceivedCounter attribute type
169 # incomingConnectionRejectErrorCounter(73) -- incomingConnectionRejectErrorCounte...
170 # incomingConnectionRequestsCounter(74) -- incomingConnectionRequestsCounter attr...
171 # incomingDisconnectCounter(75) -- incomingDisconnectCounter attribute type
172 # ncomingDisconnectErrorCounter(76) -- ncomingDisconnectErrorCounter attribute ty...
173 # incomingProtocolErrorCounter(77) -- incomingProtocolErrorCounter attribute type
174 # octetsReceivedCounter(78) -- octetsReceivedCounter attribute type
175 # octetsRetransmittedErrorCounter(79) -- octetsRetransmittedErrorCounter attribut...
176 # octetsSentCounter(80) -- octetsSentCounter attribute type
177 # outgoingConnectionRejectErrorCounter(81) -- outgoingConnectionRejectErrorCounte...
178 # outgoingConnectionRequestsCounter(82) -- outgoingConnectionRequestsCounter attr...
179 # outgoingDisconnectCounter(83) -- outgoingDisconnectCounter attribute type
180 # outgoingDisconnectErrorCounter(84) -- outgoingDisconnectErrorCounter attribute ...
181 # outgoingProtocolErrorCounter(85) -- outgoingProtocolErrorCounter attribute type
182 # pdusReceivedCounter(86) -- pdusReceivedCounter attribute type (PDU: Protocol Da...
183 # pdusRetransmittedErrorCounter(87) -- pdusRetransmittedErrorCounter attribute ty...
184 # pdusSentCounter(88) -- pdusSentCounter attribute type (PDU: Protocol Data Unit)
185 # corruptedPDUsReceivedThreshold(89) -- corruptedPDUsReceivedThreshold attribute ...
186 # incomingConnectionRejectErrorThreshold(90) -- incomingConnectionRejectErrorThre...
187 # incomingConnectionRequestsThreshold(91) -- incomingConnectionRequestsThreshold ...
188 # incomingDisconnectErrorThreshold(92) -- incomingDisconnectErrorThreshold attrib...
189 # incomingProtocolErrorThreshold(93) -- incomingProtocolErrorThreshold attribute ...
190 # octetsReceivedThreshold(94) -- octetsReceivedThreshold attribute type
191 # octetsRetransmittedThreshold(95) -- octetsRetransmittedThreshold attribute type
192 # octetsSentThreshold(96) -- octetsSentThreshold attribute type
193 # outgoingConnectionRejectErrorThreshold(97) -- outgoingConnectionRejectErrorThre...
194 # outgoingConnectionRequestsThreshold(98) -- outgoingConnectionRequestsThreshold ...
195 # outgoingDisconnectErrorThreshold(99) -- outgoingDisconnectErrorThreshold attrib...
196 # outgoingProtocolErrorThreshold(100) -- outgoingProtocolErrorThreshold attribute...
197 # pdusReceivedThreshold(101) -- pdusReceivedThreshold attribute type (PDU: Protoc...
198 # pdusRetransmittedErrorThreshold(102) -- pdusRetransmittedErrorThreshold attribu...
199 # pdusSentThreshold(103) -- pdusSentThreshold attribute type (PDU: Protocol Data ...
200 LifecycleState B "2.9.3.2.7.115" "lifecycleState(115)"
204 # Removed as they are giving 'defined but not used' warnings currently.
211 SchedulingAvailability
214 UnscheduledLogAvailability
222 #.FN_HDR CMIPAbortInfo
223 col_append_str(actx->pinfo->cinfo, COL_INFO, "CMIP-A-ABORT");
226 #.FN_HDR CMIPUserInfo
227 col_append_str(actx->pinfo->cinfo, COL_INFO, "CMIP-A-ASSOCIATE");
230 #.FN_BODY CMIPAbortSource VAL_PTR = &value
234 col_append_fstr(actx->pinfo->cinfo, COL_INFO, " AbortSource:%%s", val_to_str(value, cmip_CMIPAbortSource_vals, " Unknown AbortSource:%%d"));
237 #.FN_BODY Code/local VAL_PTR = &opcode
239 if(opcode_type== OPCODE_RETURN_ERROR){
240 col_append_str(actx->pinfo->cinfo, COL_INFO, val_to_str(opcode, cmip_error_code_vals, " Unknown Opcode:%%d"));
242 col_append_str(actx->pinfo->cinfo, COL_INFO, val_to_str(opcode, cmip_Opcode_vals, " Unknown Opcode:%%d"));
247 opcode_type=OPCODE_INVOKE;
248 col_prepend_fstr(actx->pinfo->cinfo, COL_INFO, "Invoke ");
251 #.FN_HDR ReturnResult
252 opcode_type=OPCODE_RETURN_RESULT;
253 col_prepend_fstr(actx->pinfo->cinfo, COL_INFO, "ReturnResult ");
257 opcode_type=OPCODE_RETURN_ERROR;
258 col_prepend_fstr(actx->pinfo->cinfo, COL_INFO, "ReturnError ");
262 opcode_type=OPCODE_REJECT;
263 col_prepend_fstr(actx->pinfo->cinfo, COL_INFO, "Reject ");
266 #.FN_BODY AttributeId/globalForm FN_VARIANT = _str VAL_PTR = &actx->external.direct_reference
268 actx->external.direct_ref_present = (actx->external.direct_reference != NULL) ? true : false;
270 #.FN_BODY AttributeId/localForm VAL_PTR = &actx->external.indirect_reference
272 actx->external.indirect_ref_present = true;
274 #.FN_BODY Attribute/value
275 if(actx->external.direct_ref_present){
276 offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, actx->private_data);
277 } else if (actx->external.indirect_ref_present &&
278 dissector_try_uint(attribute_id_dissector_table, actx->external.indirect_reference, tvb, actx->pinfo, tree)) {
279 offset=tvb_reported_length (tvb);
281 offset=dissect_unknown_ber(actx->pinfo, tvb, offset, tree);
284 #.FN_PARS AttributeValueAssertion/id
285 FN_VARIANT = _str VAL_PTR = &actx->external.direct_reference
287 #.FN_FTR AttributeValueAssertion/id
288 actx->external.direct_ref_present = (actx->external.direct_reference != NULL) ? true : false;
290 #.FN_BODY AttributeValueAssertion/value
291 if (actx->external.direct_ref_present) {
292 offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, actx->private_data);
295 #.FN_BODY Invoke/argument
297 case 0: /* M-eventreport */
298 offset = dissect_cmip_EventReportArgument(false, tvb, offset, actx, tree, -1);
300 case 1: /* M-eventreport-confirmed */
301 offset = dissect_cmip_EventReportArgument(false, tvb, offset, actx, tree, -1);
303 case 2: /* M-linkedreply */
304 offset = dissect_cmip_LinkedReplyArgument(false, tvb, offset, actx, tree, -1);
307 offset = dissect_cmip_GetArgument(false, tvb, offset,actx, tree, -1);
310 offset = dissect_cmip_SetArgument(false, tvb, offset,actx, tree, -1);
312 case 5: /* M-set-confirmed */
313 offset = dissect_cmip_SetArgument(false, tvb, offset,actx, tree, -1);
315 case 6: /* M-action*/
316 offset = dissect_cmip_ActionArgument(false, tvb, offset, actx, tree, -1);
318 case 7: /* M-action-confirmed*/
319 offset = dissect_cmip_ActionArgument(false, tvb, offset, actx, tree, -1);
321 case 8: /* M-create*/
322 offset = dissect_cmip_CreateArgument(false, tvb, offset, actx, tree, -1);
324 case 9: /* M-delete*/
325 offset = dissect_cmip_DeleteArgument(false, tvb, offset, actx, tree, -1);
327 case 10: /* M-cancelget */
328 offset = dissect_cmip_InvokeIDType(false, tvb, offset, actx, tree, -1);
333 #.FN_BODY ReturnResult/result/result
336 case 0: /* M-eventreport*/
337 break; /* No return data */
338 case 1: /* M-eventreport-confirmed */
339 offset = dissect_cmip_EventReportResult(false, tvb, offset, actx, tree, -1);
341 case 2: /* M-linkedreply*/
342 break; /* No return data */
344 offset = dissect_cmip_GetResult(false, tvb, offset, actx, tree, -1);
347 break; /* No return data */
348 case 5: /* M-set-confirmed*/
349 offset = dissect_cmip_SetResult(false, tvb, offset, actx, tree, -1);
351 case 6: /* M-action*/
352 break; /* No return data */
353 case 7: /* M-action-confirmed*/
354 offset = dissect_cmip_ActionResult(false, tvb, offset, actx, tree, -1);
356 case 8: /* M-create*/
357 offset = dissect_cmip_CreateResult(false, tvb, offset, actx, tree, -1);
359 case 9: /* M-delete*/
360 offset = dissect_cmip_DeleteResult(false, tvb, offset, actx, tree, -1);
362 case 10: /* M-cancelget */
363 break; /* doe this one return any data? */
365 /*XXX add more types here */
367 #.FN_BODY ReturnError/parameter
370 case 19: /* classInstanceConflict */
371 dissect_cmip_BaseManagedObjectId(false, tvb, offset, actx, tree, -1);
373 case 20: /* complexityLimitation */
374 dissect_cmip_ComplexityLimitation(false, tvb, offset, actx, tree, -1);
376 case 11: /* duplicateManagedObjectInstance */
377 dissect_cmip_ObjectInstance(false, tvb, offset, actx, tree, -1);
379 case 7: /* getListError */
380 dissect_cmip_GetListError(false, tvb, offset, actx, tree, -1);
382 case 15: /* invalidArgumentValue */
383 dissect_cmip_InvalidArgumentValue(false, tvb, offset, actx, tree, -1);
385 case 6: /* invalidAttributeValue */
386 dissect_cmip_Attribute(false, tvb, offset, actx, tree, -1);
388 case 4: /* invalidFilter */
389 dissect_cmip_CMISFilter(false, tvb, offset, actx, tree, -1);
391 case 17: /* invalidObjectInstance */
392 dissect_cmip_ObjectInstance(false, tvb, offset, actx, tree, -1);
394 case 16: /* invalidScope */
395 dissect_cmip_Scope(false, tvb, offset, actx, tree, -1);
397 case 18: /* missingAttributeValue */
398 /* Hmmm SET OF AttributeId */
399 dissect_cmip_PAR_missingAttributeValue(false, tvb, offset, actx, tree, -1);
401 case 9: /* noSuchAction */
402 dissect_cmip_NoSuchAction(false, tvb, offset, actx, tree, -1);
404 case 14: /* noSuchArgument */
405 dissect_cmip_NoSuchArgument(false, tvb, offset, actx, tree, -1);
407 case 5: /* noSuchAttribute */
408 dissect_cmip_AttributeId(false, tvb, offset, actx, tree, -1);
410 case 13: /* noSuchEventType */
411 dissect_cmip_NoSuchEventType(false, tvb, offset, actx, tree, -1);
413 case 22: /* noSuchInvokeId */
414 dissect_cmip_InvokeIDType(false, tvb, offset, actx, tree, -1);
416 case 0: /* noSuchObjectClass */
417 dissect_cmip_ObjectClass(false, tvb, offset, actx, tree, -1);
419 case 1:/* noSuchObjectInstance */
420 dissect_cmip_ObjectInstance(false, tvb, offset, actx, tree, -1);
422 case 12: /* noSuchReferenceObject */
423 dissect_cmip_ObjectInstance(false, tvb, offset, actx, tree, -1);
425 case 10: /* processingFailure OPTIONAL true*/
426 dissect_cmip_ProcessingFailure(false, tvb, offset, actx, tree, -1);
428 case 8: /* setListError */
429 dissect_cmip_SetListError(false, tvb, offset, actx, tree, -1);
431 case 3:/* syncNotSupported */
432 dissect_cmip_CMISSync(false, tvb, offset, actx, tree, -1);
436 #.FN_PARS ObjectClass/globalForm
439 #.FN_PARS ActionTypeId/globalForm
440 FN_VARIANT = _str HF_INDEX = hf_cmip_actionType_OID VAL_PTR = &object_identifier_id
442 #.FN_BODY ActionInfo/actionInfoArg
443 offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
445 #.FN_PARS EventTypeId/globalForm
446 FN_VARIANT = _str HF_INDEX = hf_cmip_eventType_OID VAL_PTR = &object_identifier_id
448 #.FN_BODY EventReportArgument/eventInfo
449 offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
451 #.FN_BODY EventReply/eventReplyInfo
452 offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
454 #.FN_BODY SetArgument/modificationList/_item/attributeValue
455 if(actx->external.direct_ref_present){
456 offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL);
457 } else if (actx->external.indirect_ref_present &&
458 dissector_try_uint(attribute_id_dissector_table, actx->external.indirect_reference, tvb, actx->pinfo, tree)) {
459 offset=tvb_reported_length (tvb);
461 offset=dissect_unknown_ber(actx->pinfo, tvb, offset, tree);
464 #.FN_PARS SpecificErrorInfo/errorId
465 FN_VARIANT = _str HF_INDEX = hf_cmip_errorId_OID VAL_PTR = &object_identifier_id
467 #.FN_BODY SpecificErrorInfo/errorInfo
468 offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
470 #.FN_BODY AttributeError/attributeValue
471 offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
473 #.FN_BODY InvalidArgumentValue/eventValue/eventInfo
474 offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
476 #.FN_BODY ActionReply/actionReplyInfo
477 offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
481 #.FN_PARS ManagementExtension/identifier FN_VARIANT = _str VAL_PTR = &object_identifier_id
483 #.FN_BODY ManagementExtension/information
484 offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
486 #.FN_BODY AttributeValueChangeDefinition/_item/oldAttributeValue
487 offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
489 #.FN_BODY AttributeValueChangeDefinition/_item/newAttributeValue
490 offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
492 #.FN_PARS ServiceUser/identifier FN_VARIANT = _str VAL_PTR = &object_identifier_id
494 #.FN_BODY ServiceUser/details
495 offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
497 #.FN_PARS SupportedFeatures/_item/featureIdentifier FN_VARIANT = _str VAL_PTR = &object_identifier_id
499 #.FN_BODY SupportedFeatures/_item/featureInfo
500 offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
503 Attribute/id ABBREV=attributeid
504 FilterItem/present ABBREV=filterItempresent
505 Invoke/linkedId/present ABBREV=linkedIdPresent