summaryrefslogtreecommitdiff
path: root/MIBS/ubiquoss/UBQS-REDUNDANCY-MIB
blob: 79348a250096fdfe07adc60f1aeb6308ecde96c1 (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
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
-- *****************************************************************
-- UBQS-REDUNDANCY-MIB  : Ubiquoss Redundancy MIB file
--
-- June 2013, Doyle Son
--
-- Copyright (c) 2013 by Ubiquoss, Corp.
-- All rights reserved.    
--
-- *****************************************************************
--

UBQS-REDUNDANCY-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY,
    OBJECT-TYPE,
    NOTIFICATION-TYPE,
        FROM SNMPv2-SMI
    TEXTUAL-CONVENTION,
    DisplayString,
    TimeStamp,
    TruthValue,
    PhysAddress
        FROM SNMPv2-TC
    ubiMgmtv2
        FROM UBQS-SMI
    InetAddress, 
    InetAddressType,
    InetAddressPrefixLength, 
    	FROM INET-ADDRESS-MIB
    InterfaceIndex,
    InterfaceIndexOrZero
        FROM IF-MIB;
  
  
ubiRedundancyMIB MODULE-IDENTITY
    LAST-UPDATED    "201306180000Z"
    ORGANIZATION 	"Ubiquoss Corp."
	CONTACT-INFO
		"	Ubiquoss
			Customer Service

		 Postal: 24F Milennium B/D,
		 	467-12, Dogok-Dong,
			GangNam-Gu, Seoul 135-270
			Korea

		   Tel: 82-2-2190-3100"     
    DESCRIPTION
        "The UBQS-REDUNDANCY-MIB is used to monitor
        and configure the redundancy appliances."
    ::= { ubiMgmtv2 29 }


-- ***********************************************************   
-- TEXTUAL-CONVENTION
-- Define the composed syntax 
-- ***********************************************************

RedundancyState ::= TEXTUAL-CONVENTION
    STATUS          current
    DESCRIPTION
        "Role states for redundancy.  Valid values are :
        	notConfigured      (1)   The appliance is not configured for redundancy.
        	active             (2)   The appliance is the active appliance.
        	standby            (3)   The appliance is warm standby mode         
        	activeLostStandby  (4)   The active appliance is not getting any 
									response from the standby appliance.
        "            
    SYNTAX          INTEGER  {      
    					notConfigured(1),
                        active (2),
                        standby (3),
                        activeLostStandby(4)
    }
              
FlashPath ::= TEXTUAL-CONVENTION
    STATUS       current
    DESCRIPTION
        "Represents 'copy <source> peer'."
    SYNTAX       INTEGER
    {
    	os1(0),
    	os2(1),
    	config(2)
    }

SwitchOverReason ::= TEXTUAL-CONVENTION
    STATUS          current
    DESCRIPTION
        "Role states for redundancy.  Valid values are :       
        	none				(0)    none of the following
        	lossConnWithActive  (1)    lost connection with active
        	forcedSwitchOver    (2)    Switchover occurs by force          
        	unknown             (3)    Switchover occurs by unknown reason
        "            
    SYNTAX          INTEGER  {                   
    					none(0),
                        lossConnWithActive (1),
                        forcedSwitchOver (2),
                        unknown (3)
     }

-- ***********************************************************
-- ubiRedundancyMIB
-- *********************************************************** 

ubiRedundancyMIBNotificationPrefix		OBJECT IDENTIFIER		::= { ubiRedundancyMIB 0 }
ubiRedundancyObjects					OBJECT IDENTIFIER		::= { ubiRedundancyMIB 1 }
ubiRedundancyPeerObjects				OBJECT IDENTIFIER		::= { ubiRedundancyMIB 2 }
ubiSwitchoverObjects					OBJECT IDENTIFIER		::= { ubiRedundancyMIB 3 }
ubiRedundancyMIBConformance				OBJECT IDENTIFIER	 	::= { ubiRedundancyMIB 4 }

-- ***********************************************************
-- ubiEntityAlarmMIBNotifications
-- ***********************************************************  
	ubiSwitchOverNotification NOTIFICATION-TYPE
    	OBJECTS    { 
    					ubiLastSwitchOverTime,
    					ubiLastSwitchOverReason,
    					ubiSwitchOverRedundancySyncState
    	}
    	STATUS          current
    	DESCRIPTION
        	"The agent generates this trap
        	 when a switchover occurs."
   		::= { ubiRedundancyMIBNotificationPrefix 1 }
                                                          
                                                          
	ubiRedundancyConnectionStateNotification NOTIFICATION-TYPE
    	OBJECTS     { 
    					ubiRedundancyConnectionState,
    	}
    	STATUS          current
    	DESCRIPTION
        	"The agent generates this trap
        	 when the connection state of standby appliance device is changed."
   		::= { ubiRedundancyMIBNotificationPrefix 2 }
   	
   	ubiRedundancySyncNotification NOTIFICATION-TYPE
    	OBJECTS     { 
    					ubiRedundancySyncState,
    	}
    	STATUS          current
    	DESCRIPTION
        	"The agent generates this trap
        	 when the synchronization process with standby SCU is done.
        	 This notification occurs after standby is connected."
   		::= { ubiRedundancyMIBNotificationPrefix 3 }
   		
	ubiRedundancySyncStateChangeNotification NOTIFICATION-TYPE
    	OBJECTS     { 
    					ubiRedundancySyncState,
    	}
    	STATUS          current
    	DESCRIPTION
        	"The agent generates this trap
        	 when the synchronization state has been changed."
   		::= { ubiRedundancyMIBNotificationPrefix 4 }
                                                          
-- ***********************************************************
-- ubiRedundancyObjects
-- *********************************************************** 

ubiRedundancy					OBJECT IDENTIFIER		::= { ubiRedundancyObjects 1 }

	ubiRedundancyReload OBJECT-TYPE
    	SYNTAX          INTEGER    	   
    	{   
    			both(1),
				peer(2)
    	}
    	MAX-ACCESS      read-write
    	STATUS          current
    	DESCRIPTION
        	"Reload Active/Standby or Peer device."
    	::= { ubiRedundancy 1 }     
   
   ubiRedundancyMyRedundancyState OBJECT-TYPE
    	SYNTAX          RedundancyState
    	MAX-ACCESS      read-only
    	STATUS          current
    	DESCRIPTION
        	"The HA redundancy state of this appliance device."
      	::= { ubiRedundancy 2 }

    	
   ubiRedundancyConnStateNotificationEnabled OBJECT-TYPE
    	SYNTAX          TruthValue
    	MAX-ACCESS      read-write
    	STATUS          current
    	DESCRIPTION
        	"Enable or disable redundancy connection state notification via SNMP."
    	::= { ubiRedundancy 4 }

    	
-- ***********************************************************
-- ubiRedundancyTable
-- *********************************************************** 
    	
	ubiRedundancyTable OBJECT-TYPE
    	SYNTAX          SEQUENCE OF UbiRedundancyEntry 
    	MAX-ACCESS      not-accessible
    	STATUS          current
    	DESCRIPTION
        	"This table keeps the current configuration of the redundancy 
        	 information of the active and standby units."
    	::= { ubiRedundancy 3 }


	ubiRedundancyEntry OBJECT-TYPE
    	SYNTAX          UbiRedundancyEntry
    	MAX-ACCESS      not-accessible
    	STATUS          current
    	DESCRIPTION
        	"An entry containing redundancy information of the active and standby units"
    	INDEX           { ubiRedundancyIsActivePreferred  } 
    	::= { ubiRedundancyTable 1 }

	UbiRedundancyEntry ::= SEQUENCE {        
		ubiRedundancyIsActivePreferred				TruthValue,          
		ubiRedundancyState							RedundancyState,
		ubiRedundancyConnectionState				INTEGER, 
       }

 	ubiRedundancyIsActivePreferred OBJECT-TYPE
    	SYNTAX          TruthValue  
    	MAX-ACCESS      not-accessible
    	STATUS          current
    	DESCRIPTION
        	"This status indicates whether
        	 this appliance device is preferred to active or not.
        	 Commonly upper(or left) device has this value as True(1)
        	 and low(or right) device has this value as False(0). " 
    	::= { ubiRedundancyEntry 1 }
     
	ubiRedundancyState OBJECT-TYPE
    	SYNTAX          RedundancyState
    	MAX-ACCESS      read-only
    	STATUS          current
    	DESCRIPTION
        	"The HA redundancy state of the appliance device.
        	Role states for redundancy.  Valid values are :        
        	notConfigured      (1)   The appliance is not configured for redundancy.
        	active             (2)   The appliance is the active appliance.
        	standby            (3)   The appliance is warm standby mode         
        	activeLostStandby  (4)   The active appliance is not getting any 
									response from the standby appliance.
			"
    	::= { ubiRedundancyEntry 2 }   

     
	ubiRedundancyConnectionState OBJECT-TYPE
    	SYNTAX          INTEGER    
    	{
    		disconnect(1),
    		connect(2)
    	}
    	MAX-ACCESS      accessible-for-notify
    	STATUS          current
    	DESCRIPTION
        	"The HA redundancy connection state of standby appliance device."
    	::= { ubiRedundancyEntry 3 }   
    	
-- ***********************************************************
-- ubiRedundancySyncTable
-- *********************************************************** 
    	
	ubiRedundancySyncTable OBJECT-TYPE
    	SYNTAX          SEQUENCE OF UbiRedundancySyncEntry
    	MAX-ACCESS      not-accessible
    	STATUS          current
    	DESCRIPTION
        	"This table keeps the information of the redundancy sync state
        	 of the active and standby units."
    	::= { ubiRedundancy 5 }
    	
    ubiRedundancySyncEntry OBJECT-TYPE
    	SYNTAX          UbiRedundancySyncEntry
    	MAX-ACCESS      not-accessible
    	STATUS          current
    	DESCRIPTION
        	"An entry containing redundancy sync information of the active and standby units"
    	INDEX           { ubiRedundancyIsActivePreferred  } 
    	::= { ubiRedundancySyncTable 1 }

	UbiRedundancySyncEntry ::= SEQUENCE {        
		ubiRedundancySyncState					INTEGER,
		ubiRedundancySyncNotificationEnabled	TruthValue,
		ubiRedundancySyncStateChangeNotificationEnabled	TruthValue,
		}
	
	ubiRedundancySyncState OBJECT-TYPE
    	SYNTAX          INTEGER    
    	{
    		sync(1),
    		notSync(2)
    	}
    	MAX-ACCESS      accessible-for-notify
    	STATUS          current
    	DESCRIPTION
        	"The redundancy sync state of active appliance device for standby.
        	 This sync state is related with 'redundancy-check' function.
        	 ACTIVE periodically checks sync state with STANDBY using this function.
        	 Valid values are :
        	  sync      (1) synchronized with standby.
        	  notSync   (2) some mismatch occurs with standby."
    	::= { ubiRedundancySyncEntry 1 }
    	
	ubiRedundancySyncNotificationEnabled OBJECT-TYPE
    	SYNTAX          TruthValue
    	MAX-ACCESS      read-write
    	STATUS          current
    	DESCRIPTION
        	"Enable or disable redundancy sync notification via SNMP."
    	::= { ubiRedundancySyncEntry 2 }

	ubiRedundancySyncStateChangeNotificationEnabled OBJECT-TYPE
    	SYNTAX          TruthValue
    	MAX-ACCESS      read-write
    	STATUS          current
    	DESCRIPTION
        	"Enable or disable redundancy sync state change notification via SNMP."
    	::= { ubiRedundancySyncEntry 3 }

-- ***********************************************************
-- ubiRedundancyAddrTable
-- *********************************************************** 

	ubiRedundancyAddrTable OBJECT-TYPE
    	SYNTAX          SEQUENCE OF UbiRedundancyAddrEntry 
    	MAX-ACCESS      not-accessible
    	STATUS          current
    	DESCRIPTION
        	"This table keeps the current configuration of the address 
        	 information of the active and standby appliances. There is an
        	 entry in this table corresponding to each network interface
        	 that is configured for redundancy. Thus, the number of 
        	 entries in this table corresponds to the number of interfaces
        	 configured for redundancy."
    	::= { ubiRedundancyObjects 2 }


	ubiRedundancyAddrEntry OBJECT-TYPE
    	SYNTAX          UbiRedundancyAddrEntry
    	MAX-ACCESS      not-accessible
    	STATUS          current
    	DESCRIPTION
        	"An entry containing address information for redundancy configuration
        	 on a network interface."
    	INDEX           { ubiRedundancyAddrIfIndex, ubiRedundancyAddrMyAddressType } 
    	::= { ubiRedundancyAddrTable 1 }

	UbiRedundancyAddrEntry ::= SEQUENCE {
		ubiRedundancyAddrIfIndex						InterfaceIndex,
		ubiRedundancyAddrMyAddressType					InetAddressType,
        ubiRedundancyAddrMyAddress						InetAddress,
        ubiRedundancyAddrPeerAddressType				InetAddressType,
        ubiRedundancyAddrPeerAddress					InetAddress
       }

   	ubiRedundancyAddrIfIndex OBJECT-TYPE
    	SYNTAX          InterfaceIndex
    	MAX-ACCESS      read-only
    	STATUS          current
    	DESCRIPTION
        	"The index value which uniquely identifies the interface
        	to which this entry is applicable."
    	::= { ubiRedundancyAddrEntry 1 }

  	ubiRedundancyAddrMyAddressType OBJECT-TYPE
    	SYNTAX          InetAddressType
    	MAX-ACCESS      read-only
    	STATUS          current
    	DESCRIPTION
        	"The type of address stored in ubiMyAddressType." 
    	::= { ubiRedundancyAddrEntry 2 }

	ubiRedundancyAddrMyAddress     OBJECT-TYPE
    	SYNTAX          InetAddress
    	MAX-ACCESS      read-only
    	STATUS          current
    	DESCRIPTION
        	"The IP address of the interface configured for this HA 
        	 configuration in this appliance. The type of this mib variable
        	 is defined in ubiMyAddressType.
        	 " 
    	::= { ubiRedundancyAddrEntry 3 }
  
	ubiRedundancyAddrPeerAddressType OBJECT-TYPE
    	SYNTAX          InetAddressType
    	MAX-ACCESS      read-only
    	STATUS          current
    	DESCRIPTION
       		"The type of address stored in ubiPeerAddressType" 
    	::= { ubiRedundancyAddrEntry 4 }     
    	
 	ubiRedundancyAddrPeerAddress   OBJECT-TYPE
        SYNTAX          InetAddress
        MAX-ACCESS      read-only
        STATUS          current
        DESCRIPTION   
        	"The IP address of the interface configured for this HA 
        	 configuration in the peer appliance. The type of this mib 
        	 variable is defined in ubiPeerAddressType. 
        	 "
        ::= { ubiRedundancyAddrEntry 5 }

-- ***********************************************************
-- ubiRedundancyPeerObjects
-- *********************************************************** 

ubiPeerSysInfo						OBJECT IDENTIFIER		::= { ubiRedundancyPeerObjects 1 }
ubiPeerResource						OBJECT IDENTIFIER		::= { ubiRedundancyPeerObjects 2 }
ubiPeerEnvironment					OBJECT IDENTIFIER		::= { ubiRedundancyPeerObjects 3 }
ubiPeerBootInfo						OBJECT IDENTIFIER		::= { ubiRedundancyPeerObjects 4 }

-- ***********************************************************
-- ubiPeerSysInfo
-- ***********************************************************
    
    ubiPeerSWVersion OBJECT-TYPE
    	SYNTAX          DisplayString
    	MAX-ACCESS      read-only
    	STATUS          current
    	DESCRIPTION
        	"Software version of the peer HA system"
    	::= { ubiPeerSysInfo 1 }
    
    ubiPeerSerialNumber OBJECT-TYPE
    	SYNTAX          DisplayString
    	MAX-ACCESS      read-only
    	STATUS          current
    	DESCRIPTION
        	"Serial Number of the peer HA system"
    	::= { ubiPeerSysInfo 2 }
    
    ubiPeerPhysicalAddress OBJECT-TYPE
    	SYNTAX          PhysAddress
    	MAX-ACCESS      read-only
    	STATUS          current
    	DESCRIPTION
        	"Peer's physical address."
    	::= { ubiPeerSysInfo 3 }

-- ***********************************************************
-- ubiPeerResource 
-- ***********************************************************

   	ubiPeerCpuFiveSec OBJECT-TYPE
    	SYNTAX          Counter32
    	UNITS        	"%"
    	MAX-ACCESS      not-accessible
    	STATUS          current
    	DESCRIPTION
        	"CPU busy percentage in the last 5 second period."
    	::= { ubiPeerResource 1 }
 
  	ubiPeerCpuOneMin OBJECT-TYPE
    	SYNTAX          Counter32
    	UNITS        	"%"
    	MAX-ACCESS      read-only
    	STATUS          current
    	DESCRIPTION
        	"CPU busy percentage in the last 1 minute period." 
    	::= { ubiPeerResource 2 }

	ubiPeerCpuFiveMin     OBJECT-TYPE
    	SYNTAX          Counter32
    	UNITS        	"%"
    	MAX-ACCESS      read-only
    	STATUS          current
    	DESCRIPTION
        	"CPU busy percentage in the last 5 minute period." 
    	::= { ubiPeerResource 3 }

   	ubiPeerMemoryAlloc OBJECT-TYPE
    	SYNTAX          Counter32
    	UNITS        	"kbyte"
    	MAX-ACCESS      not-accessible
    	STATUS          current
    	DESCRIPTION
        	"Memory allocation usage."
    	::= { ubiPeerResource 4 }
 
  	ubiPeerMemoryFree OBJECT-TYPE
    	SYNTAX          Counter32
    	UNITS        	"kbyte"
    	MAX-ACCESS      read-only
    	STATUS          current
    	DESCRIPTION
        	"Memory free usage." 
    	::= { ubiPeerResource 5 }

	ubiPeerMemoryTotal     OBJECT-TYPE
    	SYNTAX          Counter32
    	UNITS        	"kbyte"
    	MAX-ACCESS      read-only
    	STATUS          current
    	DESCRIPTION
        	"CPU busy percentage in the last 5 minute period." 
    	::= { ubiPeerResource 6 }
    
    ubiPeerMemoryFreePercentage     OBJECT-TYPE
    	SYNTAX          Counter32
    	UNITS        	"%"
    	MAX-ACCESS      read-only
    	STATUS          current
    	DESCRIPTION
        	"It indicates available memory allocation space in percentage."
    	::= { ubiPeerResource 7 }
    	
-- ***********************************************************
-- ubiPeerEnvironment
-- ***********************************************************

   	ubiPeerTemperature	OBJECT-TYPE
    	SYNTAX          Gauge32
    	UNITS        	"'C"
    	MAX-ACCESS      read-only
    	STATUS          current
    	DESCRIPTION
        	"peer's current temperature."
    	::= { ubiPeerEnvironment 1 }

-- ***********************************************************
-- ubiPeerBootInfo
-- ***********************************************************
    ubiPeerNextBootImage	OBJECT-TYPE
    	SYNTAX			DisplayString
    	MAX-ACCESS      read-write
    	STATUS          current
    	DESCRIPTION
        	"Booting OS Image's name for peer unit
        	when setting this object, It should be specified the file name with path under /flash directory
        	and Peer's next booting mode will be Flash booting.
        	
        	Valid paths under /flash directory are :
        	 - os1/
        	 - os2/
        	
        	e.g) os1/BootImageName.Z
        	"
    	::= { ubiPeerBootInfo 1 }

