summaryrefslogtreecommitdiff
path: root/MIBS/comware/HH3C-FC-PING-MIB
blob: 84058712bbc825bfa7fd1827356222db99008ac4 (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
-- =====================================================================
-- Copyright (c) 2004-2013 New H3C Tech. Co., Ltd. All rights reserved.
--
-- Description:
--      This MIB module is for the management of the Fibre Channel
--      Ping functionality.
-- Reference:
-- Version: V1.0
-- History:
--      V1.0 Initial version created by liuyanchao 2013-03-15
-- =====================================================================
HH3C-FC-PING-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, Unsigned32, Integer32
        FROM SNMPv2-SMI
    RowStatus, TruthValue
        FROM SNMPv2-TC
    Hh3cFcVsanIndex, Hh3cFcAddressType, Hh3cFcAddress,
    Hh3cFcStartOper
        FROM HH3C-FC-TC-MIB
    hh3cSan
        FROM HH3C-VSAN-MIB;


hh3cFcPing  MODULE-IDENTITY
    LAST-UPDATED "201303150000Z"
    ORGANIZATION "New H3C Tech. Co., Ltd."
    CONTACT-INFO
        "Platform Team New H3C Tech. Co., Ltd.
         Hai-Dian District Beijing P.R. China
         http://www.h3c.com
         Zip:100085"
    DESCRIPTION
        "This MIB module is for the management of the Fibre Channel
         Ping functionality."
    REVISION "201303150000Z"
    DESCRIPTION
        "Initial version of this MIB module."
    ::= { hh3cSan 5 }

hh3cFcPingObjects             OBJECT IDENTIFIER
    ::= { hh3cFcPing 1 }
hh3cFcPingConfigurations      OBJECT IDENTIFIER
    ::= { hh3cFcPingObjects 1 }
hh3cFcPingStatistics          OBJECT IDENTIFIER
    ::= { hh3cFcPingObjects 2 }
hh3cFcPingNotifications       OBJECT IDENTIFIER
    ::= { hh3cFcPingObjects 3 }
hh3cFcPingNotifyPrefix        OBJECT IDENTIFIER
    ::= { hh3cFcPingNotifications 0 }

-- FC Ping table

hh3cFcPingTable OBJECT-TYPE
    SYNTAX        SEQUENCE OF Hh3cFcPingEntry
    MAX-ACCESS    not-accessible
    STATUS        current
    DESCRIPTION
        "A table of FC ping entries containing a group of
         FC ping requests that need to be executed at the
         agent."
    ::= { hh3cFcPingConfigurations 1 }

hh3cFcPingEntry OBJECT-TYPE
    SYNTAX        Hh3cFcPingEntry
    MAX-ACCESS    not-accessible
    STATUS        current
    DESCRIPTION
        "A FC ping request entry that need to be executed
         at the agent."
    INDEX         { hh3cFcPingIndex }
    ::= { hh3cFcPingTable 1 }

Hh3cFcPingEntry ::= SEQUENCE {
    hh3cFcPingIndex              Unsigned32,
    hh3cFcPingVsan               Hh3cFcVsanIndex,
    hh3cFcPingAddressType        Hh3cFcAddressType,
    hh3cFcPingAddress            Hh3cFcAddress,
    hh3cFcPingPacketCount        Unsigned32,
    hh3cFcPingPayloadSize        Unsigned32,
    hh3cFcPingTimeout            Unsigned32,
    hh3cFcPingDelay              Unsigned32,
    hh3cFcPingAgeInterval        Unsigned32,
    hh3cFcPingAdminStatus        Hh3cFcStartOper,
    hh3cFcPingOperStatus         INTEGER,
    hh3cFcPingTrapOnCompletion   TruthValue,
    hh3cFcPingRowStatus          RowStatus
}

hh3cFcPingIndex OBJECT-TYPE
    SYNTAX        Unsigned32 (1..65535)
    MAX-ACCESS    accessible-for-notify
    STATUS        current
    DESCRIPTION
        "The index of the current FC ping entry.  This object
         identifies a FC ping request entry uniquely in a
         specified VSAN (Virtual Storage Area Network)."
    ::= { hh3cFcPingEntry 1 }

hh3cFcPingVsan OBJECT-TYPE
    SYNTAX        Hh3cFcVsanIndex
    MAX-ACCESS    read-create
    STATUS        current
    DESCRIPTION
        "The VSAN on which the FC ping request will be
         performed.  If the corresponding instance value of
         hh3cFcPingOperStatus is 'inProgress', the object
         cannot be modified."
    ::= { hh3cFcPingEntry 2 }

hh3cFcPingAddressType OBJECT-TYPE
    SYNTAX        Hh3cFcAddressType
    MAX-ACCESS    read-create
    STATUS        current
    DESCRIPTION
        "The type of the corresponding instance of
         hh3cFcPingAddress object."
    DEFVAL        { fcid }
    ::= { hh3cFcPingEntry 3 }

hh3cFcPingAddress OBJECT-TYPE
    SYNTAX        Hh3cFcAddress
    MAX-ACCESS    read-create
    STATUS        current
    DESCRIPTION
        "The address to which the route will be pinged.

         This object will contain an 8 octet long WWN(World Wide Name),
         if the value of the associated instance of hh3cFcPingAddressType
         object is 'wwn'.

         This object will contain a 3 octet long Fibre Channel Address ID,
         if the value of the associated instance of hh3cFcPingAddressType
         object is 'fcid'."
    ::= { hh3cFcPingEntry 4 }

hh3cFcPingPacketCount OBJECT-TYPE
    SYNTAX      Unsigned32 (1..2147483647)
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The number of FC ping packets to be sent to the
         target in this sequence."
    DEFVAL        { 5 }
    ::= { hh3cFcPingEntry 5 }

hh3cFcPingPayloadSize OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "This object specifies the size of the FC ping packet
         payload to be sent to the target in this sequence."
    ::= { hh3cFcPingEntry 6 }

hh3cFcPingTimeout OBJECT-TYPE
    SYNTAX        Unsigned32 (1..10)
    UNITS         "seconds"
    MAX-ACCESS    read-create
    STATUS        current
    DESCRIPTION
        "The value of timeout for this FC ping request."
    DEFVAL        { 5 }
    ::= { hh3cFcPingEntry 7 }

hh3cFcPingDelay OBJECT-TYPE
    SYNTAX      Unsigned32
    UNITS       "seconds"
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The minimum amount of time to wait before sending
         the next packet in a sequence, after receiving a
         response or declaring a timeout for a previously
         transmitted packet."
    ::= { hh3cFcPingEntry 8 }

hh3cFcPingAgeInterval OBJECT-TYPE
    SYNTAX        Unsigned32 (500..900)
    UNITS         "seconds"
    MAX-ACCESS    read-create
    STATUS        current
    DESCRIPTION
        "The interval time after a FC ping test completes
         before the entry is aged out."
    DEFVAL        { 500 }
    ::= { hh3cFcPingEntry 9 }

hh3cFcPingAdminStatus OBJECT-TYPE
    SYNTAX        Hh3cFcStartOper
    MAX-ACCESS    read-create
    STATUS        current
    DESCRIPTION
        "The administrative status of each hh3cFcPingEntry.

         The object has two values:
         enable     -  Activate the entry.
         disable    -  Deactivate the entry.

         When the FC ping entry is executing, this object cannot be
         modified.  If this object is read at such a time, a value of
         'enable' will be returned.  When the test finishes, the value
         of this object will be set to 'disable'."
    DEFVAL        { disable }
    ::= { hh3cFcPingEntry 10 }

hh3cFcPingOperStatus OBJECT-TYPE
    SYNTAX        INTEGER {
      inProgress(1),     -- FC ping in progress
      complete(2),       -- FC ping complete
      disabled(3),       -- FC ping disabled
      failed(4)          -- FC ping failed
      }
    MAX-ACCESS    read-only
    STATUS        current
    DESCRIPTION
        "This object indicates the operational status
         of this hh3cFcPingEntry.

         The value specifications are listed as follows:
         inProgress     - FC ping is in progress.
         complete       - FC ping is complete.
         disabled       - FC ping is disabled.
         failed         - FC ping has failed due to resource limitations."
    ::= { hh3cFcPingEntry 11 }

hh3cFcPingTrapOnCompletion OBJECT-TYPE
    SYNTAX        TruthValue
    MAX-ACCESS    read-create
    STATUS        current
    DESCRIPTION
        "This object indicates that if hh3cFcPingCompletionNotify
         notification should be generated or not when the corresponding
         ping sequence completes."
    DEFVAL        { false }
    ::= { hh3cFcPingEntry 12 }

hh3cFcPingRowStatus OBJECT-TYPE
    SYNTAX        RowStatus
    MAX-ACCESS    read-create
    STATUS        current
    DESCRIPTION
        "The status of this conceptual row."
    ::= { hh3cFcPingEntry 13 }

-- FC Ping Statistics Table

hh3cFcPingStatTable OBJECT-TYPE
    SYNTAX        SEQUENCE OF Hh3cFcPingStatEntry
    MAX-ACCESS    not-accessible
    STATUS        current
    DESCRIPTION
        "A table of FC ping statistics.
         This table notes the FC ping statistics of a FC ping test
         associated with an entry in the hh3cFcPingTable."
    ::= { hh3cFcPingStatistics 1 }

hh3cFcPingStatEntry OBJECT-TYPE
    SYNTAX        Hh3cFcPingStatEntry
    MAX-ACCESS    not-accessible
    STATUS        current
    DESCRIPTION
        "A FC ping statistics entry.

         An entry will be created automatically in this table when the
         hh3cFcPingRowStatus of a ping request in the hh3cFcPingTable
         is set to 'active'.

         The entry in this table will have the same indices as the entry
         that in the hh3cFcPingTable.

         An entry in this table will be deleted when the corresponding
         entry in the hh3cFcPingTable is deleted."
    INDEX         { hh3cFcPingIndex }
    ::= { hh3cFcPingStatTable 1 }

Hh3cFcPingStatEntry ::= SEQUENCE {
    hh3cFcPingReqPackets      Unsigned32,
    hh3cFcPingResPackets      Unsigned32,
    hh3cFcPingMinTime         Integer32,
    hh3cFcPingAverageTime     Integer32,
    hh3cFcPingMaxTime         Integer32,
    hh3cFcPingTimeoutNum      Unsigned32
}

hh3cFcPingReqPackets OBJECT-TYPE
    SYNTAX        Unsigned32
    MAX-ACCESS    read-only
    STATUS        current
    DESCRIPTION
        "The number of FC ping packets request in this sequence."
    ::= { hh3cFcPingStatEntry 1 }

hh3cFcPingResPackets OBJECT-TYPE
    SYNTAX        Unsigned32
    MAX-ACCESS    read-only
    STATUS        current
    DESCRIPTION
        "The number of FC ping packets response in this sequence."
    ::= { hh3cFcPingStatEntry 2 }

hh3cFcPingMinTime OBJECT-TYPE
    SYNTAX        Integer32
    UNITS         "microseconds"
    MAX-ACCESS    read-only
    STATUS        current
    DESCRIPTION
        "The minimum round trip time of all the packets that
         have been sent in this sequence."
    ::= { hh3cFcPingStatEntry 3 }

hh3cFcPingAverageTime OBJECT-TYPE
    SYNTAX        Integer32
    UNITS         "microseconds"
    MAX-ACCESS    read-only
    STATUS        current
    DESCRIPTION
        "The average round trip time of all the packets that
         have been sent in this sequence."
    ::= { hh3cFcPingStatEntry 4 }

hh3cFcPingMaxTime OBJECT-TYPE
    SYNTAX        Integer32
    UNITS         "microseconds"
    MAX-ACCESS    read-only
    STATUS        current
    DESCRIPTION
        "The maximum round trip time of all the packets that
         have been sent in this sequence."
    ::= { hh3cFcPingStatEntry 5 }


hh3cFcPingTimeoutNum OBJECT-TYPE
    SYNTAX        Unsigned32
    MAX-ACCESS    read-only
    STATUS        current
    DESCRIPTION
        "The number of timeouts encountered in this sequence."
    ::= { hh3cFcPingStatEntry 6 }

-- Notifications

hh3cFcPingCompletionNotify NOTIFICATION-TYPE
    OBJECTS       { hh3cFcPingIndex,
                    hh3cFcPingVsan,
                    hh3cFcPingAddressType,
                    hh3cFcPingAddress,
                    hh3cFcPingReqPackets,
                    hh3cFcPingResPackets}
    STATUS        current
    DESCRIPTION
        "When a FC ping test is finished and the instance of
         hh3cFcPingTrapOnCompletion associated with the test
         is set to 'true', this notification occurred."
    ::= { hh3cFcPingNotifyPrefix 1 }

END