summaryrefslogtreecommitdiff
path: root/MIBS/adtran/ADTRAN-AOSUNIT
blob: 508e4c95c8358e1b73913ffad81a1d41eba91f7e (plain)
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
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
       ADTRAN-AOSUNIT DEFINITIONS ::= BEGIN

       IMPORTS
           Integer32, Gauge32, OBJECT-TYPE, MODULE-IDENTITY
               FROM SNMPv2-SMI
           DisplayString, RowStatus, TDomain, TAddress, TEXTUAL-CONVENTION
               FROM SNMPv2-TC
           MODULE-COMPLIANCE, OBJECT-GROUP
               FROM SNMPv2-CONF
           adIdentity
               FROM ADTRAN-MIB
           adGenAOSCommon, adGenAOSConformance
               FROM ADTRAN-AOS;

       adGenAOSUnitMib MODULE-IDENTITY
        LAST-UPDATED "200409240000Z"  -- September 24, 2004
	ORGANIZATION "ADTRAN, Inc."
        CONTACT-INFO
               "Technical Support Dept.
                Postal: ADTRAN, Inc.
                901 Explorer Blvd.
                Huntsville, AL 35806

                Tel: +1 800 726-8663
                Fax: +1 256 963 6217
                E-mail: support@adtran.com"

            DESCRIPTION
                    	"This MIB contains device information, contact information, and
			overall system health information."

            REVISION    "200409280000Z"  -- September 28, 2004
            DESCRIPTION
                    "Initial version of this MIB module."
	        REVISION    "200505120000Z"  -- May 12, 2005
            DESCRIPTION
                    "Added OIDs for primary and backup image name and part number"

            REVISION    "200807300000Z"  -- July 30, 2008
            DESCRIPTION
                    "Changed syntax range for adAOSBootRevision because the
                    revision string length has increased. This change will
                    maintain compatibility with older revisions."
                    
            REVISION    "201004090000Z"  -- April 9, 2010
            DESCRIPTION
                    "Changed the syntax size for adAOSCurrentImage. The syntax 
                     size now includes a range."

          ::= { adIdentity 10000 53 1 1 }

      adGenAOSUnit             OBJECT IDENTIFIER ::= {  adGenAOSCommon 1 }

-- ========================================================================
-- Textual Conventions for this MIB

     Utf8String ::= TEXTUAL-CONVENTION
         DISPLAY-HINT "255a"
         STATUS  current
         DESCRIPTION
              "To facilitate internationalization, this TC
               represents information taken from the ISO/IEC IS
               10646-1 character set, encoded as an octet string
               using the UTF-8 character encoding scheme described
               in RFC 2044 [10].  For strings in 7-bit US-ASCII,
               there is no impact since the UTF-8 representation is
               identical to the US-ASCII encoding."
         SYNTAX  OCTET STRING (SIZE (0..255))

