2004-11-14 05:12:49 +00:00
|
|
|
# cmip.cnf
|
|
|
|
# CMIP conformation file
|
|
|
|
|
2005-08-02 05:21:19 +00:00
|
|
|
# $Id$
|
2004-11-14 05:12:49 +00:00
|
|
|
|
2007-10-16 13:59:40 +00:00
|
|
|
#.IMPORT ../acse/acse-exp.cnf
|
2004-11-14 05:12:49 +00:00
|
|
|
|
2007-06-25 18:40:17 +00:00
|
|
|
#.MODULE
|
|
|
|
Remote-Operations-Information-Objects cmip.ros
|
|
|
|
Attribute-ASN1Module cmip.x721
|
|
|
|
|
|
|
|
|
|
|
|
#.OMIT_ASSIGNMENT Remote-Operations-Information-Objects
|
|
|
|
Bind
|
|
|
|
Unbind
|
|
|
|
#.END
|
|
|
|
|
|
|
|
#.TYPE_RENAME
|
|
|
|
|
2007-07-02 09:20:19 +00:00
|
|
|
Invoke/argument InvokeArgument
|
|
|
|
ReturnResult/result/result ResultArgument
|
2007-07-05 13:18:28 +00:00
|
|
|
Attribute/value AttributeValue
|
|
|
|
EventReportArgument/eventInfo EventReportArgumentEventInfo
|
2007-06-25 18:40:17 +00:00
|
|
|
|
|
|
|
#.FIELD_RENAME
|
|
|
|
|
2007-07-02 09:20:19 +00:00
|
|
|
Invoke/linkedId/present linkedIdPresent
|
|
|
|
|
|
|
|
Reject/problem/invoke invokeProblem
|
|
|
|
Reject/problem/returnError returnErrorProblem
|
|
|
|
Reject/problem/returnResult returnResultProblem
|
|
|
|
|
|
|
|
ReturnResult/result/result resultArgument
|
|
|
|
|
2007-07-05 13:18:28 +00:00
|
|
|
SetArgument/modificationList/_item/attributeValue attributevalue
|
2007-07-02 09:20:19 +00:00
|
|
|
ActionTypeId/globalForm actionTypeId_globalForm
|
|
|
|
AttributeId/globalForm attributeId_globalForm
|
|
|
|
EventTypeId/globalForm eventTypeId_globalForm
|
|
|
|
ObjectClass/globalForm objectClass_globalForm
|
|
|
|
ManagementExtension/identifier managementExtensionidentifier
|
|
|
|
ServiceUser/identifier serviceUseridentifier
|
|
|
|
AttributeValueAssertion/value attributeValueAssertionvalue
|
|
|
|
FilterItem/present filterItempresent
|
|
|
|
ObjectClass/localForm objectClasslocalForm
|
|
|
|
AttributeId/localForm attributeIdlocalForm
|
|
|
|
ActionErrorInfo/errorStatus actionErrorInfo-errorStatus
|
|
|
|
AttributeError/errorStatus attributeError-errorStatus
|
|
|
|
AttributeIdError/errorStatus attributeIdError-errorStatus
|
|
|
|
ActionErrorInfo/errorInfo actionErrorInfo
|
|
|
|
# SpecificErrorInfo/errorInfo specificErrorInfo
|
|
|
|
Attribute/id attributeid
|
|
|
|
CMIPUserInfo/accessControl cmipUserInfoaccessControl
|
|
|
|
ActionError/actionErrorInfo actionErroractionErrorInfo
|
|
|
|
EventReportArgument/eventInfo eventReportArgumenteventInfo
|
2007-06-25 18:40:17 +00:00
|
|
|
|
2004-11-14 05:12:49 +00:00
|
|
|
#.EXPORTS
|
|
|
|
CMIPAbortInfo
|
|
|
|
CMIPUserInfo
|
|
|
|
ROS
|
2004-12-13 08:15:34 +00:00
|
|
|
InvokeIDType
|
2005-08-28 15:01:49 +00:00
|
|
|
ObjectInstance
|
|
|
|
ObjectClass
|
|
|
|
Attribute
|
|
|
|
RDNSequence
|
2007-06-27 17:02:47 +00:00
|
|
|
ProbableCause
|
|
|
|
AdministrativeState
|
|
|
|
AvailabilityStatus
|
|
|
|
AttributeList
|
|
|
|
AdditionalInformation
|
2004-11-14 05:12:49 +00:00
|
|
|
|
2007-07-01 18:48:15 +00:00
|
|
|
#.TABLE_HDR
|
|
|
|
/* CMIP OPERATIONS */
|
|
|
|
static const value_string cmip_Opcode_vals[] = {
|
|
|
|
#.TABLE_BODY OPERATION
|
|
|
|
{ %(&operationCode)s, "%(_ident)s" },
|
|
|
|
#.TABLE_FTR
|
|
|
|
{ 0, NULL }
|
|
|
|
};
|
|
|
|
#.END
|
|
|
|
|
|
|
|
#.TABLE_HDR
|
|
|
|
/* CMIP ERRORS */
|
|
|
|
static const value_string cmip_error_code_vals[] = {
|
|
|
|
#.TABLE_BODY ERROR
|
|
|
|
{ %(&errorCode)s, "%(_ident)s" },
|
|
|
|
#.TABLE_FTR
|
|
|
|
{ 0, NULL }
|
|
|
|
};
|
|
|
|
#.END
|
|
|
|
|
|
|
|
# X.721
|
|
|
|
|
2007-05-13 20:58:29 +00:00
|
|
|
#.REGISTER
|
2007-06-26 17:10:05 +00:00
|
|
|
BaseManagedObjectId B "2.9.2.21.7.13" "BaseManagedObjectId(13)"
|
2007-06-25 18:40:17 +00:00
|
|
|
# X.721
|
2007-06-27 17:02:47 +00:00
|
|
|
SimpleNameType B "2.9.3.2.7.1" "discriminatorId(1)"
|
|
|
|
SimpleNameType B "2.9.3.2.7.2" "logId(2)"
|
2007-06-26 17:10:05 +00:00
|
|
|
LogRecordId B "2.9.3.2.7.3" "logRecordId(3)"
|
|
|
|
SystemId B "2.9.3.2.7.4" "systemId(4)"
|
|
|
|
SystemTitle B "2.9.3.2.7.5" "systemTitle(5)"
|
|
|
|
AdditionalInformation B "2.9.3.2.7.6" "additionalInformation(6)"
|
|
|
|
AdditionalText B "2.9.3.2.7.7" "additionalText(7)"
|
|
|
|
AttributeIdentifierList B "2.9.3.2.7.8" "attributeIdentifierList(8)"
|
|
|
|
AttributeList B "2.9.3.2.7.9" "attributeList(9)"
|
|
|
|
AttributeValueChangeDefinition B "2.9.3.2.7.10" "attributeValueChangeDefinition(10)"
|
|
|
|
BackedUpStatus B "2.9.3.2.7.11" "backedUpStatus(11)"
|
|
|
|
CorrelatedNotifications B "2.9.3.2.7.12" "correlatedNotifications(12)"
|
|
|
|
EventTime B "2.9.3.2.7.13" "eventTime(13)"
|
2007-06-27 17:02:47 +00:00
|
|
|
EventTypeId B "2.9.3.2.7.14" "eventType(14)"
|
2007-06-26 17:10:05 +00:00
|
|
|
MonitoredAttributes B "2.9.3.2.7.15" "monitoredAttributes(15)"
|
2007-06-27 17:02:47 +00:00
|
|
|
NotificationIdentifier B "2.9.3.2.7.16" "notificationIdentifier(16)"
|
|
|
|
PerceivedSeverity B "2.9.3.2.7.17" "perceivedSeverity(17)"
|
2007-06-26 17:10:05 +00:00
|
|
|
ProbableCause B "2.9.3.2.7.18" "probableCause(18)"
|
|
|
|
ProposedRepairActions B "2.9.3.2.7.19" "proposedRepairActions(19)"
|
2007-06-27 17:02:47 +00:00
|
|
|
AttributeValueChangeDefinition B "2.9.3.2.7.20" "relationshipChangeDefinition(20)"
|
|
|
|
SecurityAlarmCause B "2.9.3.2.7.21" "securityAlarmCause(21)"
|
2007-06-26 17:10:05 +00:00
|
|
|
SecurityAlarmDetector B "2.9.3.2.7.22" "securityAlarmDetector(22)"
|
|
|
|
SecurityAlarmSeverity B "2.9.3.2.7.23" "securityAlarmSeverity(23)"
|
|
|
|
ServiceProvider B "2.9.3.2.7.24" "serviceProvider(24)"
|
2007-06-27 17:02:47 +00:00
|
|
|
ServiceUser B "2.9.3.2.7.25" "serviceUser(25)"
|
2007-06-26 17:10:05 +00:00
|
|
|
SourceIndicator B "2.9.3.2.7.26" "sourceIndicator(26)"
|
|
|
|
SpecificProblems B "2.9.3.2.7.27" "specificProblems(27)"
|
2007-06-27 17:02:47 +00:00
|
|
|
AttributeValueChangeDefinition B "2.9.3.2.7.28" "stateChangeDefinition(28)"
|
2007-06-26 17:10:05 +00:00
|
|
|
ThresholdInfo B "2.9.3.2.7.29" "thresholdInfo(29)"
|
|
|
|
TrendIndication B "2.9.3.2.7.30" "trendIndication(30)"
|
|
|
|
AdministrativeState B "2.9.3.2.7.31" "administrativeState(31)"
|
|
|
|
AlarmStatus B "2.9.3.2.7.32" "alarmStatus(32)"
|
2007-06-27 17:02:47 +00:00
|
|
|
AvailabilityStatus B "2.9.3.2.7.33" "availabilityStatus(33)"
|
2007-06-26 17:10:05 +00:00
|
|
|
ControlStatus B "2.9.3.2.7.34" "controlStatus(34)"
|
|
|
|
OperationalState B "2.9.3.2.7.35" "operationalState(35)"
|
|
|
|
ProceduralStatus B "2.9.3.2.7.36" "proceduralStatus(36)"
|
|
|
|
StandbyStatus B "2.9.3.2.7.37" "standbyStatus(37)"
|
|
|
|
UnknownStatus B "2.9.3.2.7.38" "unknownStatus(38)"
|
|
|
|
UsageState B "2.9.3.2.7.39" "usageState(39)"
|
2007-06-27 17:02:47 +00:00
|
|
|
BackUpRelationshipObject B "2.9.3.2.7.40" "backUpObject(40)"
|
|
|
|
BackUpRelationshipObject B "2.9.3.2.7.41" "backedUpObject(41)"
|
|
|
|
GroupObjects B "2.9.3.2.7.42" "member(42)"
|
|
|
|
GroupObjects B "2.9.3.2.7.43" "owner(43)"
|
|
|
|
BackUpRelationshipObject B "2.9.3.2.7.44" "peer(44)"
|
|
|
|
PrioritisedObject B "2.9.3.2.7.45" "primary(45)"
|
|
|
|
PrioritisedObject B "2.9.3.2.7.46" "providerObject(46)"
|
|
|
|
PrioritisedObject B "2.9.3.2.7.47" "secondary(47)"
|
|
|
|
PrioritisedObject B "2.9.3.2.7.48" "userObject(48)"
|
2007-06-26 17:10:05 +00:00
|
|
|
ActiveDestination B "2.9.3.2.7.49" "activeDestination(49)"
|
|
|
|
Allomorphs B "2.9.3.2.7.50" "allomorphs(50)"
|
|
|
|
BackUpDestinationList B "2.9.3.2.7.51" "backUpDestinationList(51)"
|
2007-06-27 17:02:47 +00:00
|
|
|
CapacityAlarmThreshold B "2.9.3.2.7.52" "capacityAlarmTreshold(52)"
|
2007-06-26 17:10:05 +00:00
|
|
|
ConfirmedMode B "2.9.3.2.7.53" "confirmedMode(53)"
|
|
|
|
CurrentLogSize B "2.9.3.2.7.54" "currentLogSize(54)"
|
|
|
|
Destination B "2.9.3.2.7.55" "destination(55)"
|
|
|
|
DiscriminatorConstruct B "2.9.3.2.7.56" "discriminatorConstruct(56)"
|
2007-06-27 17:02:47 +00:00
|
|
|
IntervalsOfDay B "2.9.3.2.7.57" "intervalsOfDay(57)"
|
2007-06-26 17:10:05 +00:00
|
|
|
LogFullAction B "2.9.3.2.7.58" "logFullAction(58)"
|
|
|
|
LoggingTime B "2.9.3.2.7.59" "loggingTime(59)"
|
2007-06-27 17:02:47 +00:00
|
|
|
#ObjectClass B "2.9.3.2.7.60" "managedObjectClass(60)"
|
|
|
|
#ObjectInstance B "2.9.3.2.7.61" "managedObjectInstance(61)"
|
2007-06-26 17:10:05 +00:00
|
|
|
MaxLogSize B "2.9.3.2.7.62" "maxLogSize(62)"
|
|
|
|
NameBinding B "2.9.3.2.7.63" "nameBinding(63)"
|
|
|
|
NumberOfRecords B "2.9.3.2.7.64" "numberOfRecords(64)"
|
|
|
|
ObjectClass B "2.9.3.2.7.65" "objectClass(65)"
|
|
|
|
Packages B "2.9.3.2.7.66" "packages(66)"
|
2007-06-27 17:02:47 +00:00
|
|
|
#ObjectInstance B "2.9.3.2.7.66" "schedulerName(67)"
|
2007-06-26 17:10:05 +00:00
|
|
|
StartTime B "2.9.3.2.7.68" "startTime(68)"
|
|
|
|
StopTime B "2.9.3.2.7.69" "stopTime(69)"
|
|
|
|
SupportedFeatures B "2.9.3.2.7.70" "supportedFeatures(70)"
|
|
|
|
WeekMask B "2.9.3.2.7.71" "weekMask(71)"
|
|
|
|
# corruptedPDUsReceivedCounter(72) -- corruptedPDUsReceivedCounter attribute type
|
|
|
|
# incomingConnectionRejectErrorCounter(73) -- incomingConnectionRejectErrorCounte...
|
|
|
|
# incomingConnectionRequestsCounter(74) -- incomingConnectionRequestsCounter attr...
|
|
|
|
# incomingDisconnectCounter(75) -- incomingDisconnectCounter attribute type
|
|
|
|
# ncomingDisconnectErrorCounter(76) -- ncomingDisconnectErrorCounter attribute ty...
|
|
|
|
# incomingProtocolErrorCounter(77) -- incomingProtocolErrorCounter attribute type
|
|
|
|
# octetsReceivedCounter(78) -- octetsReceivedCounter attribute type
|
|
|
|
# octetsRetransmittedErrorCounter(79) -- octetsRetransmittedErrorCounter attribut...
|
|
|
|
# octetsSentCounter(80) -- octetsSentCounter attribute type
|
|
|
|
# outgoingConnectionRejectErrorCounter(81) -- outgoingConnectionRejectErrorCounte...
|
|
|
|
# outgoingConnectionRequestsCounter(82) -- outgoingConnectionRequestsCounter attr...
|
|
|
|
# outgoingDisconnectCounter(83) -- outgoingDisconnectCounter attribute type
|
|
|
|
# outgoingDisconnectErrorCounter(84) -- outgoingDisconnectErrorCounter attribute ...
|
|
|
|
# outgoingProtocolErrorCounter(85) -- outgoingProtocolErrorCounter attribute type
|
|
|
|
# pdusReceivedCounter(86) -- pdusReceivedCounter attribute type (PDU: Protocol Da...
|
|
|
|
# pdusRetransmittedErrorCounter(87) -- pdusRetransmittedErrorCounter attribute ty...
|
|
|
|
# pdusSentCounter(88) -- pdusSentCounter attribute type (PDU: Protocol Data Unit)
|
|
|
|
# corruptedPDUsReceivedThreshold(89) -- corruptedPDUsReceivedThreshold attribute ...
|
|
|
|
# incomingConnectionRejectErrorThreshold(90) -- incomingConnectionRejectErrorThre...
|
|
|
|
# incomingConnectionRequestsThreshold(91) -- incomingConnectionRequestsThreshold ...
|
|
|
|
# incomingDisconnectErrorThreshold(92) -- incomingDisconnectErrorThreshold attrib...
|
|
|
|
# incomingProtocolErrorThreshold(93) -- incomingProtocolErrorThreshold attribute ...
|
|
|
|
# octetsReceivedThreshold(94) -- octetsReceivedThreshold attribute type
|
|
|
|
# octetsRetransmittedThreshold(95) -- octetsRetransmittedThreshold attribute type
|
|
|
|
# octetsSentThreshold(96) -- octetsSentThreshold attribute type
|
|
|
|
# outgoingConnectionRejectErrorThreshold(97) -- outgoingConnectionRejectErrorThre...
|
|
|
|
# outgoingConnectionRequestsThreshold(98) -- outgoingConnectionRequestsThreshold ...
|
|
|
|
# outgoingDisconnectErrorThreshold(99) -- outgoingDisconnectErrorThreshold attrib...
|
|
|
|
# outgoingProtocolErrorThreshold(100) -- outgoingProtocolErrorThreshold attribute...
|
|
|
|
# pdusReceivedThreshold(101) -- pdusReceivedThreshold attribute type (PDU: Protoc...
|
|
|
|
# pdusRetransmittedErrorThreshold(102) -- pdusRetransmittedErrorThreshold attribu...
|
|
|
|
# pdusSentThreshold(103) -- pdusSentThreshold attribute type (PDU: Protocol Data ...
|
|
|
|
LifecycleState B "2.9.3.2.7.115" "lifecycleState(115)"
|
2007-06-25 18:40:17 +00:00
|
|
|
|
2007-05-13 20:58:29 +00:00
|
|
|
|
2007-06-27 17:02:47 +00:00
|
|
|
#.OMIT_ASSIGNMENT
|
|
|
|
# Removed as they are giving 'defined but not used' warnings currently.
|
2007-06-26 20:49:21 +00:00
|
|
|
ROSEapdus
|
|
|
|
CounterThreshold
|
|
|
|
GaugeThreshold
|
|
|
|
GaugeThresholdValue
|
|
|
|
LogAvailability
|
2007-07-01 18:48:15 +00:00
|
|
|
NotifyThreshold
|
2007-06-26 20:49:21 +00:00
|
|
|
SchedulingAvailability
|
|
|
|
TideMarkInfo
|
2007-07-01 18:48:15 +00:00
|
|
|
TideMark
|
2007-06-26 20:49:21 +00:00
|
|
|
UnscheduledLogAvailability
|
|
|
|
Priority
|
|
|
|
RejectProblem
|
2004-11-14 05:12:49 +00:00
|
|
|
|
2007-06-27 17:02:47 +00:00
|
|
|
|
2004-11-14 05:12:49 +00:00
|
|
|
#.PDU
|
|
|
|
|
|
|
|
|
|
|
|
#.FN_HDR CMIPAbortInfo
|
2009-09-24 20:00:21 +00:00
|
|
|
col_append_str(actx->pinfo->cinfo, COL_INFO, "CMIP-A-ABORT");
|
2004-11-14 05:12:49 +00:00
|
|
|
#.END
|
|
|
|
|
|
|
|
#.FN_HDR CMIPUserInfo
|
2009-09-24 20:00:21 +00:00
|
|
|
col_append_str(actx->pinfo->cinfo, COL_INFO, "CMIP-A-ASSOCIATE");
|
2004-11-14 05:12:49 +00:00
|
|
|
#.END
|
|
|
|
|
2005-11-14 10:02:31 +00:00
|
|
|
#.FN_BODY CMIPAbortSource VAL_PTR = &value
|
2004-11-14 05:12:49 +00:00
|
|
|
guint32 value;
|
2005-08-28 15:01:49 +00:00
|
|
|
|
|
|
|
%(DEFAULT_BODY)s
|
2009-11-13 12:33:33 +00:00
|
|
|
col_append_fstr(actx->pinfo->cinfo, COL_INFO, " AbortSource:%%s", val_to_str(value, cmip_CMIPAbortSource_vals, " Unknown AbortSource:%%d"));
|
2004-11-14 05:12:49 +00:00
|
|
|
#.END
|
|
|
|
|
2007-06-25 18:40:17 +00:00
|
|
|
#.FN_BODY Code/local VAL_PTR = &opcode
|
2005-08-28 15:01:49 +00:00
|
|
|
%(DEFAULT_BODY)s
|
2007-06-27 17:02:47 +00:00
|
|
|
if(opcode_type== OPCODE_RETURN_ERROR){
|
2009-11-13 12:33:33 +00:00
|
|
|
col_append_fstr(actx->pinfo->cinfo, COL_INFO, "%%s", val_to_str(opcode, cmip_error_code_vals, " Unknown Opcode:%%d"));
|
2007-06-27 17:02:47 +00:00
|
|
|
}else{
|
2009-11-13 12:33:33 +00:00
|
|
|
col_append_fstr(actx->pinfo->cinfo, COL_INFO, "%%s", val_to_str(opcode, cmip_Opcode_vals, " Unknown Opcode:%%d"));
|
2004-11-14 05:12:49 +00:00
|
|
|
}
|
|
|
|
#.END
|
|
|
|
|
2005-06-23 09:28:46 +00:00
|
|
|
#.FN_HDR Invoke
|
2004-11-14 05:12:49 +00:00
|
|
|
opcode_type=OPCODE_INVOKE;
|
2009-11-13 12:33:33 +00:00
|
|
|
col_prepend_fstr(actx->pinfo->cinfo, COL_INFO, "Invoke ");
|
2004-11-14 05:12:49 +00:00
|
|
|
#.END
|
|
|
|
|
2005-06-23 09:28:46 +00:00
|
|
|
#.FN_HDR ReturnResult
|
2004-11-14 05:12:49 +00:00
|
|
|
opcode_type=OPCODE_RETURN_RESULT;
|
2009-11-13 12:33:33 +00:00
|
|
|
col_prepend_fstr(actx->pinfo->cinfo, COL_INFO, "ReturnResult ");
|
2004-11-14 05:12:49 +00:00
|
|
|
#.END
|
|
|
|
|
2005-06-23 09:28:46 +00:00
|
|
|
#.FN_HDR ReturnError
|
2004-11-14 05:12:49 +00:00
|
|
|
opcode_type=OPCODE_RETURN_ERROR;
|
2009-11-13 12:33:33 +00:00
|
|
|
col_prepend_fstr(actx->pinfo->cinfo, COL_INFO, "ReturnError ");
|
2004-11-14 05:12:49 +00:00
|
|
|
#.END
|
|
|
|
|
2005-06-23 09:28:46 +00:00
|
|
|
#.FN_HDR Reject
|
2004-11-14 05:12:49 +00:00
|
|
|
opcode_type=OPCODE_REJECT;
|
2009-11-13 12:33:33 +00:00
|
|
|
col_prepend_fstr(actx->pinfo->cinfo, COL_INFO, "Reject ");
|
2004-11-14 05:12:49 +00:00
|
|
|
#.END
|
|
|
|
|
2005-11-14 10:02:31 +00:00
|
|
|
#.FN_BODY AttributeId/globalForm FN_VARIANT = _str VAL_PTR = &attribute_identifier_id
|
2004-11-14 05:12:49 +00:00
|
|
|
attributeform = ATTRIBUTE_GLOBAL_FORM;
|
2005-08-28 15:01:49 +00:00
|
|
|
%(DEFAULT_BODY)s
|
2004-11-14 05:12:49 +00:00
|
|
|
|
2011-02-10 10:11:38 +00:00
|
|
|
#.FN_BODY AttributeId/localForm VAL_PTR = &attribute_local_id
|
2004-11-14 05:12:49 +00:00
|
|
|
attributeform = ATTRIBUTE_LOCAL_FORM;
|
2011-02-10 10:11:38 +00:00
|
|
|
%(DEFAULT_BODY)s
|
2004-11-14 05:12:49 +00:00
|
|
|
|
|
|
|
#.FN_BODY Attribute/value
|
|
|
|
if(attributeform==ATTRIBUTE_GLOBAL_FORM){
|
2007-05-13 20:58:29 +00:00
|
|
|
offset=call_ber_oid_callback(attribute_identifier_id, tvb, offset, actx->pinfo, tree);
|
2011-02-10 10:11:38 +00:00
|
|
|
} else if (dissector_try_uint(attribute_id_dissector_table, attribute_local_id, tvb, actx->pinfo, tree)) {
|
|
|
|
offset=tvb_length (tvb);
|
|
|
|
} else {
|
|
|
|
offset=dissect_unknown_ber(actx->pinfo, tvb, offset, tree);
|
2004-11-14 05:12:49 +00:00
|
|
|
}
|
2011-02-10 10:11:38 +00:00
|
|
|
|
2005-08-28 15:01:49 +00:00
|
|
|
#.FN_PARS AttributeValueAssertion/id
|
2005-11-14 10:02:31 +00:00
|
|
|
FN_VARIANT = _str VAL_PTR = &attributevalueassertion_id
|
2005-08-28 15:01:49 +00:00
|
|
|
|
|
|
|
#.FN_BODY AttributeValueAssertion/value
|
2007-05-13 20:58:29 +00:00
|
|
|
offset=call_ber_oid_callback(attributevalueassertion_id, tvb, offset, actx->pinfo, tree);
|
2004-11-14 05:12:49 +00:00
|
|
|
|
2007-06-25 18:40:17 +00:00
|
|
|
#.FN_BODY Invoke/argument
|
2004-11-14 05:12:49 +00:00
|
|
|
switch(opcode){
|
2004-11-21 23:25:04 +00:00
|
|
|
case 0: /* M-eventreport */
|
2007-05-13 20:58:29 +00:00
|
|
|
offset = dissect_cmip_EventReportArgument(FALSE, tvb, offset, actx, tree, -1);
|
2004-11-21 23:25:04 +00:00
|
|
|
break;
|
|
|
|
case 1: /* M-eventreport-confirmed */
|
2007-05-13 20:58:29 +00:00
|
|
|
offset = dissect_cmip_EventReportArgument(FALSE, tvb, offset, actx, tree, -1);
|
2004-11-21 23:25:04 +00:00
|
|
|
break;
|
|
|
|
case 2: /* M-linkedreply */
|
2007-05-13 20:58:29 +00:00
|
|
|
offset = dissect_cmip_LinkedReplyArgument(FALSE, tvb, offset, actx, tree, -1);
|
2004-11-21 23:25:04 +00:00
|
|
|
break;
|
2004-11-14 05:12:49 +00:00
|
|
|
case 3: /* M-get */
|
2007-05-13 20:58:29 +00:00
|
|
|
offset = dissect_cmip_GetArgument(FALSE, tvb, offset,actx, tree, -1);
|
2004-11-14 05:12:49 +00:00
|
|
|
break;
|
2004-11-21 23:25:04 +00:00
|
|
|
case 4: /* M-set */
|
2007-05-13 20:58:29 +00:00
|
|
|
offset = dissect_cmip_SetArgument(FALSE, tvb, offset,actx, tree, -1);
|
2004-11-21 23:25:04 +00:00
|
|
|
break;
|
|
|
|
case 5: /* M-set-confirmed */
|
2007-05-13 20:58:29 +00:00
|
|
|
offset = dissect_cmip_SetArgument(FALSE, tvb, offset,actx, tree, -1);
|
2004-11-21 23:25:04 +00:00
|
|
|
break;
|
2004-11-21 21:29:10 +00:00
|
|
|
case 6: /* M-action*/
|
2007-05-13 20:58:29 +00:00
|
|
|
offset = dissect_cmip_ActionArgument(FALSE, tvb, offset, actx, tree, -1);
|
2004-11-21 21:29:10 +00:00
|
|
|
break;
|
|
|
|
case 7: /* M-action-confirmed*/
|
2007-05-13 20:58:29 +00:00
|
|
|
offset = dissect_cmip_ActionArgument(FALSE, tvb, offset, actx, tree, -1);
|
2004-11-21 21:29:10 +00:00
|
|
|
break;
|
2004-11-21 23:25:04 +00:00
|
|
|
case 8: /* M-create*/
|
2007-05-13 20:58:29 +00:00
|
|
|
offset = dissect_cmip_CreateArgument(FALSE, tvb, offset, actx, tree, -1);
|
2004-11-21 23:25:04 +00:00
|
|
|
break;
|
|
|
|
case 9: /* M-delete*/
|
2007-05-13 20:58:29 +00:00
|
|
|
offset = dissect_cmip_DeleteArgument(FALSE, tvb, offset, actx, tree, -1);
|
2004-11-21 23:25:04 +00:00
|
|
|
break;
|
|
|
|
case 10: /* M-cancelget */
|
2007-05-13 20:58:29 +00:00
|
|
|
offset = dissect_cmip_InvokeIDType(FALSE, tvb, offset, actx, tree, -1);
|
2004-11-21 23:25:04 +00:00
|
|
|
break;
|
2004-11-14 05:12:49 +00:00
|
|
|
}
|
2007-06-25 18:40:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
#.FN_BODY ReturnResult/result/result
|
|
|
|
|
2004-11-14 05:12:49 +00:00
|
|
|
switch(opcode){
|
2004-11-21 23:25:04 +00:00
|
|
|
case 0: /* M-eventreport*/
|
|
|
|
break; /* No return data */
|
|
|
|
case 1: /* M-eventreport-confirmed */
|
2007-05-13 20:58:29 +00:00
|
|
|
offset = dissect_cmip_EventReportResult(FALSE, tvb, offset, actx, tree, -1);
|
2004-11-21 23:25:04 +00:00
|
|
|
break;
|
|
|
|
case 2: /* M-linkedreply*/
|
|
|
|
break; /* No return data */
|
2004-11-14 05:12:49 +00:00
|
|
|
case 3: /* M-get */
|
2007-05-13 20:58:29 +00:00
|
|
|
offset = dissect_cmip_GetResult(FALSE, tvb, offset, actx, tree, -1);
|
2004-11-14 05:12:49 +00:00
|
|
|
break;
|
2004-11-21 23:25:04 +00:00
|
|
|
case 4: /* M-set */
|
|
|
|
break; /* No return data */
|
|
|
|
case 5: /* M-set-confirmed*/
|
2007-05-13 20:58:29 +00:00
|
|
|
offset = dissect_cmip_SetResult(FALSE, tvb, offset, actx, tree, -1);
|
2004-11-21 23:25:04 +00:00
|
|
|
break;
|
2004-11-21 21:29:10 +00:00
|
|
|
case 6: /* M-action*/
|
|
|
|
break; /* No return data */
|
|
|
|
case 7: /* M-action-confirmed*/
|
2007-05-13 20:58:29 +00:00
|
|
|
offset = dissect_cmip_ActionResult(FALSE, tvb, offset, actx, tree, -1);
|
2004-11-21 21:29:10 +00:00
|
|
|
break;
|
2004-11-21 23:25:04 +00:00
|
|
|
case 8: /* M-create*/
|
2007-05-13 20:58:29 +00:00
|
|
|
offset = dissect_cmip_CreateResult(FALSE, tvb, offset, actx, tree, -1);
|
2004-11-21 23:25:04 +00:00
|
|
|
break;
|
|
|
|
case 9: /* M-delete*/
|
2007-05-13 20:58:29 +00:00
|
|
|
offset = dissect_cmip_DeleteResult(FALSE, tvb, offset, actx, tree, -1);
|
2004-11-21 23:25:04 +00:00
|
|
|
break;
|
|
|
|
case 10: /* M-cancelget */
|
|
|
|
break; /* doe this one return any data? */
|
2004-11-14 05:12:49 +00:00
|
|
|
}
|
|
|
|
/*XXX add more types here */
|
2007-06-25 18:40:17 +00:00
|
|
|
|
|
|
|
#.FN_BODY ReturnError/parameter
|
2007-06-27 17:02:47 +00:00
|
|
|
|
|
|
|
switch(opcode){
|
|
|
|
case 19: /* classInstanceConflict */
|
|
|
|
dissect_cmip_BaseManagedObjectId(FALSE, tvb, offset, actx, tree, -1);
|
|
|
|
break;
|
|
|
|
case 20: /* complexityLimitation */
|
|
|
|
dissect_cmip_ComplexityLimitation(FALSE, tvb, offset, actx, tree, -1);
|
|
|
|
break;
|
|
|
|
case 11: /* duplicateManagedObjectInstance */
|
|
|
|
dissect_cmip_ObjectInstance(FALSE, tvb, offset, actx, tree, -1);
|
|
|
|
break;
|
|
|
|
case 7: /* getListError */
|
|
|
|
dissect_cmip_GetListError(FALSE, tvb, offset, actx, tree, -1);
|
|
|
|
break;
|
|
|
|
case 15: /* invalidArgumentValue */
|
|
|
|
dissect_cmip_InvalidArgumentValue(FALSE, tvb, offset, actx, tree, -1);
|
|
|
|
break;
|
|
|
|
case 6: /* invalidAttributeValue */
|
|
|
|
dissect_cmip_Attribute(FALSE, tvb, offset, actx, tree, -1);
|
|
|
|
break;
|
|
|
|
case 4: /* invalidFilter */
|
|
|
|
dissect_cmip_CMISFilter(FALSE, tvb, offset, actx, tree, -1);
|
|
|
|
break;
|
|
|
|
case 17: /* invalidObjectInstance */
|
|
|
|
dissect_cmip_ObjectInstance(FALSE, tvb, offset, actx, tree, -1);
|
|
|
|
break;
|
|
|
|
case 16: /* invalidScope */
|
|
|
|
dissect_cmip_Scope(FALSE, tvb, offset, actx, tree, -1);
|
|
|
|
break;
|
|
|
|
case 18: /* missingAttributeValue */
|
|
|
|
/* Hmmm SET OF AttributeId */
|
2008-07-22 17:28:38 +00:00
|
|
|
dissect_cmip_PAR_missingAttributeValue(FALSE, tvb, offset, actx, tree, -1);
|
2007-06-27 17:02:47 +00:00
|
|
|
break;
|
|
|
|
case 9: /* noSuchAction */
|
|
|
|
dissect_cmip_NoSuchAction(FALSE, tvb, offset, actx, tree, -1);
|
|
|
|
break;
|
|
|
|
case 14: /* noSuchArgument */
|
|
|
|
dissect_cmip_NoSuchArgument(FALSE, tvb, offset, actx, tree, -1);
|
|
|
|
break;
|
|
|
|
case 5: /* noSuchAttribute */
|
|
|
|
dissect_cmip_AttributeId(FALSE, tvb, offset, actx, tree, -1);
|
|
|
|
break;
|
|
|
|
case 13: /* noSuchEventType */
|
|
|
|
dissect_cmip_NoSuchEventType(FALSE, tvb, offset, actx, tree, -1);
|
|
|
|
break;
|
|
|
|
case 22: /* noSuchInvokeId */
|
|
|
|
dissect_cmip_InvokeIDType(FALSE, tvb, offset, actx, tree, -1);
|
|
|
|
break;
|
|
|
|
case 0: /* noSuchObjectClass */
|
|
|
|
dissect_cmip_ObjectClass(FALSE, tvb, offset, actx, tree, -1);
|
|
|
|
break;
|
|
|
|
case 1:/* noSuchObjectInstance */
|
|
|
|
dissect_cmip_ObjectInstance(FALSE, tvb, offset, actx, tree, -1);
|
|
|
|
break;
|
|
|
|
case 12: /* noSuchReferenceObject */
|
|
|
|
dissect_cmip_ObjectInstance(FALSE, tvb, offset, actx, tree, -1);
|
|
|
|
break;
|
|
|
|
case 10: /* processingFailure OPTIONAL TRUE*/
|
|
|
|
dissect_cmip_ProcessingFailure(FALSE, tvb, offset, actx, tree, -1);
|
|
|
|
break;
|
|
|
|
case 8: /* setListError */
|
|
|
|
dissect_cmip_SetListError(FALSE, tvb, offset, actx, tree, -1);
|
|
|
|
break;
|
|
|
|
case 3:/* syncNotSupported */
|
|
|
|
dissect_cmip_CMISSync(FALSE, tvb, offset, actx, tree, -1);
|
|
|
|
break;
|
|
|
|
}
|
2004-11-14 05:12:49 +00:00
|
|
|
|
2007-06-25 18:40:17 +00:00
|
|
|
#.FN_HDR ObjectClass/globalForm
|
2004-11-14 05:12:49 +00:00
|
|
|
objectclassform = OBJECTCLASS_GLOBAL_FORM;
|
2007-06-25 18:40:17 +00:00
|
|
|
#.FN_PARS ObjectClass/globalForm
|
2005-11-14 10:02:31 +00:00
|
|
|
FN_VARIANT = _str VAL_PTR = &objectclass_identifier_id
|
2004-11-14 05:12:49 +00:00
|
|
|
|
2007-06-25 18:40:17 +00:00
|
|
|
#.FN_HDR ObjectClass/localForm
|
2004-11-14 05:12:49 +00:00
|
|
|
objectclassform = OBJECTCLASS_LOCAL_FORM;
|
|
|
|
|
2007-06-25 18:40:17 +00:00
|
|
|
#.FN_PARS ActionTypeId/globalForm
|
2005-11-14 10:02:31 +00:00
|
|
|
FN_VARIANT = _str HF_INDEX = hf_cmip_actionType_OID VAL_PTR = &object_identifier_id
|
2004-11-21 21:29:10 +00:00
|
|
|
|
|
|
|
#.FN_BODY ActionInfo/actionInfoArg
|
2007-05-13 20:58:29 +00:00
|
|
|
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
2004-11-21 21:29:10 +00:00
|
|
|
|
2007-06-25 18:40:17 +00:00
|
|
|
#.FN_PARS EventTypeId/globalForm
|
2005-11-14 10:02:31 +00:00
|
|
|
FN_VARIANT = _str HF_INDEX = hf_cmip_eventType_OID VAL_PTR = &object_identifier_id
|
2004-11-21 23:25:04 +00:00
|
|
|
|
|
|
|
#.FN_BODY EventReportArgument/eventInfo
|
2007-05-13 20:58:29 +00:00
|
|
|
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
2004-11-21 23:25:04 +00:00
|
|
|
|
|
|
|
#.FN_BODY EventReply/eventReplyInfo
|
2007-05-13 20:58:29 +00:00
|
|
|
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
2004-11-21 23:25:04 +00:00
|
|
|
|
2007-06-25 18:40:17 +00:00
|
|
|
#.FN_BODY SetArgument/modificationList/_item/attributeValue
|
2011-02-10 10:11:38 +00:00
|
|
|
if(attributeform==ATTRIBUTE_GLOBAL_FORM){
|
|
|
|
offset=call_ber_oid_callback(attribute_identifier_id, tvb, offset, actx->pinfo, tree);
|
|
|
|
} else if (dissector_try_uint(attribute_id_dissector_table, attribute_local_id, tvb, actx->pinfo, tree)) {
|
|
|
|
offset=tvb_length (tvb);
|
|
|
|
} else {
|
|
|
|
offset=dissect_unknown_ber(actx->pinfo, tvb, offset, tree);
|
|
|
|
}
|
|
|
|
|
2005-11-14 10:02:31 +00:00
|
|
|
#.FN_PARS SpecificErrorInfo/errorId
|
|
|
|
FN_VARIANT = _str HF_INDEX = hf_cmip_errorId_OID VAL_PTR = &object_identifier_id
|
2004-11-21 23:25:04 +00:00
|
|
|
|
|
|
|
#.FN_BODY SpecificErrorInfo/errorInfo
|
2007-05-13 20:58:29 +00:00
|
|
|
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
2004-11-21 23:25:04 +00:00
|
|
|
|
|
|
|
#.FN_BODY AttributeError/attributeValue
|
2007-05-13 20:58:29 +00:00
|
|
|
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
2004-11-21 23:25:04 +00:00
|
|
|
|
2007-06-25 18:40:17 +00:00
|
|
|
#.FN_BODY InvalidArgumentValue/eventValue/eventInfo
|
|
|
|
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
2011-02-10 10:11:38 +00:00
|
|
|
|
2007-06-25 18:40:17 +00:00
|
|
|
#.FN_BODY ActionReply/actionReplyInfo
|
|
|
|
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
2004-11-21 23:25:04 +00:00
|
|
|
|
|
|
|
|
2007-06-25 18:40:17 +00:00
|
|
|
# X.721
|
|
|
|
#.FN_PARS ManagementExtension/identifier FN_VARIANT = _str VAL_PTR = &object_identifier_id
|
2004-11-21 23:25:04 +00:00
|
|
|
|
2007-06-25 18:40:17 +00:00
|
|
|
#.FN_BODY ManagementExtension/information
|
2007-05-13 20:58:29 +00:00
|
|
|
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
2004-11-21 23:25:04 +00:00
|
|
|
|
2007-06-25 18:40:17 +00:00
|
|
|
#.FN_BODY AttributeValueChangeDefinition/_item/oldAttributeValue
|
|
|
|
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
|
|
|
|
|
|
|
#.FN_BODY AttributeValueChangeDefinition/_item/newAttributeValue
|
|
|
|
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
|
|
|
|
|
|
|
#.FN_PARS ServiceUser/identifier FN_VARIANT = _str VAL_PTR = &object_identifier_id
|
2004-11-14 05:12:49 +00:00
|
|
|
|
2007-06-25 18:40:17 +00:00
|
|
|
#.FN_BODY ServiceUser/details
|
|
|
|
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
2004-11-14 05:12:49 +00:00
|
|
|
|
2007-06-25 18:40:17 +00:00
|
|
|
#.FN_PARS SupportedFeatures/_item/featureIdentifier FN_VARIANT = _str VAL_PTR = &object_identifier_id
|
|
|
|
|
|
|
|
#.FN_BODY SupportedFeatures/_item/featureInfo
|
|
|
|
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
|
|
|
|
|
|
|
|
|
|
|
#.END
|