ubiPeerImageModify							OBJECT IDENTIFIER		::= { ubiPeerBootInfo 2 }

-- ***********************************************************
-- ubiPeerImageCopyOrErase
-- ***********************************************************
    
    ubiPeerImagePath OBJECT-TYPE
    	SYNTAX			INTEGER    	   
    	{   
    		os1(1),   
    		os2(2)
    	}
    	MAX-ACCESS      read-write
    	STATUS          current
    	DESCRIPTION
        	"warning :  It operates for only Active unit, not Standby Unit.
        	
        	Path of the file that you want to copy or erase.
        	Represents 'copy (os1:|os2:) peer <FILENAME>' or
        	           'erase (os1:|os2:) peer <FILENAME>' CLIs.
        	for copy operation, path of Active unit and
        	for erase operation, path of Standby unit.
        	"
    	::= { ubiPeerImageModify 1 }
    
   	ubiPeerImageFileName OBJECT-TYPE
    	SYNTAX          DisplayString
    	MAX-ACCESS      read-write
    	STATUS          current
    	DESCRIPTION
        	"warning :  It operates for only Active unit, not Standby Unit.
        	
        	Name of the file that you want to copy or erase.
        	for copy operation, file name at Active unit and
        	for erase operation, file anme at Standby unit.
        	"
    	::= { ubiPeerImageModify 2 }

   	ubiPeerImageModifyOperate OBJECT-TYPE
    	SYNTAX			INTEGER    	   
    	{   
    		copy(1),      
    		erase(2)
    	}
    	MAX-ACCESS      write-only
    	STATUS          current
    	DESCRIPTION
        	"execute to copy or erase configurations."
    	::= { ubiPeerImageModify 3 }