-- ========================================================================

	adAOSBootRevision  OBJECT-TYPE
           SYNTAX      DisplayString (SIZE(3..255))
	   MAX-ACCESS  read-only
	   STATUS      current
	   DESCRIPTION
	       "Unit boot PROM revision."
	   ::= { adGenAOSUnit  1 }

	adAOSCurrentImage  OBJECT-TYPE
	   SYNTAX      DisplayString (SIZE(0..64))
	   MAX-ACCESS  read-only
	   STATUS      current
	   DESCRIPTION
	       "Filename for current firmware image."
	   ::= { adGenAOSUnit  2 }

	adAOSRunConfigChecksum  OBJECT-TYPE
	   SYNTAX      DisplayString (SIZE(32))
	   MAX-ACCESS  read-only
	   STATUS      current
	   DESCRIPTION
	       "MD5 Digest of the running configuration"
	   ::= { adGenAOSUnit  3 }

	adAOSStartConfigChecksum  OBJECT-TYPE
	   SYNTAX      DisplayString (SIZE(32))
	   MAX-ACCESS  read-only
	   STATUS      current
	   DESCRIPTION
	       "MD5 Digest of the startup configuration"
	   ::= { adGenAOSUnit  4 }

	adAOSDeviceIndex OBJECT-TYPE
	    SYNTAX INTEGER (0..1000)
	    MAX-ACCESS read-only
	    STATUS current
	    DESCRIPTION
	        "The unique device identification within the
	         instance of this Mib."
	    ::= { adGenAOSUnit  5 }

	adAOSDeviceGlobalUniqueID OBJECT-TYPE
	    SYNTAX Utf8String
	    MAX-ACCESS read-only
	    STATUS current
	    DESCRIPTION
	        "This represents a globally unique ID for the device.
	         This MUST be the ordered combination of the Manufacturer,
	         product name, AND any other text that is necessary to guarantee
	         global uniqueness. This value may not be null.  Could use serial number.
	         e.g. AD123456789"
	    ::= { adGenAOSUnit  6 }

	adAOSDeviceHealth OBJECT-TYPE
	    SYNTAX INTEGER {
	           unknown        (1),
	           unused         (2),
	           ok             (3), -- available for meaningful work
	           warning        (4), -- something needs attention
	           critical       (5), -- something has failed
	           nonrecoverable (6)
	    }
	    MAX-ACCESS read-only
	    STATUS current
	    DESCRIPTION
	        "Overall health of the device. The goal of this object
	         is to be the single poll point to check the status of the
	         device."
	    ::= { adGenAOSUnit  7 }

	adAOSDeviceSysObjID OBJECT-TYPE
	    SYNTAX Utf8String
	    MAX-ACCESS read-only
	    STATUS current
	    DESCRIPTION
	        "System Object ID for this Device entity. This should be an
	         ASCII integer format. (i.e. 1.3.6.1.4.1.11.2.36.1.1)
	         The value may not be null."
	        --
	        -- NOTE: For single device agents this field contains a value
	        --       similar to the MIB II/System/sysObjID
	        --
	    ::= { adGenAOSUnit  8 }

	adAOSDeviceManagementURL OBJECT-TYPE
	    SYNTAX Utf8String
	    MAX-ACCESS read-write
	    STATUS current
	    DESCRIPTION
	        "This object contains the URL for the device's management
	         software.  If it does not exist the value is empty string.
		   If write is not supported, then return invalid. This value is
	         retained across boots."
	    ::= { adGenAOSUnit  9 }

	adAOSDeviceManagementURLLabel OBJECT-TYPE
	    SYNTAX Utf8String
	    MAX-ACCESS read-write
	    STATUS current
	    DESCRIPTION
	        "The label that a management application should use for the
	         hyperlink to the entity's URL."
	    ::= { adGenAOSUnit  10 }

	adAOSDeviceManufacturer OBJECT-TYPE
	    SYNTAX Utf8String
	    MAX-ACCESS read-only
	    STATUS current
	    DESCRIPTION
	        "The device's manufacturer name. Will return 'ADTRAN' "
	    ::= { adGenAOSUnit  11 }

	adAOSDeviceProductName OBJECT-TYPE
	    SYNTAX Utf8String
	    MAX-ACCESS read-only
	    STATUS current
	    DESCRIPTION
	        "The device's product name. Null is NOT a valid value.
	         (i.e. D1234A)"
	    ::= { adGenAOSUnit  12 }

	adAOSDeviceSerialNumber OBJECT-TYPE
	    SYNTAX Utf8String
	    MAX-ACCESS read-only
	    STATUS current
	    DESCRIPTION
	        "The serial number for the device. This can return
	         a NULL string."
	    ::= { adGenAOSUnit  13 }

	adAOSDeviceVersion OBJECT-TYPE
	    SYNTAX Utf8String (SIZE(0..32))
	    MAX-ACCESS read-only
	    STATUS current
	    DESCRIPTION
	        "Version number for this device."
	    ::= { adGenAOSUnit  14 }

	adAOSDeviceHWVersion OBJECT-TYPE
	    SYNTAX Utf8String (SIZE(0..32))
	    MAX-ACCESS read-only
	    STATUS current
	    DESCRIPTION
	        "Version number for this device's hardware."
	    ::= { adGenAOSUnit  15 }

	adAOSDeviceContactPerson OBJECT-TYPE
	    SYNTAX Utf8String
	    MAX-ACCESS read-write
	    STATUS current
	    DESCRIPTION
	        "Identifies the name of the person responsible for the
	         operation of this device. If write is not
	         supported then return invalid."
	        --
	        -- NOTE: For single device agents this field contains a value
	        --       similar to the MIB II/System/sysContact
	        --
	    ::= { adGenAOSUnit  16 }

	adAOSDeviceContactPhone OBJECT-TYPE
	    SYNTAX Utf8String (SIZE(0..32))
	    MAX-ACCESS read-write
	    STATUS current
	    DESCRIPTION
	        "Phone number of the contact person for this device."
	    ::= { adGenAOSUnit  17 }

	adAOSDeviceContactEmail OBJECT-TYPE
	    SYNTAX Utf8String
	    MAX-ACCESS read-write
	    STATUS current
	    DESCRIPTION
	        "e-mail address of the contact person for this device."
	    ::= { adGenAOSUnit  18 }

	adAOSDeviceContactPagerNumber OBJECT-TYPE
	    SYNTAX Utf8String (SIZE(0..32))
	    MAX-ACCESS read-write
	    STATUS current
	    DESCRIPTION
	        "Pager number of the contact person for this device."
	    ::= { adGenAOSUnit  19 }

	adAOSDeviceLocation OBJECT-TYPE
	    SYNTAX Utf8String
	    MAX-ACCESS read-write
	    STATUS current
	    DESCRIPTION
	        "Identifies the location for the this device. If
	         write is not supported then return invalid."
	        --
	        -- NOTE: For single device agents this field contains a value
	        --       similar to the MIB II/System/sysLocation
	        --
	    ::= { adGenAOSUnit  20 }

	adGenAOSSaveConfig OBJECT-TYPE
    		SYNTAX      INTEGER {
                   saveconfig (1)
                }
    		MAX-ACCESS  read-write
    		STATUS      current
    		DESCRIPTION
        		"Set value to 1 to copy running config to startup config."
    		::= { adGenAOSUnit  21 }


	adGenAOSReloadSystem  OBJECT-TYPE
    		SYNTAX      Integer32 (0..2147483647)
    		MAX-ACCESS  read-write
    		STATUS      current
    		DESCRIPTION
        		"Set to 0 to initiate immediate system reload.
        		Any non-zero value is the number of seconds
        		until reload"
    		DEFVAL      { 0 }
    		::= { adGenAOSUnit  22 }


	adGenAOSCancelReload  OBJECT-TYPE
    		SYNTAX      INTEGER {
		    cancelreload (1)
		}
    		MAX-ACCESS  read-write
    		STATUS      current
    		DESCRIPTION
        	"Writing any value to this element will cancel a scheduled reload"
		::= { adGenAOSUnit  23 }

	 adAOSPrimaryImage  OBJECT-TYPE
		SYNTAX      DisplayString (SIZE(0..64))
	   	MAX-ACCESS  read-write
	   	STATUS      current
	   	DESCRIPTION
	       	"Filename for primary firmware image."
	   	::= { adGenAOSUnit  24 }


	 adAOSBackupImage  OBJECT-TYPE
		SYNTAX      DisplayString (SIZE(0..64))
	   	MAX-ACCESS  read-write
	   	STATUS      current
	   	DESCRIPTION
	       	"Filename for backup firmware image."
	   	::= { adGenAOSUnit  25 }

	adAOSDevicePartNumber OBJECT-TYPE
		SYNTAX Utf8String
	    	MAX-ACCESS read-only
	    	STATUS current
	    	DESCRIPTION
	        	"The device's part number. Null is NOT a valid value.
	         	(i.e. 1202860L1)"
	    	::= { adGenAOSUnit  26 }







         -- conformance information

	adGenAOSUnitConformance
           OBJECT IDENTIFIER ::= { adGenAOSConformance 1 }

        adAOSUnitCompliances
           OBJECT IDENTIFIER ::= { adGenAOSUnitConformance 1 }
	adAOSUnitGroups
           OBJECT IDENTIFIER ::= { adGenAOSUnitConformance 2 }




	  adAOSCompliance MODULE-COMPLIANCE
	    STATUS  current
	    DESCRIPTION
	        "The compliance statement for SNMPv2 entities which
	        implement the AOS Unit MIB."

	    MODULE
	    MANDATORY-GROUPS {
	        adGenAOSUnitGroup
	       	    }


	    ::= { adAOSUnitCompliances 1 }

       -- compliance statements


       -- units of conformance
	adGenAOSUnitGroup OBJECT-GROUP
	    OBJECTS {
	    adAOSBootRevision,
	    adAOSCurrentImage,
	    adAOSRunConfigChecksum,
	    adAOSStartConfigChecksum,
	    adAOSDeviceIndex,
	    adAOSDeviceGlobalUniqueID,
	    adAOSDeviceHealth,
	    adAOSDeviceSysObjID,
	    adAOSDeviceManagementURL,
	    adAOSDeviceManufacturer,
	    adAOSDeviceProductName,
	    adAOSDeviceSerialNumber,
	    adAOSDeviceVersion,
	    adAOSDeviceHWVersion,
	    adAOSDeviceContactPerson,
	    adAOSDeviceContactPhone,
	    adAOSDeviceContactEmail,
	    adAOSDeviceContactPagerNumber,
	    adAOSDeviceLocation,
	    adGenAOSSaveConfig,
	    adGenAOSReloadSystem,
	    adGenAOSCancelReload,
	    adAOSPrimaryImage,
	    adAOSBackupImage,
	    adAOSDevicePartNumber

	    }
	STATUS  current
    	DESCRIPTION
        "The Unit SNMP Config Group."
    	::= { adAOSUnitGroups 1 }




       END