File: X722.gdmo

package info (click to toggle)
scotty 2.1.9-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 9,984 kB
  • ctags: 4,313
  • sloc: ansic: 35,946; sh: 12,591; tcl: 8,122; yacc: 2,442; makefile: 898; lex: 370
file content (272 lines) | stat: -rw-r--r-- 8,047 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
-- from X.722 Annex:
--		      Examples of use of the guidelines
--		     ===================================
--(weitere beispiele, die auch anwendbar sind befinden sich in X.721)

-- A.1	Managed object class definition

exampleObjectClass MANAGED OBJECT CLASS

	DERIVED FROM		"CCITT Rec. X.721 (1992) | ISO/IEC10165-2 :
				1992":top ;

	CHARACTERIZED BY	examplePackage2 ;

	CONDITIONAL PACKAGES

		examplePackage1		PACKAGE

			ACTIONS		qOSResetAction,
					activate ;

			NOTIFICATIONS	communicationError;

		REGISTERED AS	{joint-iso-ccitt ms(9) smi(3) part4(4)
				package(4) examplepack1(0)} ;

		PRESENT IF	!conformance class 2 of underlying resource
				implemented as described in ISO/IEC XXXX! ;

REGISTERED AS	{joint-iso-ccitt ms(9) smi(3) part4(4) managedObjectClass(3)
		exampleclass(0)} ;

-- A.2	Name binding definition

exampleNameBinding NAME BINDING

	SUBORDINATE OBJECT CLASS	exampleObjectClass ;

	NAMED BY
	SUPERIOR OBJECT CLASS	"CCITT Rec. X.721 (1992) | ISO/IEC 10165-2 :
				1992":system ;

	WITH ATTRIBUTE		objectName ;

	BEHAVIOUR
		containmentBehaviour	BEHAVIOUR
			DEFINED AS	!A maximum of 3 instances of
					exampleObjectClass may be contained in
					any instance of "CCITT Rec. X.721 |
					ISO/IEC 10165-2":system.!
		;
	;

	CREATE	WITH-AUTOMATIC-INSTANCE-NAMING createErrorParameter ;

	DELETE	DELETES-CONTAINED-OBJECTS ;

REGISTERED AS {joint-iso-ccitt ms(9) smi(3) part4(4) nameBinding(6)
		examplenb(0)} ;

-- A.3	Parameter definitions

pDUHeader PARAMETER

	CONTEXT		EVENT-INFO;

	WITH SYNTAX	ParameterModule.PDUString;

	BEHAVIOUR
		pDUHeaderBehavior BEHAVIOUR
			DEFINED AS	!PDU header. Carrried in the CMIP
					eventInfo field.!
		;
	;

REGISTERED AS {joint-iso-ccitt ms(9) smi(3) part4(4) parameter(5)
		pduheaderparam(0)};

createErrorParameter PARAMETER

	CONTEXT		SPECIFIC-ERROR ;

	WITH SYNTAX	ParameterModule.ErrorInfo1 ;

	BEHAVIOUR
		createErrorBehaviour	BEHAVIOUR
			DEFINED AS	!If the maximum number of instances of
exampleObjectClass exist within the containing managed object, attempts to
create additional instances will result in the return of a CMIP Processing
Failure error where the SpecificErrorInfo field is of the form
	SpecificErrorInfo ::= SEQUENCE {
		errorid		OBJECT IDENTIFIER,
		errorinfo	ANY DEFINED BY errorid }
The OBJECT IDENTIFIER carried in errorid shall be the value under which this
parameter definition is registered. The type carried in errorinfo shall be the
type identified by the WITH SYNTAX construct of this parameter definition. The
value carried by this type indicates the number of instances of this managed
object class that currently exist in the containing managed object.!
			;
	;

REGISTERED AS {joint-iso-ccitt ms(9) smi(3) part4(4) parameter(5)
		createrror(1)} ;

serviceProviderErrorResponseReason PARAMETER

	CONTEXT		ACTION-REPLY;

	WITH SYNTAX	ParameterModule.ServiceProviderErrorResponseReason;

	BEHAVIOUR
		serviceProviderErrorResponseReasonBehaviour BEHAVIOUR
			DEFINED AS	!Returned in the responseParameters
field of the CMIP actionReplyInfo if responseCode has the value
serviceProviderErrorResponse.!
		;
	;

REGISTERED AS {joint-iso-ccitt ms(9) smi(3) part4(4) parameter(5)
		sperrorrsp(2)} ;

-- A.4	Package definition

examplePackage2 PACKAGE

	BEHAVIOUR	exampleClassBehaviour ;

	ATTRIBUTES	objectName		GET ,
			qOS-Error-Cause		GET ,
			qOS-Error-Counter	PERMITTED VALUES
						AttributeModule.QOSCounterRange
						REQUIRED VALUES
						AttributeModule.QOSCounterRange
						GET ;

	ATTRIBUTE GROUPS	qOS-Group ;

	NOTIFICATIONS	protocolError;

REGISTERED AS {joint-iso-ccitt ms(9) smi(3) part4(4) package(4)
		examplepack2(1)} ;

-- A.5	Attribute defintions

