summaryrefslogtreecommitdiff
path: root/MIBS/comware/HH3C-VNF-DEVICE-MIB
blob: a8d41761fa216f8adadd4419970e9c1087fb46c0 (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
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
-- =================================================================
-- Copyright (c) 2004-2021 New H3C Tech. Co., Ltd. All rights reserved.
--
-- Description: vnf-device mib
-- Reference:
-- Version: V1.1
-- History:
--  V1.0 Created by zhoufan
--      2020-11-18 updated by xuyuanqiang
--      Add hh3cVnfDeviceTraps
--          hh3cVmInfoTraps
--          hh3cVmChannelHealthTraps
--          hh3cVnfTrapObjects
--  V1.1 Updated by dongzhijian
--      Update hh3cVmInconsist
--          hh3cVmInconsistResume
--  Initial version 2020-11-18
-- =================================================================
HH3C-VNF-DEVICE-MIB DEFINITIONS ::= BEGIN

IMPORTS
    hh3cCommon
        FROM HH3C-OID-MIB
    Integer32, OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE, Unsigned32
        FROM SNMPv2-SMI
    DisplayString, MacAddress
        FROM SNMPv2-TC
    InetAddressType,InetAddress
        FROM INET-ADDRESS-MIB;

hh3cVnfDevice MODULE-IDENTITY
    LAST-UPDATED "202102040000Z"
    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
        "The MIB module is used for VM(virtual machine) management."
    REVISION "202102040000Z"
    DESCRIPTION
        "Update hh3cVmInconsist hh3cVmInconsistResume"
    REVISION "202011180000Z"
    DESCRIPTION
        "Add hh3cVmAttr hh3cVmGroup hh3cVnfTrapObjects
             hh3cVnfDeviceTraps hh3cVmInfoTraps hh3cVmChannelHealthTraps"
    REVISION    "202010100000Z"
    DESCRIPTION    "The initial version."
    ::= { hh3cCommon 196 }

hh3cVnfDeviceTable OBJECT IDENTIFIER ::= { hh3cVnfDevice 1 }

hh3cVmInfoTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF Hh3cVmInfoEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "VM information table."
    ::= { hh3cVnfDeviceTable 1 }

hh3cVmInfoEntry OBJECT-TYPE
    SYNTAX      Hh3cVmInfoEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "An entry of the hh3cVmInfoTable."
    INDEX    { hh3cVmSlot }
    ::= { hh3cVmInfoTable 1 }

Hh3cVmInfoEntry ::= SEQUENCE
    {
        hh3cVmSlot                 Integer32,
        hh3cVmName                 DisplayString,
        hh3cVmType                 INTEGER,
        hh3cVmState                INTEGER,
        hh3cVmRole                 INTEGER,
        hh3cVmRegisterStatus       INTEGER,
        hh3cVmAttr                 INTEGER,
        hh3cVmGroup                Integer32
    }

hh3cVmSlot  OBJECT-TYPE
    SYNTAX      Integer32(1..2147483647)
    MAX-ACCESS  accessible-for-notify
    STATUS      current
    DESCRIPTION
        "VM slot."
    ::= { hh3cVmInfoEntry 1 }

hh3cVmName  OBJECT-TYPE
    SYNTAX      DisplayString (SIZE(1..255))
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "VM name."
    ::= { hh3cVmInfoEntry 2 }

hh3cVmType   OBJECT-TYPE
    SYNTAX   INTEGER
    {
        other   (1),
        ctrlvm  (2),
        brasvm  (3),
        fwdvm   (4)
    }
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "VM type."
    ::= { hh3cVmInfoEntry 3 }

hh3cVmState  OBJECT-TYPE
    SYNTAX   INTEGER
    {
        absent (1),
        normal (2),
        fault  (3),
        other  (4)
    }
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "VM state."
    ::= { hh3cVmInfoEntry 4 }

hh3cVmRole  OBJECT-TYPE
    SYNTAX  INTEGER
    {
        master  (1),
        standby (2),
        other   (3)
    }
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "VM role."
    ::= { hh3cVmInfoEntry 5 }

hh3cVmRegisterStatus    OBJECT-TYPE
    SYNTAX              INTEGER
    {
        registered               (1),
        unregistered             (2),
        unregisteredDestroying   (3),
        registering              (4),
        maddown                  (5),
        unregisteredMaddown      (6),
        other                    (7)
    }
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "VM registration state."
    ::= { hh3cVmInfoEntry 6 }

hh3cVmAttr    OBJECT-TYPE
    SYNTAX              INTEGER
    {
        initDeploy               (1),
        manu                     (2),
        auto                     (3),
        autoAccept               (4)
    }
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "VM attribute."
    ::= { hh3cVmInfoEntry 7 }

hh3cVmGroup   OBJECT-TYPE
    SYNTAX       Integer32(1..65535)
    MAX-ACCESS   read-only
    STATUS       current
    DESCRIPTION
        "VM belong to group.
        the Default is a invalid value 65535."
    ::= { hh3cVmInfoEntry 8 }
-- ==================================================================
--
-- VM trap object
--
-- ==================================================================
hh3cVnfDeviceTraps OBJECT IDENTIFIER ::= { hh3cVnfDevice 2 }
hh3cVnfmTrapPrefix OBJECT IDENTIFIER ::= { hh3cVnfDeviceTraps 0 }

hh3cVnfmConnectionFault NOTIFICATION-TYPE
    OBJECTS { hh3cVnfmIPType, hh3cVnfmIP, hh3cVnfmPort }
    STATUS  current
    DESCRIPTION
        "Cp and so communication failure."
    ::= { hh3cVnfmTrapPrefix 1 }

hh3cVnfmConnectionFaultResume NOTIFICATION-TYPE
    OBJECTS { hh3cVnfmIPType, hh3cVnfmIP, hh3cVnfmPort }
    STATUS  current
    DESCRIPTION
        "Cp and so communication recovery."
    ::= { hh3cVnfmTrapPrefix 2 }

hh3cVnvmAuthenFault NOTIFICATION-TYPE
    OBJECTS { hh3cVnfmIPType, hh3cVnfmIP, hh3cVnfmPort }
    STATUS  current
    DESCRIPTION
        "Cp and so authentication failed."
    ::= { hh3cVnfmTrapPrefix 3 }

hh3cVmInfoTraps OBJECT IDENTIFIER ::= { hh3cVnfDevice 3 }
hh3cVmInfoTrapPrefix OBJECT IDENTIFIER ::= { hh3cVmInfoTraps 0 }

hh3cVmCreate NOTIFICATION-TYPE
    OBJECTS { hh3cVmSlot, hh3cVmType, hh3cVmAttr, hh3cVmGroup }
    STATUS  current
    DESCRIPTION
        "The event of create VM."
    ::= { hh3cVmInfoTrapPrefix 1 }

hh3cVmDelete NOTIFICATION-TYPE
    OBJECTS { hh3cVmSlot, hh3cVmType, hh3cVmAttr, hh3cVmGroup }
    STATUS  current
    DESCRIPTION
        "The event of delete VM."
    ::= { hh3cVmInfoTrapPrefix 2 }

hh3cVmCreateSuccess NOTIFICATION-TYPE
    OBJECTS { hh3cVmSlot, hh3cVmType, hh3cVmAttr, hh3cVmGroup, hh3cVmRetryTimes }
    STATUS  current
    DESCRIPTION
        "Success to create VM."
    ::= { hh3cVmInfoTrapPrefix 3 }

hh3cVmCreateFail NOTIFICATION-TYPE
    OBJECTS { hh3cVmSlot, hh3cVmType, hh3cVmAttr, hh3cVmGroup, hh3cVmRetryTimes, hh3cVmCreateFailReason }
    STATUS  current
    DESCRIPTION
        "Failed to create VM."
    ::= { hh3cVmInfoTrapPrefix 4 }

hh3cVmDeleteSuccess NOTIFICATION-TYPE
    OBJECTS { hh3cVmSlot, hh3cVmType, hh3cVmAttr, hh3cVmGroup, hh3cVmRetryTimes }
    STATUS  current
    DESCRIPTION
        "Success to delete VM."
    ::= { hh3cVmInfoTrapPrefix 5 }

hh3cVmDeleteFail NOTIFICATION-TYPE
    OBJECTS { hh3cVmSlot, hh3cVmType, hh3cVmAttr, hh3cVmGroup, hh3cVmRetryTimes, hh3cVmDeleteFailReason }
    STATUS  current
    DESCRIPTION
        "Failed to delete VM."
    ::= { hh3cVmInfoTrapPrefix 6 }

hh3cVmInconsist NOTIFICATION-TYPE
    OBJECTS { hh3cVmSlot, hh3cVmName, hh3cVmStatusOnVnfm, hh3cVmInconsistFaultReason }
    STATUS  current
    DESCRIPTION
        "The local virtual machine resources are inconsistent with the resources on vnf."
    ::= { hh3cVmInfoTrapPrefix 7 }

hh3cVmInconsistResume NOTIFICATION-TYPE
    OBJECTS { hh3cVmSlot, hh3cVmName, hh3cVmStatusOnVnfm, hh3cVmInconsistFaultReason }
    STATUS  current
    DESCRIPTION
        "The local virtual machine resources are the same as those on vnf."
    ::= { hh3cVmInfoTrapPrefix 8 }

hh3cVmAcceptInconsistVm NOTIFICATION-TYPE
    OBJECTS { hh3cVmSlot, hh3cVmName, hh3cVmType, hh3cVmGroup }
    STATUS  current
    DESCRIPTION
        "Unconfigured VM claimed on vbras-cp."
    ::= { hh3cVmInfoTrapPrefix 9 }

hh3cVmReset NOTIFICATION-TYPE
    OBJECTS { hh3cVmSlot, hh3cVmType, hh3cVmGroup, hh3cVmResetResult }
    STATUS  current
    DESCRIPTION
        "VM restarts via VNFM."
    ::= { hh3cVmInfoTrapPrefix 10 }

hh3cVmUnregisterLongtime NOTIFICATION-TYPE
    OBJECTS { hh3cVmSlot, hh3cVmName, hh3cVmType, hh3cVmGroup }
    STATUS  current
    DESCRIPTION
        "VNFM has been allocated but will not be online for a long time."
    ::= { hh3cVmInfoTrapPrefix 11 }

hh3cVmIsolate NOTIFICATION-TYPE
    OBJECTS { hh3cVmSlot, hh3cVmType, hh3cVmGroup }
    STATUS  current
    DESCRIPTION
        "During the shrinking operation, it does not communicate with VNFM, VNFM isolates VM."
    ::= { hh3cVmInfoTrapPrefix 12 }

hh3cVmChannelHealthTraps OBJECT IDENTIFIER ::= { hh3cVnfDevice 4 }
hh3cVmChannelHealthTrapPrefix OBJECT IDENTIFIER ::= { hh3cVmChannelHealthTraps 0 }

hh3cVmChannelHealthNormal NOTIFICATION-TYPE
    OBJECTS { hh3cVmSelfSlot, hh3cVmPeerSlot, hh3cVmChannelType, hh3cVmChannelVlan }
    STATUS  current
    DESCRIPTION
        "The health check result of the control channel or data channel on the specified VM is normal."
    ::= { hh3cVmChannelHealthTrapPrefix 1 }

hh3cVmChannelHealthMinor NOTIFICATION-TYPE
    OBJECTS { hh3cVmSelfSlot, hh3cVmPeerSlot, hh3cVmChannelType, hh3cVmChannelVlan }
    STATUS  current
    DESCRIPTION
        "The control channel or data channel on the specified VM is in the minor sub-health state."
    ::= { hh3cVmChannelHealthTrapPrefix 2 }

hh3cVmChannelHealthSevere NOTIFICATION-TYPE
    OBJECTS { hh3cVmSelfSlot, hh3cVmPeerSlot, hh3cVmChannelType, hh3cVmChannelVlan }
    STATUS  current
    DESCRIPTION
        "The control channel or data channel on the specified VM is in the severe sub-health state."
    ::= { hh3cVmChannelHealthTrapPrefix 3 }

hh3cVmChannelLinkSwitch NOTIFICATION-TYPE
    OBJECTS { hh3cVmSelfSlot, hh3cVmChannelType, hh3cVmChannelVlan, hh3cVmChannelLinkMacAddress }
    STATUS  current
    DESCRIPTION
        "Link switching event."
    ::= { hh3cVmChannelHealthTrapPrefix 4 }
-- ==================================================================
--
-- VM trap Bind variable
--
-- ==================================================================
hh3cVnfTrapObjects OBJECT IDENTIFIER ::= { hh3cVnfDevice 5 }
hh3cVnfmTrapObjects OBJECT IDENTIFIER ::= { hh3cVnfTrapObjects 1 }

hh3cVnfmIPType   OBJECT-TYPE
    SYNTAX     InetAddressType
    MAX-ACCESS     accessible-for-notify
    STATUS     current
    DESCRIPTION
        "VNFM ip address."
    ::= { hh3cVnfmTrapObjects 1 }

hh3cVnfmIP   OBJECT-TYPE
    SYNTAX     InetAddress
    MAX-ACCESS     accessible-for-notify
    STATUS     current
    DESCRIPTION
        "VNFM ip address."
    ::= { hh3cVnfmTrapObjects 2 }

hh3cVnfmPort   OBJECT-TYPE
    SYNTAX     Unsigned32 (0..65535)
    MAX-ACCESS     accessible-for-notify
    STATUS     current
    DESCRIPTION
        "VNFM port number."
    ::= { hh3cVnfmTrapObjects 3 }

hh3cVmInfoTrapObjects OBJECT IDENTIFIER ::= { hh3cVnfTrapObjects 2 }

hh3cVmRetryTimes   OBJECT-TYPE
    SYNTAX     Unsigned32 (0..65535)
    MAX-ACCESS     accessible-for-notify
    STATUS     current
    DESCRIPTION
        "Number of retries."
    ::= { hh3cVmInfoTrapObjects 1 }

hh3cVmCreateAttr   OBJECT-TYPE
    SYNTAX              INTEGER
    {
        initDeploy               (1),
        manu                     (2),
        auto                     (3),
        autoAccept               (4)
    }
    MAX-ACCESS     accessible-for-notify
    STATUS     current
    DESCRIPTION
        "The VM creation properties."
    ::= { hh3cVmInfoTrapObjects 2 }

hh3cVmCreateFailReason   OBJECT-TYPE
    SYNTAX         OCTET STRING (SIZE(0..128))
    MAX-ACCESS     accessible-for-notify
    STATUS     current
    DESCRIPTION
        "The VM create failed reason."
    ::= { hh3cVmInfoTrapObjects 3 }

hh3cVmDeleteFailReason   OBJECT-TYPE
    SYNTAX         OCTET STRING (SIZE(0..128))
    MAX-ACCESS     accessible-for-notify
    STATUS     current
    DESCRIPTION
        "The VM delete failed reason."
    ::= { hh3cVmInfoTrapObjects 4 }

hh3cVmInconsistFaultReason   OBJECT-TYPE
    SYNTAX              INTEGER
    {
        exisitOnLocal               (1),
        existOnVnfm                 (2)
    }
    MAX-ACCESS     accessible-for-notify
    STATUS     current
    DESCRIPTION
        "Reasons for VM inconsistency."
    ::= { hh3cVmInfoTrapObjects 5 }

hh3cVmResetResult   OBJECT-TYPE
    SYNTAX         OCTET STRING (SIZE(0..128))
    MAX-ACCESS     accessible-for-notify
    STATUS     current
    DESCRIPTION
        "Reasons for the failure to restart the virtual machine."
    ::= { hh3cVmInfoTrapObjects 6 }

hh3cVmStatusOnVnfm   OBJECT-TYPE
    SYNTAX              INTEGER
    {
        building               (1),
        active                 (2),
        error                  (3),
        unknown                (4)
    }
    MAX-ACCESS     accessible-for-notify
    STATUS     current
    DESCRIPTION
        "The status of the virtual machine on VNFM(virtualized network function managers)."
    ::= { hh3cVmInfoTrapObjects 7 }

hh3cVmChannelHealthTrapObjects OBJECT IDENTIFIER ::= { hh3cVnfTrapObjects 3 }

hh3cVmSelfSlot   OBJECT-TYPE
    SYNTAX     Unsigned32 (0..65535)
    MAX-ACCESS     accessible-for-notify
    STATUS     current
    DESCRIPTION
        "VM local slot number."
    ::= { hh3cVmChannelHealthTrapObjects 1 }

hh3cVmPeerSlot    OBJECT-TYPE
    SYNTAX     Unsigned32 (0..65535)
    MAX-ACCESS     accessible-for-notify
    STATUS     current
    DESCRIPTION
        "VM opposite slot number."
    ::= { hh3cVmChannelHealthTrapObjects 2 }

hh3cVmChannelType   OBJECT-TYPE
    SYNTAX              INTEGER
    {
        controlchannel               (1),
        datachannel                  (2)
    }
    MAX-ACCESS     accessible-for-notify
    STATUS     current
    DESCRIPTION
        "VM channel type."
    ::= { hh3cVmChannelHealthTrapObjects 3 }

hh3cVmChannelVlan   OBJECT-TYPE
    SYNTAX     Unsigned32 (1..4094)
    MAX-ACCESS     accessible-for-notify
    STATUS     current
    DESCRIPTION
        "VM channel vlan."
    ::= { hh3cVmChannelHealthTrapObjects 4 }

hh3cVmChannelLinkMacAddress   OBJECT-TYPE
    SYNTAX     MacAddress
    MAX-ACCESS     accessible-for-notify
    STATUS     current
    DESCRIPTION
        "The mac address of the fault port."
    ::= { hh3cVmChannelHealthTrapObjects 5 }

END