Commit | Line | Data |
---|---|---|
9e8e5516 C |
1 | -- smi.my - Internet-standard SMI definitions |
2 | ||
3 | -- $Header: /f/osi/snmp/RCS/smi.my,v 7.14 91/02/22 09:43:54 mrose Interim $ | |
4 | -- | |
5 | -- Contributed by NYSERNet Inc. This work was partially supported by the | |
6 | -- U.S. Defense Advanced Research Projects Agency and the Rome Air Development | |
7 | -- Center of the U.S. Air Force Systems Command under contract number | |
8 | -- F30602-88-C-0016. | |
9 | -- | |
10 | -- | |
11 | -- $Log: smi.my,v $ | |
12 | -- Revision 7.14 91/02/22 09:43:54 mrose | |
13 | -- Interim 6.8 | |
14 | -- | |
15 | -- Revision 7.13 91/01/12 21:04:07 mrose | |
16 | -- 3 | |
17 | -- | |
18 | -- Revision 7.12 90/08/29 12:23:38 mrose | |
19 | -- touch-up | |
20 | -- | |
21 | -- Revision 7.11 90/06/20 21:38:27 mrose | |
22 | -- update | |
23 | -- | |
24 | -- Revision 7.10 90/06/13 17:58:39 mrose | |
25 | -- defaultView | |
26 | -- | |
27 | -- Revision 7.9 90/06/12 09:21:02 mrose | |
28 | -- DisplaySTring | |
29 | -- | |
30 | -- Revision 7.8 90/06/12 09:20:34 mrose | |
31 | -- deprecated | |
32 | -- | |
33 | -- Revision 7.7 90/05/21 17:07:23 mrose | |
34 | -- OBJECT-TYPE | |
35 | -- | |
36 | -- Revision 7.6 90/05/13 18:15:44 mrose | |
37 | -- update | |
38 | -- | |
39 | -- Revision 7.5 90/05/13 15:54:34 mrose | |
40 | -- update | |
41 | -- | |
42 | -- Revision 7.4 90/05/12 17:02:07 mrose | |
43 | -- sync | |
44 | -- | |
45 | -- Revision 7.3 90/05/08 08:55:27 mrose | |
46 | -- touch-up | |
47 | -- | |
48 | -- Revision 7.2 90/02/27 18:49:49 mrose | |
49 | -- unix stuff | |
50 | -- | |
51 | -- Revision 7.1 90/02/19 10:44:52 mrose | |
52 | -- update | |
53 | -- | |
54 | -- Revision 7.0 89/11/23 22:23:23 mrose | |
55 | -- Release 6.0 | |
56 | -- | |
57 | ||
58 | -- | |
59 | -- NOTICE | |
60 | -- | |
61 | -- Acquisition, use, and distribution of this module and related | |
62 | -- materials are subject to the restrictions of a license agreement. | |
63 | -- Consult the Preface in the User's Manual for the full terms of | |
64 | -- this agreement. | |
65 | -- | |
66 | -- | |
67 | ||
68 | ||
69 | RFC1155-SMI DEFINITIONS ::= BEGIN | |
70 | ||
71 | EXPORTS -- EVERYTHING | |
72 | internet, directory, mgmt, | |
73 | experimental, private, enterprises, | |
74 | OBJECT-TYPE, ObjectName, ObjectSyntax, SimpleSyntax, | |
75 | ApplicationSyntax, NetworkAddress, IpAddress, | |
76 | Counter, Gauge, TimeTicks, Opaque; | |
77 | ||
78 | -- the path to the root | |
79 | ||
80 | internet OBJECT IDENTIFIER ::= { iso org(3) dod(6) 1 } | |
81 | ||
82 | directory OBJECT IDENTIFIER ::= { internet 1 } | |
83 | ||
84 | mgmt OBJECT IDENTIFIER ::= { internet 2 } | |
85 | ||
86 | experimental OBJECT IDENTIFIER ::= { internet 3 } | |
87 | ||
88 | private OBJECT IDENTIFIER ::= { internet 4 } | |
89 | enterprises OBJECT IDENTIFIER ::= { private 1 } | |
90 | ||
91 | ||
92 | -- BSD UNIX-specific stuff | |
93 | ||
94 | unix OBJECT IDENTIFIER ::= { enterprises 4 } | |
95 | ||
96 | ||
97 | -- the agents group | |
98 | ||
99 | agents OBJECT IDENTIFIER ::= { unix 1 } | |
100 | ||
101 | -- original "4BSD/ISODE SNMP" { agents 1 } | |
102 | ||
103 | -- versions of the "4BSD/ISODE SNMP" agent are now under { agents 2 } | |
104 | fourBSD-isode OBJECT IDENTIFIER ::= { agents 2 } | |
105 | -- fourBSD-isode.1: add SMUX | |
106 | -- fourBSD-isode.2: add views | |
107 | -- fourBSD-isode.3: add sets | |
108 | ||
109 | ||
110 | -- the SMUX peer group | |
111 | ||
112 | peers OBJECT IDENTIFIER ::= { unix 3 } | |
113 | ||
114 | -- versions of the unixd program are under { peers 1 } | |
115 | unixd OBJECT IDENTIFIER ::= { peers 1 } | |
116 | -- the current version is unixd.1 | |
117 | ||
118 | ||
119 | -- definition of object types | |
120 | ||
121 | -- OBJECT-TYPE MACRO ::= | |
122 | -- BEGIN | |
123 | -- TYPE NOTATION ::= "SYNTAX" type (TYPE ObjectSyntax) | |
124 | -- "ACCESS" Access | |
125 | -- "STATUS" Status | |
126 | -- VALUE NOTATION ::= value (VALUE ObjectName) | |
127 | -- | |
128 | -- Access ::= "read-only" | |
129 | -- | "read-write" | |
130 | -- | "write-only" | |
131 | -- | "not-accessible" | |
132 | -- Status ::= "mandatory" | |
133 | -- | "optional" | |
134 | -- | "obsolete" | |
135 | -- | "deprecated" | |
136 | -- END | |
137 | ||
138 | ||
139 | -- names of objects in the MIB | |
140 | ||
141 | ObjectName ::= | |
142 | OBJECT IDENTIFIER | |
143 | ||
144 | -- syntax of objects in the MIB | |
145 | ||
146 | ObjectSyntax ::= | |
147 | CHOICE { | |
148 | simple | |
149 | SimpleSyntax, | |
150 | ||
151 | -- note that simple SEQUENCEs are not directly | |
152 | -- mentioned here to keep things simple (i.e., | |
153 | -- prevent mis-use). However, application-wide | |
154 | -- types which are IMPLICITly encoded simple | |
155 | -- SEQUENCEs may appear in the following CHOICE | |
156 | ||
157 | application-wide | |
158 | ApplicationSyntax | |
159 | } | |
160 | ||
161 | SimpleSyntax ::= | |
162 | CHOICE { | |
163 | number | |
164 | INTEGER, | |
165 | ||
166 | string | |
167 | OCTET STRING, | |
168 | ||
169 | object | |
170 | OBJECT IDENTIFIER, | |
171 | ||
172 | empty | |
173 | NULL | |
174 | } | |
175 | ||
176 | ApplicationSyntax ::= | |
177 | CHOICE { | |
178 | address | |
179 | NetworkAddress, | |
180 | ||
181 | counter | |
182 | Counter, | |
183 | ||
184 | gauge | |
185 | Gauge, | |
186 | ||
187 | ticks | |
188 | TimeTicks, | |
189 | ||
190 | arbitrary | |
191 | Opaque | |
192 | ||
193 | -- other application-wide types, as they are | |
194 | -- defined, will be added here | |
195 | } | |
196 | ||
197 | ||
198 | -- application-wide types | |
199 | ||
200 | NetworkAddress ::= | |
201 | CHOICE { | |
202 | internet | |
203 | IpAddress | |
204 | } | |
205 | ||
206 | IpAddress ::= | |
207 | [APPLICATION 0] -- in network-byte order | |
208 | IMPLICIT OCTET STRING (SIZE (4)) | |
209 | ||
210 | Counter ::= | |
211 | [APPLICATION 1] | |
212 | IMPLICIT INTEGER (0..4294967295) | |
213 | ||
214 | Gauge ::= | |
215 | [APPLICATION 2] | |
216 | IMPLICIT INTEGER (0..4294967295) | |
217 | ||
218 | TimeTicks ::= | |
219 | [APPLICATION 3] | |
220 | IMPLICIT INTEGER (0..4294967295) | |
221 | ||
222 | Opaque ::= | |
223 | [APPLICATION 4] -- arbitrary ASN.1 value, | |
224 | IMPLICIT OCTET STRING -- "double-wrapped" | |
225 | ||
226 | DisplayString ::= | |
227 | OCTET STRING | |
228 | ||
229 | END |