objectName ATTRIBUTE
	WITH ATTRIBUTE SYNTAX	AttributeModule.ObjectName ;
	MATCHES FOR		EQUALITY ;

REGISTERED AS {joint-iso-ccitt ms(9) smi(3) part4(4) attribute(4)
		objectname(0)} ;

qOS-Error-Cause ATTRIBUTE
	WITH ATTRIBUTE SYNTAX	AttributeModule.QOSErrorCause ;
	MATCHES FOR		EQUALITY ;
	BEHAVIOUR		qOSErrorBehaviour ;

REGISTERED AS {joint-iso-ccitt ms(9) smi(3) part4(4) attribute(4)
		qoscause(1)} ;

qOS-Error-Counter ATTRIBUTE
	WITH ATTRIBUTE SYNTAX	AttributeModule.QOSErrorCounter ;
	MATCHES FOR		EQUALITY, ORDERING ;
	BEHAVIOUR		qOSCounterBehaviour ;

REGISTERED AS {joint-iso-ccitt ms(9) smi(3) part4(4) attribute(4)
		qoscount(2)} ;

-- A.6	Attribute group definition

qOS-Group ATTRIBUTE GROUP
	GROUP ELEMENTS	qOS-Error-Cause, qOS-Error-Counter ;
	DESCRIPTION	!Attribute group that includes all QOS-related
			attributes in a managed object class! ;

REGISTERED AS {joint-iso-ccitt ms(9) smi(3) part4(4) attribute(4)
		qosgroup(0)} ;

-- A.7	Action definitions

qOSResetAction	 ACTION
	BEHAVIOUR
		reset BEHAVIOUR
			DEFINED AS	!<Definition of the reset behaviour
					and its effect on the operation of the
					managed object, etc..>!
		;
	;
	MODE CONFIRMED;

REGISTERED AS {joint-iso-ccitt ms(9) smi(3) part4(4) action(4) reset(0)} ;

activate ACTION
	BEHAVIOUR
		activateBehaviour BEHAVIOUR
			DEFINED AS	!Enables the managed object for
					operation.  If the action succeds, the
value successResponse is returned in the responseCode parameter of the CMIP
actionReplyInfo. If the action fails because of a problem with the underlying
service provider, responseCode is set to the value
serviceProviderErrorResponse and the parameter
serviceProviderErrorResponseReason returned to indicate the cause of the
problem.!
		;
	;
	MODE CONFIRMED;
	PARAMETERS	serviceProviderErrorResponseReason ;
	WITH REPLY SYNTAX	ActionModule.ActivateReply;

REGISTERED AS {joint-iso-ccitt ms(9) smi(3) part4(4) action(4) activate(1)} ;

-- A.8	Notification defintions

communicationError	NOTIFICATION
	BEHAVIOUR		communicationErrorBehaviour;
	WITH INFORMATION SYNTAX	NotificationModule.ErrorInfo ;
	WITH REPLY SYNTAX	NotificationModule.ErrorResult ;

REGISTERED AS {joint-iso-ccitt ms(9) smi(3) part4(4) notification(4)
		commerror(0)} ;

protocolError NOTIFICATION
	BEHAVIOUR 
		protocolErrorBehaviour	BEHAVIOUR
			DEFINED AS	!Generated when a protocol entity
receives a PDU which is invalid or contains a protocol error. The notification
includes the header of the received PDU.!
		;
	;
	PARAMETERS	pDUHeader;
	WITH INFORMATION SYNTAX	NotificationModule.ProtocolError;

REGISTERED AS {joint-iso-ccitt ms(9) smi(3) part4(4) notification(4)
		protoerror(1)} ;

-- A.9	Behaviour definitions

qOSCounterBehaviour	BEHAVIOUR
	DEFINED AS	!The QOS Error Counter attribute is a wraparound
counter that is incremented by one for every occurrence of a QOS Error. Its
value is a positive integer, whose range is specified in any package that
references this definition. When the counter reaches its maximum value, the
next increment causes its value to return to zero.! ;

qOSErrorBehaviour BEHAVIOUR
	DEFINED AS	!The QOS Error Cause attribute indicates the reason
for a failure in quality of service associated with the managed object.

NOTE - The relationship between the permitted attribute values and the
operation of the managed object itself are defined by the behaviour
definitions associated with the managed object class defintion.!;

communicationErrorBehaviour BEHAVIOUR
	DEFINED AS	!The CommunicationError notification is generated by
the managed object class when a communication error is detected by the managed
object. The notification may contain any combination of the parameters
Probable Cause, Severity, Trend Indication, Backed Up Status, Diagnostic Info,
Proposed Repair Action, Threshold Info, STate Change and Other Info.

	NOTE - The precise definition of what constitutes a communication erro
and the parameter values that apply is managed object class specific. In a
practical example, this Behaviour definition could, for example, refer to
pieces of specification in a base standard in order to specify the
behaviour.!;

exampleClassBehaviour BEHAVIOUR
	DEFINED AS	!<...Description of managed object class behaviour,
including
- How its attributes attain particular values and what they mean,
- What circumstances cause notifications to be generated,
- Etc. >!;