1ADTRAN-AOS-POWER   DEFINITIONS ::= BEGIN
2
3IMPORTS
4    Unsigned32, OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE
5           FROM SNMPv2-SMI
6    TruthValue, TEXTUAL-CONVENTION
7           FROM SNMPv2-TC
8    MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
9           FROM SNMPv2-CONF
10    adGenAOSPower, adGenAOSConformance
11           FROM ADTRAN-AOS;
12
13
14adGenAOSPowerMonitor MODULE-IDENTITY
15       	LAST-UPDATED "201009100000Z"
16       	ORGANIZATION "ADTRAN, Inc."
17       	CONTACT-INFO
18                "Technical Support Dept.
19                 Postal: ADTRAN, Inc.
20                         901 Explorer Blvd.
21                         Huntsville, AL 35806
22
23                         Tel: +1 800 726-8663
24                         Fax: +1 256 963 6217
25                         E-mail: support@adtran.com"
26       	DESCRIPTION
27                    "The MIB module for general configuration of power
28                    monitoring options for devices with battery backup."
29
30	 	REVISION	"201009100000Z"		-- September 10, 2010
31	 	DESCRIPTION
32					"Initial version of this MIB module"
33
34	 	REVISION	"201302100000Z"		-- February 7, 2013
35       	DESCRIPTION
36                    "Added EPS and RPS connection and delivery traps to the existing adGenAOSPowerTraps.
37                     Also, added the RO adGenAOSPowerEpsRpsTable to allow OID support for the changes in
38                     EPS/RPS state changes."
39		::= { adGenAOSPower 1 }
40
41        adGenAOSPowerTraps        	OBJECT IDENTIFIER ::= { adGenAOSPower 0 }
42        adGenAOSPowerRollOverCtl  	OBJECT IDENTIFIER ::= { adGenAOSPowerMonitor 1 }
43        adGenAOSPowerEpsRps 		OBJECT IDENTIFIER ::= { adGenAOSPowerMonitor 2 }
44
45
46AdEpsPowerDeliveryStateTC  ::= TEXTUAL-CONVENTION
47    STATUS      current
48    DESCRIPTION
49        "Indicates Failure State of a power supply "
50    SYNTAX      INTEGER {
51        delivering(1),
52	 notDelivering(2),
53        failed(3),
54        unknown(4)
55    }
56
57AdRpsPowerDeliveryStateTC  ::= TEXTUAL-CONVENTION
58    STATUS      current
59    DESCRIPTION
60        "Indicates Failure State of a power supply "
61    SYNTAX      INTEGER {
62        failed(1),
63        busy(2),
64        delivering(3),
65        available(4),
66        unknown(5)
67   }
68
69AdPowerConnectionStateTC  ::= TEXTUAL-CONVENTION
70    STATUS      current
71    DESCRIPTION
72        "Indicates Failure State of a power supply "
73    SYNTAX      INTEGER {
74        connected(1),
75        notConnected(2),
76        notApplicable(3),
77        unknown(4)
78    }
79
80--
81-- Power Rollover Control
82--
83adGenAOSPowerRolloverOnAC  OBJECT-TYPE
84    SYNTAX     TruthValue
85    MAX-ACCESS read-only
86    STATUS      current
87    DESCRIPTION
88        "Integer value specifying whether or not unit is on AC power."
89    ::= { adGenAOSPowerRollOverCtl 1 }
90
91adGenAOSPwrRollOvrEvntSecSinceEpoch  OBJECT-TYPE
92    SYNTAX      Unsigned32
93    MAX-ACCESS  accessible-for-notify
94    STATUS      current
95    DESCRIPTION
96        "The time (seconds since epoch) that a power rollover trap was
97        generated."
98    ::= { adGenAOSPowerRollOverCtl  2 }
99
100     --
101
102     -- EPS/RPS Table
103
104     --
105
106     adGenAOSPowerEpsRpsTable OBJECT-TYPE
107         SYNTAX   SEQUENCE OF AdGenAOSPowerEpsRpsEntry
108         MAX-ACCESS   not-accessible
109         STATUS   current
110         DESCRIPTION
111            "EPS/RPS Power Table."
112         ::= { adGenAOSPowerEpsRps 1 }
113
114
115	adGenAOSPowerEpsRpsEntry OBJECT-TYPE
116         SYNTAX   AdGenAOSPowerEpsRpsEntry
117         MAX-ACCESS   not-accessible
118         STATUS   current
119         DESCRIPTION
120            "EPS/RPS entry for a particular VCID."
121         INDEX { adGenAOSPowerEpsRpsInstanceId }
122         ::= {adGenAOSPowerEpsRpsTable 1 }
123
124     AdGenAOSPowerEpsRpsEntry ::=
125         SEQUENCE {
126             adGenAOSPowerEpsRpsInstanceId				     Unsigned32,
127             adGenAOSPowerEpsConnectionState                 AdPowerConnectionStateTC,
128             adGenAOSPowerEpsDeliveryState                 	 AdEpsPowerDeliveryStateTC,
129             adGenAOSPowerRpsConnectionState                 AdPowerConnectionStateTC,
130             adGenAOSPowerRpsDeliveryState                 	 AdRpsPowerDeliveryStateTC
131     }
132
133
134     adGenAOSPowerEpsRpsInstanceId OBJECT-TYPE
135         SYNTAX      Unsigned32
136         MAX-ACCESS   read-only
137         STATUS   current
138         DESCRIPTION
139                "Uniquely identifies a row in the adGenAOSEpsRpsTable."
140         ::= { adGenAOSPowerEpsRpsEntry 1 }
141
142adGenAOSPowerEpsConnectionState  OBJECT-TYPE
143    SYNTAX     AdPowerConnectionStateTC
144    MAX-ACCESS read-only
145    STATUS      current
146    DESCRIPTION
147        "Text value specifying if an EPS is connected or not."
148    ::= { adGenAOSPowerEpsRpsEntry 2 }
149
150adGenAOSPowerEpsDeliveryState  OBJECT-TYPE
151    SYNTAX     AdEpsPowerDeliveryStateTC
152    MAX-ACCESS read-only
153    STATUS      current
154    DESCRIPTION
155        "Text value specifying the delivery state of the EPS power."
156    ::= { adGenAOSPowerEpsRpsEntry 3 }
157
158adGenAOSPowerRpsConnectionState  OBJECT-TYPE
159    SYNTAX     AdPowerConnectionStateTC
160    MAX-ACCESS read-only
161    STATUS      current
162    DESCRIPTION
163        "Text value specifying if an RPS is connected or not."
164    ::= { adGenAOSPowerEpsRpsEntry  4 }
165
166adGenAOSPowerRpsDeliveryState  OBJECT-TYPE
167    SYNTAX     AdRpsPowerDeliveryStateTC
168    MAX-ACCESS read-only
169    STATUS      current
170    DESCRIPTION
171        "Text value specifying the delivery state of the RPS power."
172    ::= { adGenAOSPowerEpsRpsEntry  5 }
173
174--
175-- Notifications
176--
177adGenAOSPowerRollover NOTIFICATION-TYPE
178    OBJECTS { adGenAOSPowerRolloverOnAC,
179                adGenAOSPwrRollOvrEvntSecSinceEpoch  }
180    STATUS  current
181    DESCRIPTION
182    	"This trap indicates the unit has had a change in power source, either from AC to DC or back again.  The SecSinceEpoch represents the time (seconds since epoch) that the rollover occured."
183	::= { adGenAOSPowerTraps 1 }
184
185adGenAOSEpsConnectionChange NOTIFICATION-TYPE
186    OBJECTS { adGenAOSPowerEpsRpsInstanceId, adGenAOSPowerEpsConnectionState  }
187    STATUS  current
188    DESCRIPTION
189    	"This trap indicates the unit has had a change in the EPS connection state."
190	::= { adGenAOSPowerTraps 2 }
191
192adGenAOSEpsDeliveryChange NOTIFICATION-TYPE
193    OBJECTS { adGenAOSPowerEpsRpsInstanceId, adGenAOSPowerEpsDeliveryState  }
194    STATUS  current
195    DESCRIPTION
196    	"This trap indicates the unit has had a change in the EPS delivery state."
197	::= { adGenAOSPowerTraps 3 }
198
199adGenAOSRpsConnectionChange NOTIFICATION-TYPE
200    OBJECTS { adGenAOSPowerEpsRpsInstanceId, adGenAOSPowerRpsConnectionState  }
201    STATUS  current
202    DESCRIPTION
203    	"This trap indicates the unit has had a change in the RPS connection state."
204	::= { adGenAOSPowerTraps 4 }
205
206adGenAOSRpsDeliveryChange NOTIFICATION-TYPE
207    OBJECTS { adGenAOSPowerEpsRpsInstanceId, adGenAOSPowerRpsDeliveryState  }
208    STATUS  current
209    DESCRIPTION
210    	"This trap indicates the unit has had a change in the RPS delivery state."
211	::= { adGenAOSPowerTraps 5 }
212
213-- conformance information
214
215     adGenAOSPowerConformance OBJECT IDENTIFIER ::= { adGenAOSConformance 11 }
216     adGenAOSPowerGroups      OBJECT IDENTIFIER ::= { adGenAOSPowerConformance 1 }
217     adGenAOSPowerCompliances OBJECT IDENTIFIER ::= { adGenAOSPowerConformance 2 }
218
219--
220-- MIB Compliance statements.
221--
222
223-- Full compliance statement
224     adGenAOSPowerFullCompliance MODULE-COMPLIANCE
225        STATUS  current
226        DESCRIPTION
227        "The compliance statement for SNMP entities which implement
228        version 2 of the adGenAOSPower MIB. When this MIB is fully
229        implemented, then such an implementation can claim
230        full compliance."
231
232         MODULE  -- this module
233
234         GROUP adGenAOSPowerRollOverCtlGroup
235         DESCRIPTION
236            "A collection of objects providing read/write configuration
237            information for the management of power rollovers."
238
239           GROUP adGenAOSPowerNotificationGroup
240         DESCRIPTION
241            "This mandatory group is used for the management of
242            power rollover notifications."
243
244         GROUP adGenAOSEpsRpsConfigurationGroup
245         DESCRIPTION
246            "A collection of objects providing read-only configuration
247            information for the management of EPS and RPS."
248
249         GROUP adGenAOSEpsNotificationGroup
250         DESCRIPTION
251            "This mandatory group is used for the management of
252            EPS notifications."
253
254         GROUP adGenAOSRpsNotificationGroup
255         DESCRIPTION
256            "This mandatory group is used for the management of
257            RPS notifications."
258        ::= { adGenAOSPowerCompliances 1 }
259
260
261     adGenAOSPowerNotificationGroup NOTIFICATION-GROUP
262         NOTIFICATIONS { adGenAOSPowerRollover }
263         STATUS  current
264         DESCRIPTION
265            "Trap which may be used to enhance power event driven
266            management of the Unit."
267         ::= { adGenAOSPowerGroups 1 }
268
269        adGenAOSPowerRollOverCtlGroup OBJECT-GROUP
270          	OBJECTS {
271                    	adGenAOSPwrRollOvrEvntSecSinceEpoch,
272                    	adGenAOSPowerRolloverOnAC
273                    }
274  			STATUS  current
275        	DESCRIPTION
276                "The Unit SNMP Config Group."
277        ::= { adGenAOSPowerGroups 2 }
278
279     adGenAOSEpsNotificationGroup NOTIFICATION-GROUP
280         NOTIFICATIONS { adGenAOSEpsConnectionChange, adGenAOSEpsDeliveryChange }
281         STATUS  current
282         DESCRIPTION
283            "Trap used to indicate state changes of EPS."
284         ::= { adGenAOSPowerGroups 3 }
285
286     adGenAOSRpsNotificationGroup NOTIFICATION-GROUP
287         NOTIFICATIONS { adGenAOSRpsConnectionChange, adGenAOSRpsDeliveryChange }
288         STATUS  current
289         DESCRIPTION
290            "Trap used to indicate state changes of RPS."
291         ::= { adGenAOSPowerGroups 4 }
292
293
294        adGenAOSEpsRpsConfigurationGroup OBJECT-GROUP
295            OBJECTS {
296	    				adGenAOSPowerEpsRpsInstanceId,
297                      	adGenAOSPowerRpsConnectionState,
298                      	adGenAOSPowerRpsDeliveryState,
299                      	adGenAOSPowerEpsConnectionState,
300                      	adGenAOSPowerEpsDeliveryState
301                    }
302            STATUS  current
303        	DESCRIPTION
304                "The Unit SNMP Config Group."
305        ::= { adGenAOSPowerGroups 5 }
306END
307