-- ***********************************************************
-- ubiSwitchoverObjects
-- *********************************************************** 

ubiSwitchover						OBJECT IDENTIFIER		::= { ubiSwitchoverObjects 1 }

-- ***********************************************************
-- ubiSwitchoverInfo
-- *********************************************************** 

	ubiLastSwitchOverReason OBJECT-TYPE
    	SYNTAX          SwitchOverReason
    	MAX-ACCESS      read-only
    	STATUS          current
    	DESCRIPTION
        	"Reason for the most recent switchover.
        	Valid values are :     
        	nont				(0)    none of the following
        	lossConnWithActive  (1)    lost connection with active
        	forcedSwitchOver    (2)    Switchover occurs by force
        	unknown             (3)    Switchover occurs by unknown reason"
    	::= { ubiSwitchover 1 }   
                 

 	ubiLastSwitchOverTime OBJECT-TYPE
    	SYNTAX          DisplayString
    	MAX-ACCESS      read-only
    	STATUS          current
    	DESCRIPTION
        	"The local date and time when the last switchover event 
        	 occurred and was logged to the system. " 
    	::= { ubiSwitchover 2 }

    ubiSwitchoverNotificationEnabled OBJECT-TYPE
    	SYNTAX          TruthValue
    	MAX-ACCESS      read-write
    	STATUS          current
    	DESCRIPTION
        	"Enable or disable switchover notification via SNMP."
    	::= { ubiSwitchover 3 }
    
    ubiSwitchOverRedundancySyncState OBJECT-TYPE
    	SYNTAX			INTEGER    	   
    	{   
    		sync(1),
    		notSync(2)
    	}
    	MAX-ACCESS      read-only
    	STATUS          current
    	DESCRIPTION
        	"The HA redundancy sync state of the appliance device after switchover.
        	Valid values are :
        	  sync      (1) SCU synchronization is done                      .
        	  notSync   (2) SCU synchronization is fail or still in progress.
        	  "
    	::= { ubiSwitchover 4 }


