1 SNMPv2-CONF DEFINITIONS ::= BEGIN
3 IMPORTS ObjectName, NotificationName, ObjectSyntax
6 -- definitions for conformance groups
17 value(VALUE OBJECT IDENTIFIER)
20 "OBJECTS" "{" Objects "}"
37 -- a character string as defined in [2]
38 Text ::= value(IA5String)
41 -- more definitions for conformance groups
43 NOTIFICATION-GROUP MACRO ::=
52 value(VALUE OBJECT IDENTIFIER)
55 "NOTIFICATIONS" "{" Notifications "}"
58 | Notifications "," Notification
60 value(NotificationName)
71 -- a character string as defined in [2]
72 Text ::= value(IA5String)
75 -- definitions for compliance statements
77 MODULE-COMPLIANCE MACRO ::=
86 value(VALUE OBJECT IDENTIFIER)
109 -- identifier must start with uppercase letter
110 identifier ModuleIdentifier
111 -- must not be empty unless contained
115 value(OBJECT IDENTIFIER)
119 "MANDATORY-GROUPS" "{" Groups "}"
127 value(OBJECT IDENTIFIER)
135 | Compliances Compliance
141 "GROUP" value(OBJECT IDENTIFIER)
145 "OBJECT" value(ObjectName)
151 -- must be a refinement for object's SYNTAX clause
152 SyntaxPart ::= "SYNTAX" Syntax
155 -- must be a refinement for object's SYNTAX clause
156 WriteSyntaxPart ::= "WRITE-SYNTAX" Syntax
159 Syntax ::= -- Must be one of the following:
160 -- a base type (or its refinement),
161 -- a textual convention (or its refinement), or
162 -- a BITS pseudo-type
164 | "BITS" "{" NamedBits "}"
166 NamedBits ::= NamedBit
167 | NamedBits "," NamedBit
169 NamedBit ::= identifier "(" number ")" -- number is nonnegative
176 | "accessible-for-notify"
181 -- a character string as defined in [2]
182 Text ::= value(IA5String)
185 -- definitions for capabilities statements
187 AGENT-CAPABILITIES MACRO ::=
190 "PRODUCT-RELEASE" Text
197 value(VALUE OBJECT IDENTIFIER)
215 "SUPPORTS" ModuleName
216 "INCLUDES" "{" Groups "}"
221 -- identifier must start with uppercase letter
222 identifier ModuleIdentifier
224 value(OBJECT IDENTIFIER)
231 value(OBJECT IDENTIFIER)
238 | Variations Variation
242 | NotificationVariation
244 NotificationVariation ::=
245 "VARIATION" value(NotificationName)
250 "VARIATION" value(ObjectName)
258 -- must be a refinement for object's SYNTAX clause
259 SyntaxPart ::= "SYNTAX" Syntax
262 WriteSyntaxPart ::= "WRITE-SYNTAX" Syntax
265 Syntax ::= -- Must be one of the following:
266 -- a base type (or its refinement),
267 -- a textual convention (or its refinement), or
268 -- a BITS pseudo-type
271 | "BITS" "{" NamedBits "}"
273 NamedBits ::= NamedBit
274 | NamedBits "," NamedBit
276 NamedBit ::= identifier "(" number ")" -- number is nonnegative
284 -- only "not-implemented" for notifications
285 | "accessible-for-notify"
289 -- following is for backward-compatibility only
293 "CREATION-REQUIRES" "{" Cells "}"
301 DefValPart ::= "DEFVAL" "{" Defvalue "}"
304 Defvalue ::= -- must be valid for the object's syntax
305 -- in this macro's SYNTAX clause, if present,
306 -- or if not, in object's OBJECT-TYPE macro
310 BitsValue ::= BitNames
314 | BitNames "," BitName
316 BitName ::= identifier
318 -- a character string as defined in [2]
319 Text ::= value(IA5String)