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