-- ***********************************************************
-- ubiRedundancyMIBConformance
-- ***********************************************************  

-- conformance information

ubiRedundancyMIBCompliance  OBJECT IDENTIFIER		::= { ubiRedundancyMIBConformance 1 }
ubiRedundancyMIBGroups  OBJECT IDENTIFIER			::= { ubiRedundancyMIBConformance 2 }


--
-- compliance statements
--
	ubiRedundancyMIBCompliances MODULE-COMPLIANCE
    	STATUS          current
    	DESCRIPTION
        	"An Redundancy-MIB implementation can implement this group to
        	provide Redundancy properties."
   	 	MODULE          -- this module
    	MANDATORY-GROUPS {
    					ubiRedundancyMIBRedundancyGroup,
    					ubiRedundancyMIBSwitchoverGroup,
    					ubiRedundancyMIBNotificationGroup
                        }

    	GROUP           ubiRedundancyMIBRedundancyGroup
    	DESCRIPTION
        	"The ubiRedundancyMIBRedundancyGroup must be implemented for
        	redundancy properties"
        GROUP           ubiRedundancyMIBSwitchoverGroup
    	DESCRIPTION
        	"The ubiRedundancyMIBSwitchoverGroup must be implemented for
        	switchover information"
    	GROUP           ubiRedundancyMIBNotificationGroup
    	DESCRIPTION
        	"The ubiRedundancyMIBNotificationGroup must be
        	implemented for redundancy and switchover that have notification"
    	::= { ubiRedundancyMIBCompliance 1 }

-- units of conformance

	ubiRedundancyMIBRedundancyGroup OBJECT-GROUP
    	OBJECTS         {
                    	}
    	STATUS          current
    	DESCRIPTION
        	"The collection of objects which are used to get the
        	operational state and redundancy state of the modules"
    	::= { ubiRedundancyMIBGroups 1 }
    	
    ubiRedundancyMIBSwitchoverGroup OBJECT-GROUP
    	OBJECTS         {
                    	}
    	STATUS          current
    	DESCRIPTION
        	"The collection of objects which are used to get the
        	operational state and redundancy state of the modules"
    	::= { ubiRedundancyMIBGroups 2 }

	ubiRedundancyMIBNotificationGroup OBJECT-GROUP
    	OBJECTS         {
                    	}
        STATUS          current
    	DESCRIPTION
        	"The collection of objects which are 
        	used to send a notification."
    	::= { ubiRedundancyMIBGroups 3 }    

END